summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/compiler.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-11-15 12:49:53 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-11-18 17:25:38 -0500
commitb73b5750ed51acbb5076bc51159a2d6c87c69cbf (patch)
tree3bccb106a4448421d0a58528e277e796a986d715 /sc/source/core/tool/compiler.cxx
parent2c92ee37abee82b7190c88bd16d4f12356acdf60 (diff)
Pre-quote sheet names to avoid doing it every single time.
Change-Id: Ib103ca22bf59c334945c0462588610899a0acfaa
Diffstat (limited to 'sc/source/core/tool/compiler.cxx')
-rw-r--r--sc/source/core/tool/compiler.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 395bf115f57e..a9d17d656c24 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -734,10 +734,7 @@ struct ConventionOOO_A1 : public Convention_A1
if (static_cast<size_t>(nTab) >= rCxt.maTabNames.size())
aString = ScGlobal::GetRscString(STR_NO_REF_TABLE);
else
- {
aString = rCxt.maTabNames[nTab];
- ScCompiler::CheckTabQuotes( aString, FormulaGrammar::CONV_OOO );
- }
aString += ".";
return aString;
}
@@ -1040,10 +1037,6 @@ struct ConventionXL
return;
}
rTabName = rCxt.maTabNames[aAbs.Tab()];
-
- // XL uses the same sheet name quoting conventions in both modes
- // it is safe to use A1 here
- ScCompiler::CheckTabQuotes( rTabName, FormulaGrammar::CONV_XL_A1 );
}
static void MakeTabStr( OUStringBuffer& rBuf,