From 26b27c23d42247695d72167be7729e36a473f644 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 18 May 2018 09:47:03 +0200 Subject: loplugin:useuniqueptr in SvxDrawPage Change-Id: Ic0ca03d419cb7124d5076130163de113b29bac9d Reviewed-on: https://gerrit.libreoffice.org/54848 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/inc/unodraw.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw') 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 ); -- cgit