From 0b23eec200c8c12db5778405df44f4bf8e38e4ad Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 26 May 2016 16:02:39 +0200 Subject: teach refcounting clang plugin about uno::Reference uno::Reference is only allowed to used with classes that have a ::static_type member. So convert all those places to rtl::Reference. Maybe we need some LIBO_INTERNAL_ONLY constructors on rtl::Reference and uno::Reference to make this a little smoother? Change-Id: Icdcb35d71ca40a87b1dc474096776412adbfc7e3 Reviewed-on: https://gerrit.libreoffice.org/25516 Tested-by: Jenkins Reviewed-by: Noel Grandin --- UnoControls/source/inc/framecontrol.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'UnoControls') diff --git a/UnoControls/source/inc/framecontrol.hxx b/UnoControls/source/inc/framecontrol.hxx index 00c16a595052..fa17ebfa6446 100644 --- a/UnoControls/source/inc/framecontrol.hxx +++ b/UnoControls/source/inc/framecontrol.hxx @@ -29,6 +29,7 @@ #include #include #include +#include #include "basecontrol.hxx" #include "OConnectionPointContainerHelper.hxx" @@ -213,7 +214,7 @@ private: css::uno::Reference< css::frame::XFrame2 > m_xFrame; OUString m_sComponentURL; css::uno::Sequence< css::beans::PropertyValue > m_seqLoaderArguments; - css::uno::Reference m_aConnectionPointContainer; + rtl::Reference m_aConnectionPointContainer; }; // class FrameControl -- cgit