From 8b9e7617e967c4033d9853e6bc2e96334bf6b243 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 3 Sep 2022 18:45:53 +0200 Subject: tdf#150756 Assertion when opening report for editing Change-Id: I59cbbc63175a95568f9a0390ab618a5f32d6488b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139331 Tested-by: Noel Grandin Reviewed-by: Noel Grandin --- include/svx/unopage.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/svx/unopage.hxx') diff --git a/include/svx/unopage.hxx b/include/svx/unopage.hxx index 0008b5c38ad0..4bc4c1ff7438 100644 --- a/include/svx/unopage.hxx +++ b/include/svx/unopage.hxx @@ -77,7 +77,7 @@ class SVXCORE_DLLPUBLIC SvxDrawPage : protected cppu::BaseMutex, SdrPage* GetSdrPage() const { return mpPage; } // Creation of a SdrObject and insertion into the SdrPage - SdrObject *CreateSdrObject( const css::uno::Reference< css::drawing::XShape >& xShape, bool bBeginning = false ) noexcept; + rtl::Reference CreateSdrObject( const css::uno::Reference< css::drawing::XShape >& xShape, bool bBeginning = false ) noexcept; // Determine Type and Inventor static void GetTypeAndInventor( SdrObjKind& rType, SdrInventor& rInventor, const OUString& aName ) noexcept; -- cgit