From f92a6153ad9d8469fd8d6ae03e31fac993da091a Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Tue, 10 May 2016 13:06:40 +0200 Subject: use passed rErrRef instead of obtaining resource string Change-Id: I96ae74d8d82468bebcc79cebebf86731685c446f --- sc/source/core/tool/compiler.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index 1a9cd572aba4..c7014ac17df3 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -1260,7 +1260,7 @@ struct ConventionXL_A1 : public Convention_A1, public ConventionXL virtual void makeRefStr( OUStringBuffer& rBuf, formula::FormulaGrammar::Grammar /*eGram*/, const ScAddress& rPos, - const OUString& /*rErrRef*/, const std::vector& rTabNames, + const OUString& rErrRef, const std::vector& rTabNames, const ScComplexRefData& rRef, bool bSingleRef, bool /*bFromRangeName*/ ) const override @@ -1275,7 +1275,7 @@ struct ConventionXL_A1 : public Convention_A1, public ConventionXL if (!ValidAddress(aAbs1)) { - rBuf.append(ScGlobal::GetRscString(STR_NO_REF_TABLE)); + rBuf.append(rErrRef); return; } @@ -1284,7 +1284,7 @@ struct ConventionXL_A1 : public Convention_A1, public ConventionXL aAbs2 = aRef.Ref2.toAbs(rPos); if (!ValidAddress(aAbs2)) { - rBuf.append(ScGlobal::GetRscString(STR_NO_REF_TABLE)); + rBuf.append(rErrRef); return; } -- cgit