diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2009-06-09 13:55:04 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2009-06-09 13:55:04 +0000 |
commit | 21d9c95a1df10efcb0f31eeb094eb38e9d666902 (patch) | |
tree | 03e6fd89cecd72f455c632ffa19d1e838163a2c3 | |
parent | 490a19cc491f03fdf911a61c22451c2cfcc92bda (diff) |
#i10000# build fix
-rw-r--r-- | xmloff/source/text/txtparae.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index 559a578d2d..1d182f8470 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>&) |