diff options
Diffstat (limited to 'embeddedobj')
-rw-r--r-- | embeddedobj/source/msole/oleembed.cxx | 4 | ||||
-rw-r--r-- | embeddedobj/source/msole/olepersist.cxx | 6 | ||||
-rw-r--r-- | embeddedobj/source/msole/ownview.cxx | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/embeddedobj/source/msole/oleembed.cxx b/embeddedobj/source/msole/oleembed.cxx index 306ba5a0151a..d2da4840fca5 100644 --- a/embeddedobj/source/msole/oleembed.cxx +++ b/embeddedobj/source/msole/oleembed.cxx @@ -207,7 +207,7 @@ uno::Reference< embed::XStorage > OleEmbeddedObject::CreateTemporarySubstorage( for ( sal_Int32 nInd = 0; nInd < 32000 && !xResult.is(); nInd++ ) { - OUString aName = OUString::valueOf( nInd ); + OUString aName = OUString::number( nInd ); aName += OUString( "TMPSTOR" ); aName += m_aEntryName; if ( !m_xParentStorage->hasByName( aName ) ) @@ -232,7 +232,7 @@ OUString OleEmbeddedObject::MoveToTemporarySubstream() OUString aResult; for ( sal_Int32 nInd = 0; nInd < 32000 && aResult.isEmpty(); nInd++ ) { - OUString aName = OUString::valueOf( nInd ); + OUString aName = OUString::number( nInd ); aName += OUString( "TMPSTREAM" ); aName += m_aEntryName; if ( !m_xParentStorage->hasByName( aName ) ) 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 { diff --git a/embeddedobj/source/msole/ownview.cxx b/embeddedobj/source/msole/ownview.cxx index 1df837c44a0f..5478d054b063 100644 --- a/embeddedobj/source/msole/ownview.cxx +++ b/embeddedobj/source/msole/ownview.cxx @@ -308,7 +308,7 @@ sal_Bool OwnView_Impl::ReadContentsAndGenerateTempFile( const uno::Reference< io aReadSeq[0] == '.' ) { - aFileSuffix += OUString::valueOf( (sal_Unicode) aReadSeq[0] ); + aFileSuffix += OUString( (sal_Unicode) aReadSeq[0] ); } } while( aReadSeq[0] ); |