summaryrefslogtreecommitdiffstats
path: root/xmloff
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2009-06-09 13:55:04 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2009-06-09 13:55:04 +0000
commit5707dd005af1cf73e5deb750c5d8e7a78112220d (patch)
treea4dcbb3b5305f03ce995c49fa3d198fe6df00655 /xmloff
parent#i10000# build fix (diff)
downloadcore-5707dd005af1cf73e5deb750c5d8e7a78112220d.tar.gz
core-5707dd005af1cf73e5deb750c5d8e7a78112220d.zip
#i10000# build fix
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtparae.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 36d2207d65ad..2617a8ff0089 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -38,6 +38,7 @@
#endif
#include <svtools/svarray.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/types.h>
#include <vector>
#include <list>
@@ -176,7 +177,7 @@ namespace
: public unary_function<Reference<XTextFrame>, size_t>
{
size_t operator()(const Reference<XTextFrame> xFrame) const
- { return reinterpret_cast<sal_Int32>(xFrame.get()) & 0xffffffff; }
+ { return sal::static_int_cast<size_t>(reinterpret_cast<sal_uIntPtr>(xFrame.get())); }
};
static bool lcl_TextContentsUnfiltered(const Reference<XTextContent>&)