summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-30 13:46:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-30 14:06:45 +0100
commitfb2e67f696d1859ad6e062fb345b577326529c8a (patch)
treee6cebac9c517ddcf45ed5cd445ae368ef841ff83 /sw/source/core/txtnode
parent59d4e47c62f4b21794eb9ba8ba634df978c3a38f (diff)
rather pointless cast to long
Change-Id: I1509269455a074285d209a5ab80e3517407d322d
Diffstat (limited to 'sw/source/core/txtnode')
-rw-r--r--sw/source/core/txtnode/ndhints.cxx4
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;
}
/*************************************************************************