summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/compiler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool/compiler.cxx')
-rw-r--r--sc/source/core/tool/compiler.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 0939e8e115c6..870d928b026b 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -28,7 +28,6 @@
#include <svl/zforlist.hxx>
#include <svl/sharedstringpool.hxx>
#include <sal/macros.h>
-#include <tools/rcid.h>
#include <tools/solar.h>
#include <unotools/charclass.hxx>
#include <com/sun/star/lang/Locale.hpp>
@@ -5015,7 +5014,7 @@ void ScCompiler::CreateStringFromSingleRef( OUStringBuffer& rBuffer, const Formu
}
else
{
- rBuffer.append(ScGlobal::GetRscString(STR_NO_NAME_REF));
+ rBuffer.append(ScCompiler::GetNativeSymbol(ocErrName));
pConv->makeRefStr(rBuffer, meGrammar, aPos, aErrRef,
GetSetupTabNames(), aRef, true, (pArr && pArr->IsFromRangeName()));
}
@@ -5081,7 +5080,7 @@ void ScCompiler::CreateStringFromIndex( OUStringBuffer& rBuffer, const FormulaTo
aBuffer.append( aName);
}
else
- aBuffer.append( ScGlobal::GetRscString( STR_NO_NAME_REF));
+ aBuffer.append(ScCompiler::GetNativeSymbol(ocErrName));
aBuffer.append( pConv->getSpecialSymbol( ScCompiler::Convention::SHEET_SEPARATOR));
}
aBuffer.append(pData->GetName());
@@ -5141,7 +5140,7 @@ void ScCompiler::CreateStringFromIndex( OUStringBuffer& rBuffer, const FormulaTo
if ( !aBuffer.isEmpty() )
rBuffer.append(aBuffer.makeStringAndClear());
else
- rBuffer.append(ScGlobal::GetRscString(STR_NO_NAME_REF));
+ rBuffer.append(ScCompiler::GetNativeSymbol(ocErrName));
}
void ScCompiler::LocalizeString( OUString& rName ) const