summaryrefslogtreecommitdiffstats
path: root/embeddedobj/source/msole/olepersist.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-08-21 15:07:31 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-08-21 15:10:35 +0200
commit64b993e046f23baaacaff1572b7d2a816588b5ef (patch)
tree237dce36a1d4787d168a0520839f6aab22500487 /embeddedobj/source/msole/olepersist.cxx
parentwarn when rewriter should modify something involving a macro (diff)
downloadcore-64b993e046f23baaacaff1572b7d2a816588b5ef.tar.gz
core-64b993e046f23baaacaff1572b7d2a816588b5ef.zip
finish deprecation of O(U)String::valueOf()
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
Diffstat (limited to 'embeddedobj/source/msole/olepersist.cxx')
-rw-r--r--embeddedobj/source/msole/olepersist.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/embeddedobj/source/msole/olepersist.cxx b/embeddedobj/source/msole/olepersist.cxx
index 7ccfe37021a3..d231480eea0e 100644
--- a/embeddedobj/source/msole/olepersist.cxx
+++ b/embeddedobj/source/msole/olepersist.cxx
@@ -536,7 +536,7 @@ void OleEmbeddedObject::RemoveVisualCache_Impl( const uno::Reference< io::XStrea
for ( sal_uInt8 nInd = 0; nInd < 10; nInd++ )
{
OUString aStreamName( "\002OlePres00" );
- aStreamName += OUString::valueOf( (sal_Int32)nInd );
+ aStreamName += OUString::number( nInd );
if ( xNameContainer->hasByName( aStreamName ) )
xNameContainer->removeByName( aStreamName );
}
@@ -604,7 +604,7 @@ sal_Bool OleEmbeddedObject::HasVisReplInStream()
for ( sal_uInt8 nInd = 0; nInd < 10 && !bExists; nInd++ )
{
OUString aStreamName( "\002OlePres00" );
- aStreamName += OUString::valueOf( (sal_Int32)nInd );
+ aStreamName += OUString::number( nInd );
try
{
bExists = xNameContainer->hasByName( aStreamName );
@@ -654,7 +654,7 @@ uno::Reference< io::XStream > OleEmbeddedObject::TryToRetrieveCachedVisualRepres
for ( sal_uInt8 nInd = 0; nInd < 10; nInd++ )
{
OUString aStreamName( "\002OlePres00" );
- aStreamName += OUString::valueOf( (sal_Int32)nInd );
+ aStreamName += OUString::number( nInd );
uno::Reference< io::XStream > xCachedCopyStream;
try
{