You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2022/05/13 19:37:36 UTC
[openoffice] branch AOO42X updated: Fix 75e50e85ba2d51b6b9e5adecdbf33c43a414edf2
This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO42X by this push:
new 8662ce23d3 Fix 75e50e85ba2d51b6b9e5adecdbf33c43a414edf2
8662ce23d3 is described below
commit 8662ce23d388e8c3359ee47be37479f2f8bed8b1
Author: Arrigo Marchiori <ar...@yahoo.it>
AuthorDate: Fri May 13 21:31:17 2022 +0200
Fix 75e50e85ba2d51b6b9e5adecdbf33c43a414edf2
Brackets were missing
(cherry picked from commit fe4add9e1e08a92bbf6de1e5d608b322df6c02a1)
---
main/sfx2/source/doc/objmisc.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/main/sfx2/source/doc/objmisc.cxx b/main/sfx2/source/doc/objmisc.cxx
index 9da5f90fe0..76efcf1fc8 100644
--- a/main/sfx2/source/doc/objmisc.cxx
+++ b/main/sfx2/source/doc/objmisc.cxx
@@ -999,10 +999,11 @@ String SfxObjectShell::GetTitle
// muß es durchnumeriert werden?
String aNoName( SfxResId( STR_NONAME ) );
- if ( pImp->bIsNamedVisible )
+ if ( pImp->bIsNamedVisible ) {
// Leerzeichen und Nummer hinten anhängen
aNoName += C2S(" ");
aNoName += String::CreateFromInt32( pImp->nVisualDocumentNumber );
+ }
// Dokument heißt vorerst 'Unbenannt #'
return X(aNoName);