Commits

ihi  committed f816fc7

#i10000# build fix

  • Participants
  • Parent commits 4d618be
  • Tags DEV300_m50

Comments (0)

Files changed (1)

File xmloff/source/text/txtparae.cxx

 #endif
 #include <svtools/svarray.hxx>
 #include <rtl/ustrbuf.hxx>
+#include <sal/types.h>
 
 #include <vector>
 #include <list>
         : 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>&)