summaryrefslogtreecommitdiff
path: root/sw/inc/unotxdoc.hxx
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-19 14:33:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-20 10:21:07 +0100
commit7d7d4cf217e82db8839dbc49dcab1ab72c203b4e (patch)
tree02bf7659d9bb3fce41a54407ea890313ad9d6a30 /sw/inc/unotxdoc.hxx
parent6aecd49aa6de7c7f65c3c240ee3b7db36497df4d (diff)
loplugin:refcounting in sw
Change-Id: I56f2f5aa4d9105e93f28701b8352d1fb97829ead Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111215 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/unotxdoc.hxx')
-rw-r--r--sw/inc/unotxdoc.hxx6
1 files changed, 2 insertions, 4 deletions
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<SwXDrawPage> m_xDrawPage;
- css::uno::Reference< css::text::XText > m_xBodyText;
- SwXBodyText* m_pBodyText;
+ rtl::Reference<SwXBodyText> m_xBodyText;
css::uno::Reference< css::uno::XAggregation > m_xNumFormatAgg;
css::uno::Reference< css::container::XIndexAccess > mxXNumberingRules;