summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-01 10:45:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-01 19:30:13 +0200
commit82588fdf5fefbe061fb96c0419294fd8e60088bf (patch)
tree611205558753c3d4598f022abb6389df90690c27 /extensions
parentSilence -Werror,-Wmissing-field-initializers (clang-cl) (diff)
downloadcore-82588fdf5fefbe061fb96c0419294fd8e60088bf.tar.gz
core-82588fdf5fefbe061fb96c0419294fd8e60088bf.zip
loplugin:refcounting (clang-cl)
Change-Id: Ifae4a5617e6fcad58319ee3854b20224c4099e1b Reviewed-on: https://gerrit.libreoffice.org/79941 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/ole/unoobjw.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx
index d8f46a09f1a8..485f31959969 100644
--- a/extensions/source/ole/unoobjw.cxx
+++ b/extensions/source/ole/unoobjw.cxx
@@ -55,6 +55,7 @@
#include <osl/diagnose.h>
#include <salhelper/simplereferenceobject.hxx>
+#include <rtl/ref.hxx>
#include <rtl/ustring.hxx>
#include <tools/diagnose_ex.h>
#include <sal/log.hxx>
@@ -137,10 +138,10 @@ private:
}
public:
- static Reference< TerminationVetoer > get()
+ static rtl::Reference< TerminationVetoer > get()
{
static TerminationVetoer* pInstance = new TerminationVetoer;
- static Reference< TerminationVetoer > aInstance( pInstance );
+ static rtl::Reference< TerminationVetoer > aInstance( pInstance );
return aInstance;
}