summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undodraw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/undo/undodraw.cxx')
-rw-r--r--sc/source/ui/undo/undodraw.cxx5
1 files changed, 2 insertions, 3 deletions
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