From 7d7d4cf217e82db8839dbc49dcab1ab72c203b4e Mon Sep 17 00:00:00 2001 From: Noel Date: Fri, 19 Feb 2021 14:33:17 +0200 Subject: loplugin:refcounting in sw Change-Id: I56f2f5aa4d9105e93f28701b8352d1fb97829ead Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111215 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/inc/unotxdoc.hxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sw/inc/unotxdoc.hxx') diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx index 48f49a2694b7..df6309d7125e 100644 --- a/sw/inc/unotxdoc.hxx +++ b/sw/inc/unotxdoc.hxx @@ -146,11 +146,9 @@ private: SwDocShell* m_pDocShell; bool m_bObjectValid; - SwXDrawPage* m_pDrawPage; - css::uno::Reference< css::drawing::XDrawPage > mxXDrawPage; + rtl::Reference m_xDrawPage; - css::uno::Reference< css::text::XText > m_xBodyText; - SwXBodyText* m_pBodyText; + rtl::Reference m_xBodyText; css::uno::Reference< css::uno::XAggregation > m_xNumFormatAgg; css::uno::Reference< css::container::XIndexAccess > mxXNumberingRules; -- cgit