[Libreoffice-commits] core.git: sfx2/source
Muhammet Kara
muhammet.kara at pardus.org.tr
Fri Aug 5 07:58:17 UTC 2016
sfx2/source/doc/objmisc.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 8433d136bcad3e5618ae63d0add0014ef2ff7fd9
Author: Muhammet Kara <muhammet.kara at pardus.org.tr>
Date: Thu Aug 4 14:10:23 2016 +0300
tdf#85110 Add missing space to Untitled document name
When you create a new document, it is named as
"Untitled 1", "Untitled 2" etc. but the properties dialog
of the file is titled as "Untitled1", "Untitled2" etc.
This patch adds the missing space inbetween.
Change-Id: I63c6405f825d17b78fa05bf2b65d0b04d1ee0698
Reviewed-on: https://gerrit.libreoffice.org/27872
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: jan iversen <jani at documentfoundation.org>
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx
index 2697228..57551b7 100644
--- a/sfx2/source/doc/objmisc.cxx
+++ b/sfx2/source/doc/objmisc.cxx
@@ -827,10 +827,10 @@ OUString SfxObjectShell::GetTitle
if (pImpl->bIsNamedVisible)
{
// Append number
- aNoName += OUString::number(pImpl->nVisualDocumentNumber);
+ aNoName += " " + OUString::number(pImpl->nVisualDocumentNumber);
}
- // Document called "noname" for the time being
+ // Document called "Untitled" for the time being
return aNoName;
}
More information about the Libreoffice-commits
mailing list