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 8bc0c1c7922f..aa2444d5477e 100644
--- a/sc/source/ui/undo/undodraw.cxx
+++ b/sc/source/ui/undo/undodraw.cxx
@@ -58,12 +58,11 @@ void ScUndoDraw::ForgetDrawUndo()
pDrawUndo = NULL; // nicht loeschen (Draw-Undo muss dann von aussen gemerkt werden)
}
-String ScUndoDraw::GetComment() const
+rtl::OUString ScUndoDraw::GetComment() const
{
if (pDrawUndo)
return pDrawUndo->GetComment();
- else
- return String();
+ return rtl::OUString();
}
String ScUndoDraw::GetRepeatComment(SfxRepeatTarget& rTarget) const