diff options
author | Jean-Noël Rouvignac <jn.rouvignac@gmail.com> | 2013-01-20 13:55:09 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-01-21 15:04:17 +0000 |
commit | 63bcb139b941a2eff1b5ad367046bca067e7d1f8 (patch) | |
tree | e3ecd8d2804dc60be4233508af0e78fdae0c9838 /sdext/source/minimizer | |
parent | d912979b4fefaaf3011fdca2005db6699ea45405 (diff) |
Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()
Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de
Reviewed-on: https://gerrit.libreoffice.org/1784
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'sdext/source/minimizer')
-rw-r--r-- | sdext/source/minimizer/configurationaccess.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/minimizer/configurationaccess.cxx b/sdext/source/minimizer/configurationaccess.cxx index e0ba19b8f708..3057e91808bc 100644 --- a/sdext/source/minimizer/configurationaccess.cxx +++ b/sdext/source/minimizer/configurationaccess.cxx @@ -299,7 +299,7 @@ void ConfigurationAccess::SaveConfiguration() for( k = 1; k < maSettings.size(); k++ ) { OptimizerSettings& rSettings( maSettings[ k ] ); - OUString aElementName( TKGet( TK_Template ).concat( OUString::valueOf( static_cast< sal_Int32 >( k ) ) ) ); + OUString aElementName( TKGet( TK_Template ).concat( OUString::number( k ) ) ); Reference< lang::XSingleServiceFactory > xChildFactory ( xSet, UNO_QUERY_THROW ); Reference< container::XNameReplace > xChild( xChildFactory->createInstance(), UNO_QUERY_THROW ); xNameContainer->insertByName( aElementName, Any( xChild ) ); |