summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objmisc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/objmisc.cxx')
-rw-r--r--sfx2/source/doc/objmisc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx
index 0e37c5d989d6..bc4b8e04469b 100644
--- a/sfx2/source/doc/objmisc.cxx
+++ b/sfx2/source/doc/objmisc.cxx
@@ -871,7 +871,7 @@ String SfxObjectShell::GetTitle
if (pImp->bIsNamedVisible)
{
// Append number
- aNoName += OUString::valueOf(static_cast<sal_Int32>(pImp->nVisualDocumentNumber));
+ aNoName += OUString::number(pImp->nVisualDocumentNumber);
}
// Document called "noname" for the time being