summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-09-03 18:45:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-09-05 09:10:33 +0200
commit8b9e7617e967c4033d9853e6bc2e96334bf6b243 (patch)
treef9650b48c377b5ba00f0427bf7af3692bc6749f4 /include
parentdcd08af1808d7984f32d4156c06e4d6c6c25560e (diff)
tdf#150756 Assertion when opening report for editing
Change-Id: I59cbbc63175a95568f9a0390ab618a5f32d6488b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139331 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svx/unopage.hxx2
1 files changed, 1 insertions, 1 deletions
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<SdrObject> 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;