diff options
Diffstat (limited to 'dbaccess/source/ui/misc/singledoccontroller.cxx')
-rw-r--r-- | dbaccess/source/ui/misc/singledoccontroller.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/dbaccess/source/ui/misc/singledoccontroller.cxx b/dbaccess/source/ui/misc/singledoccontroller.cxx index 87b1ca9b2447..b4000c4ba8b1 100644 --- a/dbaccess/source/ui/misc/singledoccontroller.cxx +++ b/dbaccess/source/ui/misc/singledoccontroller.cxx @@ -104,8 +104,7 @@ namespace dbaui aReturn.bEnabled = isEditable() && GetUndoManager().GetUndoActionCount() != 0; if ( aReturn.bEnabled ) { - OUString sUndo(DBA_RES(STR_UNDO_COLON)); - sUndo += " "; + OUString sUndo(DBA_RES(STR_UNDO_COLON) + " "); sUndo += GetUndoManager().GetUndoActionComment(); aReturn.sTitle = sUndo; } @@ -115,8 +114,7 @@ namespace dbaui aReturn.bEnabled = isEditable() && GetUndoManager().GetRedoActionCount() != 0; if ( aReturn.bEnabled ) { - OUString sRedo(DBA_RES(STR_REDO_COLON)); - sRedo += " "; + OUString sRedo(DBA_RES(STR_REDO_COLON) + " "); sRedo += GetUndoManager().GetRedoActionComment(); aReturn.sTitle = sRedo; } |