summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/xeescher.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-05 15:01:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-06 10:46:54 +0200
commitdf8589bd49d7eb1bb42ae78abcb91d33cf9255ce (patch)
tree403e79c91a0ca9abad605a21956fcec18428e579 /sc/source/filter/inc/xeescher.hxx
parenta91fe8558b4c8aa163069ebdb117d58239da74f2 (diff)
loplugin:useuniqueptr in XclExpObjList
Change-Id: Ia7f2be93d6306d72773ab611de2945c8a711a2d9 Reviewed-on: https://gerrit.libreoffice.org/57010 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/inc/xeescher.hxx')
-rw-r--r--sc/source/filter/inc/xeescher.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/inc/xeescher.hxx b/sc/source/filter/inc/xeescher.hxx
index 46cc7519fbcc..3f5fa308e261 100644
--- a/sc/source/filter/inc/xeescher.hxx
+++ b/sc/source/filter/inc/xeescher.hxx
@@ -407,8 +407,8 @@ public:
XclEscherEx& GetEscherEx() { return *mxEscherEx; }
XclExpMsoDrawing* GetMsodrawingPerSheet();
bool HasObj() const;
- sal_uInt16 AddObj( XclObj* pObjRec );
- XclObj* RemoveLastObj();
+ sal_uInt16 AddObj( std::unique_ptr<XclObj> pObjRec );
+ std::unique_ptr<XclObj> RemoveLastObj();
protected:
explicit XclExpObjectManager( const XclExpObjectManager& rParent );