summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-24 11:22:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-28 10:17:47 +0000
commit198c41c4fe8be4ce8a6ddab43ae0c5f17a4889ac (patch)
tree041d55126e9770b81f68fadfaaa69e82313786b3 /svtools
parentd3981b3e8c021ee03a2ca7103a73e56cca18df81 (diff)
new loplugin unoany
Change-Id: I5d6c4a67cb2a09e7cd5bd620c6b262d188701b89 Reviewed-on: https://gerrit.libreoffice.org/34714 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/java/javacontext.cxx2
-rw-r--r--svtools/source/uno/toolboxcontroller.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/java/javacontext.cxx b/svtools/source/java/javacontext.cxx
index abc1f94d8ec9..f68d56fb51a6 100644
--- a/svtools/source/java/javacontext.cxx
+++ b/svtools/source/java/javacontext.cxx
@@ -69,7 +69,7 @@ Any SAL_CALL JavaContext::getValueByName( const OUString& Name)
if (!m_xHandler.is())
m_xHandler.set( new JavaInteractionHandler );
}
- retVal = makeAny(m_xHandler);
+ retVal <<= m_xHandler;
}
else if( m_xNextContext.is() )
diff --git a/svtools/source/uno/toolboxcontroller.cxx b/svtools/source/uno/toolboxcontroller.cxx
index b8a48f08ae8f..2a443b50c6b7 100644
--- a/svtools/source/uno/toolboxcontroller.cxx
+++ b/svtools/source/uno/toolboxcontroller.cxx
@@ -344,7 +344,7 @@ void SAL_CALL ToolboxController::execute( sal_Int16 KeyModifier )
// Provide key modifier information to dispatch function
aArgs[0].Name = "KeyModifier";
- aArgs[0].Value = makeAny( KeyModifier );
+ aArgs[0].Value <<= KeyModifier;
aTargetURL.Complete = aCommandURL;
if ( m_xUrlTransformer.is() )