summaryrefslogtreecommitdiff
path: root/toolkit/source/helper
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-16 15:47:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-17 07:44:18 +0100
commit1c9f0d9d8ee1a13d30be924cddaa94343fd8c840 (patch)
tree60348a9a4784cf2e5cb963045b7f796e4694f909 /toolkit/source/helper
parent27078ce8cb03f6ba61be5ce75c5231bc8798d6fe (diff)
loplugin:referencecasting in test..toolkit
Change-Id: Ia290ff4849f4d7eda978c7b1e2c7f36de744056f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110997 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit/source/helper')
-rw-r--r--toolkit/source/helper/unowrapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/helper/unowrapper.cxx b/toolkit/source/helper/unowrapper.cxx
index edac7fe62b34..c3240eee2c4b 100644
--- a/toolkit/source/helper/unowrapper.cxx
+++ b/toolkit/source/helper/unowrapper.cxx
@@ -141,7 +141,7 @@ css::uno::Reference< css::awt::XToolkit> UnoWrapper::GetVCLToolkit()
{
if ( !mxToolkit.is() )
mxToolkit = VCLUnoHelper::CreateToolkit();
- return mxToolkit.get();
+ return mxToolkit;
}
css::uno::Reference< css::awt::XWindowPeer> UnoWrapper::GetWindowInterface( vcl::Window* pWindow )