summaryrefslogtreecommitdiff
path: root/sw/source/core/text/portab.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/text/portab.hxx')
-rw-r--r--sw/source/core/text/portab.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/core/text/portab.hxx b/sw/source/core/text/portab.hxx
index 996743baff14..e03858f14915 100644
--- a/sw/source/core/text/portab.hxx
+++ b/sw/source/core/text/portab.hxx
@@ -103,7 +103,9 @@ public:
SwAutoTabDecimalPortion( const sal_uInt16 nTabPosVal, const sal_Unicode cTab,
const sal_Unicode cFillChar )
: SwTabDecimalPortion( nTabPosVal, cTab, cFillChar )
- { SetLen( 0 ); }
+ {
+ SetLen(TextFrameIndex(0));
+ }
virtual void Paint( const SwTextPaintInfo &rInf ) const override;
};