diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-28 17:57:12 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-28 17:57:12 +0100 |
commit | 9697b14b65e923f5b9fdfcc27cad00387372d202 (patch) | |
tree | ae6831439ecaf73803c068e06d89cdde5a36d513 /extensions/source/update | |
parent | d4ea5708a83ca5b087ae196e4599aa98e606e9ca (diff) |
loplugin:unoany
Change-Id: I57f1d614b1dbb945e39b546fec2fdaac40de82b2
Diffstat (limited to 'extensions/source/update')
-rw-r--r-- | extensions/source/update/check/download.cxx | 4 | ||||
-rw-r--r-- | extensions/source/update/check/updatecheckconfig.cxx | 14 | ||||
-rw-r--r-- | extensions/source/update/check/updatehdl.cxx | 4 |
3 files changed, 11 insertions, 11 deletions
diff --git a/extensions/source/update/check/download.cxx b/extensions/source/update/check/download.cxx index 43320b51fbdc..4b4afea5523d 100644 --- a/extensions/source/update/check/download.cxx +++ b/extensions/source/update/check/download.cxx @@ -181,10 +181,10 @@ Download::getProxyForURL(const OUString& rURL, OString& rHost, sal_Int32& rPort) beans::PropertyValue aProperty; aProperty.Name = "nodepath"; - aProperty.Value = uno::makeAny( OUString("org.openoffice.Inet/Settings") ); + aProperty.Value <<= OUString("org.openoffice.Inet/Settings"); uno::Sequence< uno::Any > aArgumentList( 1 ); - aArgumentList[0] = uno::makeAny( aProperty ); + aArgumentList[0] <<= aProperty; uno::Reference< container::XNameAccess > xNameAccess( xConfigProvider->createInstanceWithArguments( diff --git a/extensions/source/update/check/updatecheckconfig.cxx b/extensions/source/update/check/updatecheckconfig.cxx index d98a90507fa1..e61f7edc3e63 100644 --- a/extensions/source/update/check/updatecheckconfig.cxx +++ b/extensions/source/update/check/updatecheckconfig.cxx @@ -229,22 +229,22 @@ UpdateCheckConfig::get( beans::PropertyValue aProperty; aProperty.Name = "nodepath"; - aProperty.Value = uno::makeAny( OUString("org.openoffice.Office.Jobs/Jobs/UpdateCheck/Arguments") ); + aProperty.Value <<= OUString("org.openoffice.Office.Jobs/Jobs/UpdateCheck/Arguments"); uno::Sequence< uno::Any > aArgumentList( 1 ); - aArgumentList[0] = uno::makeAny( aProperty ); + aArgumentList[0] <<= aProperty; uno::Reference< container::XNameContainer > xContainer( xConfigProvider->createInstanceWithArguments( "com.sun.star.configuration.ConfigurationUpdateAccess", aArgumentList ), uno::UNO_QUERY_THROW ); - aProperty.Value = uno::makeAny( OUString("/org.openoffice.Office.ExtensionManager/ExtensionUpdateData/IgnoredUpdates") ); - aArgumentList[0] = uno::makeAny( aProperty ); + aProperty.Value <<= OUString("/org.openoffice.Office.ExtensionManager/ExtensionUpdateData/IgnoredUpdates"); + aArgumentList[0] <<= aProperty; uno::Reference< container::XNameContainer > xIgnoredExt( xConfigProvider->createInstanceWithArguments( "com.sun.star.configuration.ConfigurationUpdateAccess", aArgumentList ), uno::UNO_QUERY_THROW ); - aProperty.Value = uno::makeAny( OUString("/org.openoffice.Office.ExtensionManager/ExtensionUpdateData/AvailableUpdates") ); - aArgumentList[0] = uno::makeAny( aProperty ); + aProperty.Value <<= OUString("/org.openoffice.Office.ExtensionManager/ExtensionUpdateData/AvailableUpdates"); + aArgumentList[0] <<= aProperty; uno::Reference< container::XNameContainer > xUpdateAvail( xConfigProvider->createInstanceWithArguments( "com.sun.star.configuration.ConfigurationUpdateAccess", aArgumentList ), uno::UNO_QUERY_THROW ); return new UpdateCheckConfig( xContainer, xUpdateAvail, xIgnoredExt, rListener ); @@ -472,7 +472,7 @@ UpdateCheckConfig::getByName( const OUString& aName ) aValue >>= aStr; if( aStr.isEmpty() ) - aValue = uno::makeAny(getDesktopDirectory()); + aValue <<= getDesktopDirectory(); } return aValue; } diff --git a/extensions/source/update/check/updatehdl.cxx b/extensions/source/update/check/updatehdl.cxx index 6a185446a233..1fb0bae07280 100644 --- a/extensions/source/update/check/updatehdl.cxx +++ b/extensions/source/update/check/updatehdl.cxx @@ -816,10 +816,10 @@ void UpdateHandler::setFullVersion( OUString& rString ) beans::PropertyValue aProperty; aProperty.Name = "nodepath"; - aProperty.Value = uno::makeAny( OUString("org.openoffice.Setup/Product") ); + aProperty.Value <<= OUString("org.openoffice.Setup/Product"); uno::Sequence< uno::Any > aArgumentList( 1 ); - aArgumentList[0] = uno::makeAny( aProperty ); + aArgumentList[0] <<= aProperty; uno::Reference< uno::XInterface > xConfigAccess; xConfigAccess = xConfigurationProvider->createInstanceWithArguments( "com.sun.star.configuration.ConfigurationAccess", |