summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/doctemplates.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/doctemplates.cxx')
-rw-r--r--sfx2/source/doc/doctemplates.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx
index 136acac9b549..953f98bce23d 100644
--- a/sfx2/source/doc/doctemplates.cxx
+++ b/sfx2/source/doc/doctemplates.cxx
@@ -807,7 +807,7 @@ sal_Bool SfxDocTplService_Impl::CreateNewUniqueFolderWithPrefix( const OUString&
{
OUString aTryName = aPrefix;
if ( nInd )
- aTryName += OUString::valueOf( nInd );
+ aTryName += OUString::number( nInd );
try
{
@@ -870,7 +870,7 @@ OUString SfxDocTplService_Impl::CreateNewUniqueFileWithPrefix( const OUString& a
sal_Bool bCreated = sal_False;
OUString aTryName = aPrefix;
if ( nInd )
- aTryName += OUString::valueOf( nInd );
+ aTryName += OUString::number( nInd );
if ( aExt.toChar() != '.' )
aTryName += OUString( "." );
aTryName += aExt;