summaryrefslogtreecommitdiff
path: root/svx/source/outliner/outlobj.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/outliner/outlobj.cxx')
-rw-r--r--svx/source/outliner/outlobj.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/outliner/outlobj.cxx b/svx/source/outliner/outlobj.cxx
index 554ea34004..728c6b944e 100644
--- a/svx/source/outliner/outlobj.cxx
+++ b/svx/source/outliner/outlobj.cxx
@@ -61,6 +61,8 @@ public:
mbIsEditDoc(bIsEditDoc),
mnRefCount(0)
{
+ if( (maParagraphDataVector.size() == 0) && (pEditTextObject->GetParagraphCount() != 0) )
+ maParagraphDataVector.resize(pEditTextObject->GetParagraphCount());
}
// destructor