diff options
author | Eike Rathke <erack@redhat.com> | 2016-05-10 13:06:40 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-05-10 13:21:49 +0200 |
commit | f92a6153ad9d8469fd8d6ae03e31fac993da091a (patch) | |
tree | 0a185fa7fc4349292549e39c55c624e05731289b /sc | |
parent | e17b76954cac42d9dec214eb7efb4d2c3d0274b7 (diff) |
use passed rErrRef instead of obtaining resource string
Change-Id: I96ae74d8d82468bebcc79cebebf86731685c446f
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/compiler.cxx | 6 |
1 files 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<OUString>& rTabNames, + const OUString& rErrRef, const std::vector<OUString>& 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; } |