diff options
Diffstat (limited to 'sc/source/ui/docshell/docfunc.cxx')
-rw-r--r-- | sc/source/ui/docshell/docfunc.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx index e7f6af5cee32..0a170c4b96e5 100644 --- a/sc/source/ui/docshell/docfunc.cxx +++ b/sc/source/ui/docshell/docfunc.cxx @@ -37,7 +37,8 @@ #include "docfunc.hxx" -#include "scres.hrc" +#include "sc.hrc" +#include "strings.hrc" #include "arealink.hxx" #include "attrib.hxx" @@ -5580,9 +5581,9 @@ void ScDocFunc::ConvertFormulaToValue( const ScRange& rRange, bool bInteraction aModificator.SetDocumentModified(); } -void ScDocFunc::EnterListAction( sal_uInt16 nNameResId ) +void ScDocFunc::EnterListAction(const char* pNameResId) { - OUString aUndo( ScGlobal::GetRscString( nNameResId ) ); + OUString aUndo(ScGlobal::GetRscString(pNameResId)); ViewShellId nViewShellId(-1); if (ScTabViewShell* pViewSh = ScTabViewShell::GetActiveViewShell()) nViewShellId = pViewSh->GetViewShellId(); |