summaryrefslogtreecommitdiff
path: root/svx/source/inc
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-19 15:53:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-20 11:38:55 +0100
commitd8ed3bda462b351d2b98ec57cfdb879e0eec0010 (patch)
tree10d3696813b853e6b90cf045d89b9203206004b9 /svx/source/inc
parenta87fa0206bbcbcf9aa13ee17f6f41d34e176775e (diff)
loplugin:refcounting in svx
Change-Id: I79afd219a29ad176ce72020579d2b29a0b3ec09d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111220 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/inc')
-rw-r--r--svx/source/inc/StylesPreviewWindow.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/inc/StylesPreviewWindow.hxx b/svx/source/inc/StylesPreviewWindow.hxx
index 416c8a15a63f..7bdbefefe86e 100644
--- a/svx/source/inc/StylesPreviewWindow.hxx
+++ b/svx/source/inc/StylesPreviewWindow.hxx
@@ -74,8 +74,7 @@ protected:
std::unique_ptr<weld::IconView> m_xStylesView;
- StyleStatusListener* m_pStatusListener;
- css::uno::Reference<css::lang::XComponent> m_xStatusListener;
+ rtl::Reference<StyleStatusListener> m_xStatusListener;
std::vector<std::pair<OUString, OUString>> m_aDefaultStyles;
std::vector<std::pair<OUString, OUString>> m_aAllStyles;