summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-10-10 19:21:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-10-10 22:19:25 +0200
commitfb8973f31f111229be5184f4e4223e963ced2c7b (patch)
treeff61aba8eb2b0acd3e2b8a50b3cd564854c032a1 /include
parent7ca1632a402bea7568d8441524d3f6092695f3c5 (diff)
ofz#23492 the only user of this ctor throws away the original of the clone
so we can take ownership of the original instead Change-Id: I26fd4303a3b205df309f91bfa5bcddbbc41dfd7a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104173 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/editeng/outlobj.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/outlobj.hxx b/include/editeng/outlobj.hxx
index 98414deda072..5c11180d27de 100644
--- a/include/editeng/outlobj.hxx
+++ b/include/editeng/outlobj.hxx
@@ -68,7 +68,7 @@ class EDITENG_DLLPUBLIC OutlinerParaObject
public:
// constructors/destructor
- OutlinerParaObject( const EditTextObject&, const ParagraphDataVector&, bool bIsEditDoc);
+ OutlinerParaObject(std::unique_ptr<EditTextObject>, const ParagraphDataVector&, bool bIsEditDoc);
OutlinerParaObject( const EditTextObject&);
OutlinerParaObject( std::unique_ptr<EditTextObject> );
OutlinerParaObject( const OutlinerParaObject&);