diff options
Diffstat (limited to 'sc/source/ui/undo')
-rw-r--r-- | sc/source/ui/undo/undobase.cxx | 5 | ||||
-rw-r--r-- | sc/source/ui/undo/undodraw.cxx | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/sc/source/ui/undo/undobase.cxx b/sc/source/ui/undo/undobase.cxx index ef473c3f7242..853340ba3b31 100644 --- a/sc/source/ui/undo/undobase.cxx +++ b/sc/source/ui/undo/undobase.cxx @@ -555,12 +555,11 @@ rtl::OUString ScUndoWrapper::GetComment() const return rtl::OUString(); } -String ScUndoWrapper::GetRepeatComment(SfxRepeatTarget& rTarget) const +OUString ScUndoWrapper::GetRepeatComment(SfxRepeatTarget& rTarget) const { if (pWrappedUndo) return pWrappedUndo->GetRepeatComment(rTarget); - else - return String(); + return OUString(); } sal_uInt16 ScUndoWrapper::GetId() const diff --git a/sc/source/ui/undo/undodraw.cxx b/sc/source/ui/undo/undodraw.cxx index 42bd30b5852d..0dbd87ba8e81 100644 --- a/sc/source/ui/undo/undodraw.cxx +++ b/sc/source/ui/undo/undodraw.cxx @@ -57,12 +57,11 @@ rtl::OUString ScUndoDraw::GetComment() const return rtl::OUString(); } -String ScUndoDraw::GetRepeatComment(SfxRepeatTarget& rTarget) const +OUString ScUndoDraw::GetRepeatComment(SfxRepeatTarget& rTarget) const { if (pDrawUndo) return pDrawUndo->GetRepeatComment(rTarget); - else - return String(); + return OUString(); } sal_uInt16 ScUndoDraw::GetId() const |