summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unoportenum.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unoportenum.cxx')
-rw-r--r--sw/source/core/unocore/unoportenum.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx
index 86b60f639395..f3e9ac9deb67 100644
--- a/sw/source/core/unocore/unoportenum.cxx
+++ b/sw/source/core/unocore/unoportenum.cxx
@@ -1108,7 +1108,7 @@ lcl_CreatePortions(
lcl_FillSoftPageBreakArray(*pUnoCrsr, SoftPageBreaks);
PortionStack_t PortionStack;
- PortionStack.push( PortionList_t(&i_rPortions, 0) );
+ PortionStack.push( PortionList_t(&i_rPortions, (const SwTxtAttr *)0) );
bool bAtEnd( false );
while (!bAtEnd) // every iteration consumes at least current character!