diff options
Diffstat (limited to 'include/svx/svdobj.hxx')
-rw-r--r-- | include/svx/svdobj.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx index 21529b482147..d97edb022e4c 100644 --- a/include/svx/svdobj.hxx +++ b/include/svx/svdobj.hxx @@ -680,8 +680,8 @@ public: // keep text in outliner's format // SetOutlinerParaObject: transfer ownership of *pTextObject! - void SetOutlinerParaObject(OutlinerParaObject* pTextObject); - virtual void NbcSetOutlinerParaObject(OutlinerParaObject* pTextObject); + void SetOutlinerParaObject(std::unique_ptr<OutlinerParaObject> pTextObject); + virtual void NbcSetOutlinerParaObject(std::unique_ptr<OutlinerParaObject> pTextObject); virtual OutlinerParaObject* GetOutlinerParaObject() const; virtual void NbcReformatText(); virtual void ReformatText(); |