diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-07-30 13:46:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-07-30 14:06:45 +0100 |
commit | fb2e67f696d1859ad6e062fb345b577326529c8a (patch) | |
tree | e6cebac9c517ddcf45ed5cd445ae368ef841ff83 /sw | |
parent | 59d4e47c62f4b21794eb9ba8ba634df978c3a38f (diff) |
rather pointless cast to long
Change-Id: I1509269455a074285d209a5ab80e3517407d322d
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/txtnode/ndhints.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/txtnode/ndhints.cxx b/sw/source/core/txtnode/ndhints.cxx index 8799b6bd699c..02c0cfdda29b 100644 --- a/sw/source/core/txtnode/ndhints.cxx +++ b/sw/source/core/txtnode/ndhints.cxx @@ -45,9 +45,9 @@ inline void DumpHints(const SwpHtStart &, const SwpHtEnd &) { } * inline IsEqual() *************************************************************************/ -inline sal_Bool IsEqual( const SwTxtAttr &rHt1, const SwTxtAttr &rHt2 ) +static bool IsEqual( const SwTxtAttr &rHt1, const SwTxtAttr &rHt2 ) { - return (long)(&rHt1) == (long)(&rHt2); + return &rHt1 == &rHt2; } /************************************************************************* |