summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-09-28 00:17:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-28 08:48:55 +0100
commit62384d5898c3775c141409a7399a612ef6dd9ecb (patch)
treefd3f1231b3ca307279034a4ad00912c66c2ea7a7 /sc/source/ui/undo
parentfac4bed44bb22d4ccdab1dd08fac597b39ea2ba4 (diff)
convert GetRepeatComment to OUString
Change-Id: Ibf75533d04b3c68b875f44ad22639934578867e3
Diffstat (limited to 'sc/source/ui/undo')
-rw-r--r--sc/source/ui/undo/undobase.cxx5
-rw-r--r--sc/source/ui/undo/undodraw.cxx5
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