summaryrefslogtreecommitdiff
path: root/starmath/source/action.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/action.cxx')
-rw-r--r--starmath/source/action.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/starmath/source/action.cxx b/starmath/source/action.cxx
index 41ac8a23ea21..a0d47e9c74fd 100644
--- a/starmath/source/action.cxx
+++ b/starmath/source/action.cxx
@@ -21,7 +21,7 @@
#include "smdll.hxx"
#include "document.hxx"
#include "starmath.hrc"
-
+#include "strings.hxx"
SmFormatAction::SmFormatAction(SmDocShell *pDocSh,
const SmFormat& rOldFormat,
@@ -49,8 +49,7 @@ void SmFormatAction::Repeat(SfxRepeatTarget& rDocSh)
OUString SmFormatAction::GetComment() const
{
- return SmResId(RID_UNDOFORMATNAME).toString();
+ return OUString(RID_UNDOFORMATNAME);
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */