diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 17:17:29 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 17:17:29 +0200 |
commit | dc4704ce1b067b62df0b0cf9cda3c4106d80292c (patch) | |
tree | 836d54ebc387cc58da0f7095dd3f79db4fb603e9 /sc/source/ui/undo | |
parent | loplugin:stringcopy: sd (diff) | |
download | core-dc4704ce1b067b62df0b0cf9cda3c4106d80292c.tar.gz core-dc4704ce1b067b62df0b0cf9cda3c4106d80292c.zip |
loplugin:stringcopy: sc
Change-Id: Ic6cb5406d20e7e07b8e34514df71adf1c3a4e727
Diffstat (limited to 'sc/source/ui/undo')
-rw-r--r-- | sc/source/ui/undo/undocell.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/undo/undotab.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/undo/undocell.cxx b/sc/source/ui/undo/undocell.cxx index 0050bb6eeae3..193420cb3fa7 100644 --- a/sc/source/ui/undo/undocell.cxx +++ b/sc/source/ui/undo/undocell.cxx @@ -490,7 +490,7 @@ ScUndoPageBreak::~ScUndoPageBreak() OUString ScUndoPageBreak::GetComment() const { //"Column break" | "Row break" "insert" | "delete" - return OUString ( bColumn ? + return bColumn ? ( bInsert ? ScGlobal::GetRscString( STR_UNDO_INSCOLBREAK ) : ScGlobal::GetRscString( STR_UNDO_DELCOLBREAK ) @@ -498,7 +498,7 @@ OUString ScUndoPageBreak::GetComment() const ( bInsert ? ScGlobal::GetRscString( STR_UNDO_INSROWBREAK ) : ScGlobal::GetRscString( STR_UNDO_DELROWBREAK ) - ) ); + ); } void ScUndoPageBreak::DoChange( bool bInsertP ) const diff --git a/sc/source/ui/undo/undotab.cxx b/sc/source/ui/undo/undotab.cxx index 9323e066978f..67d7eee929b1 100644 --- a/sc/source/ui/undo/undotab.cxx +++ b/sc/source/ui/undo/undotab.cxx @@ -1441,7 +1441,7 @@ ScUndoRenameObject::~ScUndoRenameObject() OUString ScUndoRenameObject::GetComment() const { // string resource shared with title for dialog - return OUString( ScResId(SCSTR_RENAMEOBJECT) ); + return ScResId(SCSTR_RENAMEOBJECT); } SdrObject* ScUndoRenameObject::GetObject() |