[ooo-build-commit] Branch 'ooo/master' - xmloff/source

Jan Holesovsky kendy at kemper.freedesktop.org
Tue Jun 9 17:52:49 PDT 2009


 xmloff/source/text/txtparae.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 21d9c95a1df10efcb0f31eeb094eb38e9d666902
Author: Ivo Hinkelmann <ihi at openoffice.org>
Date:   Tue Jun 9 13:55:04 2009 +0000

    #i10000# build fix

diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 559a578..1d182f8 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>&)


More information about the ooo-build-commit mailing list