summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-18 09:47:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-28 10:51:13 +0200
commit26b27c23d42247695d72167be7729e36a473f644 (patch)
treed050d995e530949e18d3878b41a6e8e6df909da6 /sw
parentc12bfe9296b5db66ae7326f1dd99b1aa8fb9d2bb (diff)
loplugin:useuniqueptr in SvxDrawPage
Change-Id: Ic0ca03d419cb7124d5076130163de113b29bac9d Reviewed-on: https://gerrit.libreoffice.org/54848 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/unodraw.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/unodraw.hxx b/sw/inc/unodraw.hxx
index aea0b64ce67c..3612db0b7755 100644
--- a/sw/inc/unodraw.hxx
+++ b/sw/inc/unodraw.hxx
@@ -47,7 +47,7 @@ public:
const SdrMarkList& PreGroup(const css::uno::Reference< css::drawing::XShapes >& rShapes);
void PreUnGroup(const css::uno::Reference< css::drawing::XShapeGroup >& rShapeGroup);
- SdrView* GetDrawView() {return mpView;}
+ SdrView* GetDrawView() {return mpView.get();}
SdrPageView* GetPageView();
void RemovePageView();
static css::uno::Reference< css::uno::XInterface > GetInterface( SdrObject* pObj );