Re: Error in Windows Build
Hubert Figuière <[email protected]> Tue, 24 Sep 2013 09:51:15 -0400
| Newsgroups | gmane.editors.abiword.devel |
|---|---|
| Message-ID | <[email protected]> |
On 24/09/13 09:25 AM, Simon Larochelle wrote:
>
> fp_TableRowColumn::comparePosition is static. Thus it cannot be const.
The arguments can be which is what I was talking about.
Something like that:
(definition needs to be changed too to match)
diff --git a/src/text/fmt/xp/fp_TableContainer.h
b/src/text/fmt/xp/fp_TableContainer.h
index 5f03fdb..d123c31 100644
--- a/src/text/fmt/xp/fp_TableContainer.h
+++ b/src/text/fmt/xp/fp_TableContainer.h
@@ -74,7 +74,7 @@ class ABI_EXPORT fp_TableRowColumn
public:
fp_TableRowColumn(UT_sint32 defaultSpacing = 0);
virtual ~fp_TableRowColumn(void);
- static bool comparePosition(UT_sint32 y, fp_TableRowColumn * pRow);
+ static bool comparePosition(UT_sint32 y, const fp_TableRowColumn
* pRow);
UT_sint32 requisition;
UT_sint32 allocation;
UT_sint32 spacing;
Hub