diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-24 11:22:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-28 10:17:47 +0000 |
commit | 198c41c4fe8be4ce8a6ddab43ae0c5f17a4889ac (patch) | |
tree | 041d55126e9770b81f68fadfaaa69e82313786b3 /extensions | |
parent | d3981b3e8c021ee03a2ca7103a73e56cca18df81 (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 'extensions')
-rw-r--r-- | extensions/source/bibliography/datman.cxx | 2 | ||||
-rw-r--r-- | extensions/source/bibliography/framectr.cxx | 2 | ||||
-rw-r--r-- | extensions/source/propctrlr/formcomponenthandler.cxx | 4 | ||||
-rw-r--r-- | extensions/source/update/feed/updatefeed.cxx | 6 |
4 files changed, 7 insertions, 7 deletions
diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx index 07bd926349ec..aaaf92980e76 100644 --- a/extensions/source/bibliography/datman.cxx +++ b/extensions/source/bibliography/datman.cxx @@ -1025,7 +1025,7 @@ void BibDataManager::setActiveDataSource(const OUString& rURL) aEvent.Requery = false; aEvent.FeatureDescriptor = getActiveDataTable(); - aEvent.State = makeAny( getDataSources() ); + aEvent.State <<= getDataSources(); if(pToolbar) { diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx index 5f78a4254e77..61bbcb7794eb 100644 --- a/extensions/source/bibliography/framectr.cxx +++ b/extensions/source/bibliography/framectr.cxx @@ -850,7 +850,7 @@ void BibFrameController_Impl::ChangeDataSource(const uno::Sequence< beans::Prope aEvent.FeatureDescriptor=m_xDatMan->getQueryField(); uno::Sequence<OUString> aStringSeq=m_xDatMan->getQueryFields(); - aEvent.State = makeAny( aStringSeq ); + aEvent.State <<= aStringSeq; pObj->xListener->statusChanged( aEvent ); bMenuFilter=true; diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx index 3064ce695848..1a343a6b3df3 100644 --- a/extensions/source/propctrlr/formcomponenthandler.cxx +++ b/extensions/source/propctrlr/formcomponenthandler.cxx @@ -2178,10 +2178,10 @@ namespace pcr case ControlType::FORMATTEDFIELD: case FormComponentType::CURRENCYFIELD: case FormComponentType::PATTERNFIELD: - _rValue = makeAny( true ); + _rValue <<= true; break; default: - _rValue = makeAny( false ); + _rValue <<= false; break; } } diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx index fe880bef9463..28c092c76a81 100644 --- a/extensions/source/update/feed/updatefeed.cxx +++ b/extensions/source/update/feed/updatefeed.cxx @@ -424,10 +424,10 @@ UpdateInformationProvider::getConfigurationItemAny(uno::Reference<lang::XMultiSe { beans::PropertyValue aProperty; aProperty.Name = "nodepath"; - aProperty.Value = uno::makeAny(node); + aProperty.Value <<= node; uno::Sequence< uno::Any > aArgumentList( 1 ); - aArgumentList[0] = uno::makeAny( aProperty ); + aArgumentList[0] <<= aProperty; uno::Reference< container::XNameAccess > xNameAccess( configurationProvider->createInstanceWithArguments( @@ -481,7 +481,7 @@ UpdateInformationProvider::load(const OUString& rURL) ucb::Command aCommand; aCommand.Name = "open"; - aCommand.Argument = uno::makeAny(aOpenArgument); + aCommand.Argument <<= aOpenArgument; sal_Int32 nCommandId = xCommandProcessor->createCommandIdentifier(); |