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@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
This commit is contained in:
committed by
jan iversen
parent
cbf9b547b6
commit
8433d136bc
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user