diff --git a/editeng/source/outliner/outlobj.cxx b/editeng/source/outliner/outlobj.cxx index 32b76de5300f..f1e87edaf6fc 100644 --- a/editeng/source/outliner/outlobj.cxx +++ b/editeng/source/outliner/outlobj.cxx @@ -96,6 +96,10 @@ OutlinerParaObject::OutlinerParaObject(const EditTextObject& rEditTextObject, co { } +OutlinerParaObject::OutlinerParaObject( const EditTextObject& rEditTextObject) +: mpImplOutlinerParaObject( new ImplOutlinerParaObject( rEditTextObject.Clone(), ParagraphDataVector(), true)) +{} + OutlinerParaObject::OutlinerParaObject(const OutlinerParaObject& rCandidate) : mpImplOutlinerParaObject(rCandidate.mpImplOutlinerParaObject) { diff --git a/include/editeng/outlobj.hxx b/include/editeng/outlobj.hxx index 402db4e16a75..23f9a6a39c97 100644 --- a/include/editeng/outlobj.hxx +++ b/include/editeng/outlobj.hxx @@ -42,11 +42,9 @@ private: public: // constructors/destructor - OutlinerParaObject( - const EditTextObject& rEditTextObject, - const ParagraphDataVector& rParagraphDataVector = ParagraphDataVector(), - bool bIsEditDoc = true); - OutlinerParaObject(const OutlinerParaObject& rCandidate); + OutlinerParaObject( const EditTextObject&, const ParagraphDataVector&, bool bIsEditDoc = true); + OutlinerParaObject( const EditTextObject&); + OutlinerParaObject( const OutlinerParaObject&); ~OutlinerParaObject(); // assignment operator