summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-01 09:17:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-01 10:51:48 +0200
commit404a3c806ffdf094c2f4a95a722765fea132fad5 (patch)
tree57593f31569f94b70cf34f19a9dc7cc9b061b90a /winaccessibility
parentb74c4b7c675883e23bea9fd52682ae89d36539f6 (diff)
loplugin:simplifyconstruct (clang-cl)
Change-Id: I08da288a88c2bce1d4250ec77f17bd483e6bc09c Reviewed-on: https://gerrit.libreoffice.org/79911 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'winaccessibility')
-rw-r--r--winaccessibility/source/service/msaaservice_impl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/winaccessibility/source/service/msaaservice_impl.cxx b/winaccessibility/source/service/msaaservice_impl.cxx
index 1025b597c08c..89b5d9a4a0d7 100644
--- a/winaccessibility/source/service/msaaservice_impl.cxx
+++ b/winaccessibility/source/service/msaaservice_impl.cxx
@@ -253,8 +253,7 @@ static Reference< XInterface > create_MSAAServiceImpl( Reference< XComponentCont
MSAAServiceImpl::MSAAServiceImpl()
{
- Reference< XExtendedToolkit > xToolkit =
- Reference< XExtendedToolkit >(Application::GetVCLToolkit(), UNO_QUERY);
+ Reference< XExtendedToolkit > xToolkit(Application::GetVCLToolkit(), UNO_QUERY);
if( xToolkit.is() )
{