Kaydet (Commit) 8433d136 authored tarafından Muhammet Kara's avatar Muhammet Kara Kaydeden (comit) jan iversen

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/27872Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarjan iversen <jani@documentfoundation.org>
üst cbf9b547
...@@ -827,10 +827,10 @@ OUString SfxObjectShell::GetTitle ...@@ -827,10 +827,10 @@ OUString SfxObjectShell::GetTitle
if (pImpl->bIsNamedVisible) if (pImpl->bIsNamedVisible)
{ {
// Append number // 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; return aNoName;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment