summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/wrthtml.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/wrthtml.hxx')
-rw-r--r--sw/source/filter/html/wrthtml.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/wrthtml.hxx b/sw/source/filter/html/wrthtml.hxx
index 9d8bbf9a66fd..fa14c746ab2f 100644
--- a/sw/source/filter/html/wrthtml.hxx
+++ b/sw/source/filter/html/wrthtml.hxx
@@ -248,13 +248,13 @@ struct SwHTMLFmtInfo
friend bool operator==( const SwHTMLFmtInfo& rInfo1,
const SwHTMLFmtInfo& rInfo2 )
{
- return (long)rInfo1.pFmt == (long)rInfo2.pFmt;
+ return (sal_IntPtr)rInfo1.pFmt == (sal_IntPtr)rInfo2.pFmt;
}
friend bool operator<( const SwHTMLFmtInfo& rInfo1,
const SwHTMLFmtInfo& rInfo2 )
{
- return (long)rInfo1.pFmt < (long)rInfo2.pFmt;
+ return (sal_IntPtr)rInfo1.pFmt < (sal_IntPtr)rInfo2.pFmt;
}
};