summaryrefslogtreecommitdiff
path: root/starmath/source
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source')
-rw-r--r--starmath/source/action.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/action.cxx b/starmath/source/action.cxx
index 0e33d639abfc..5747dff19b04 100644
--- a/starmath/source/action.cxx
+++ b/starmath/source/action.cxx
@@ -58,9 +58,9 @@ void SmFormatAction::Repeat(SfxRepeatTarget& rDocSh)
dynamic_cast< SmDocShell & >(rDocSh).SetFormat(aNewFormat);
}
-UniString SmFormatAction::GetComment() const
+rtl::OUString SmFormatAction::GetComment() const
{
- return (SmResId(RID_UNDOFORMATNAME));
+ return SmResId(RID_UNDOFORMATNAME).toString();
}