summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undocell2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/undo/undocell2.cxx')
-rw-r--r--sc/source/ui/undo/undocell2.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/undo/undocell2.cxx b/sc/source/ui/undo/undocell2.cxx
index 125b9a767f38..da7c2ddaa0f1 100644
--- a/sc/source/ui/undo/undocell2.cxx
+++ b/sc/source/ui/undo/undocell2.cxx
@@ -9,6 +9,7 @@
#include <undocell.hxx>
#include <globstr.hrc>
+#include <scresid.hxx>
#include <cellvalues.hxx>
namespace sc {
@@ -51,7 +52,7 @@ bool UndoSetCells::CanRepeat( SfxRepeatTarget& ) const
OUString UndoSetCells::GetComment() const
{
// "Input"
- return ScGlobal::GetRscString(STR_UNDO_ENTERDATA);
+ return ScResId(STR_UNDO_ENTERDATA);
}
void UndoSetCells::SetNewValues( const std::vector<double>& rVals )