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
Received on Tue Sep 24 15:51:33 2013
This archive was generated by hypermail 2.1.8 : Tue Sep 24 2013 - 15:51:33 CEST