summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/docxexport.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-23 13:13:11 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-23 13:13:39 +0100
commit3b513aefa49ecc98800ff129360f04bda8405a11 (patch)
treeefc65118346e43140713020cb052e4d7e5fd1a7b /sw/source/filter/ww8/docxexport.cxx
parentdaa20dcadfcfc7a8d16cddc7f5a08bf3e0a5c644 (diff)
tdf#86543: reinterpret_cast -1 of appropriate width as special marker
Change-Id: Idf0d2a77a78e0e8fcbf435984b9b8f4393e4c207
Diffstat (limited to 'sw/source/filter/ww8/docxexport.cxx')
-rw-r--r--sw/source/filter/ww8/docxexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxexport.cxx b/sw/source/filter/ww8/docxexport.cxx
index ae2fbd2b5470..8762fd2109b6 100644
--- a/sw/source/filter/ww8/docxexport.cxx
+++ b/sw/source/filter/ww8/docxexport.cxx
@@ -486,7 +486,7 @@ void DocxExport::OutputEndNode( const SwEndNode& rEndNode )
{
const SwSectionFmt* pParentFmt = rSect.GetFmt()->GetParent();
if( !pParentFmt )
- pParentFmt = reinterpret_cast<SwSectionFmt*>(0xFFFFFFFF) ;
+ pParentFmt = reinterpret_cast<SwSectionFmt*>(sal_IntPtr(-1));
sal_uLong nRstLnNum;
if( rNd.IsCntntNode() )