summaryrefslogtreecommitdiff
path: root/framework/inc
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-21 13:32:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-21 16:11:48 +0100
commit897970cd0b9709258b6b5b5fc05dba2e74a72b7c (patch)
tree45bd0da067e508cd233ca959b4d8bb7317260416 /framework/inc
parent6b6f9fb71fa1bfcb438b89596e6f19529cfe1eba (diff)
loplugin:refcounting in framework
Change-Id: I2d7d14fe0335689e4a338c70587bf33137ed1ddd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111279 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/inc')
-rw-r--r--framework/inc/uielement/toolbarmerger.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/inc/uielement/toolbarmerger.hxx b/framework/inc/uielement/toolbarmerger.hxx
index b62e3be6972c..bd07bb17e7e4 100644
--- a/framework/inc/uielement/toolbarmerger.hxx
+++ b/framework/inc/uielement/toolbarmerger.hxx
@@ -115,7 +115,7 @@ class ToolBarMerger
ToolBox::ImplToolItems::size_type nPos,
const OUString& rMergeCommandParameter );
- static ::cppu::OWeakObject* CreateController(
+ static rtl::Reference<::cppu::OWeakObject> CreateController(
const css::uno::Reference< css::uno::XComponentContext > & rxContext,
const css::uno::Reference< css::frame::XFrame > & xFrame,
ToolBox* pToolbar,