diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/unoobj/tokenuno.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sc/source/ui/unoobj/tokenuno.cxx b/sc/source/ui/unoobj/tokenuno.cxx index c5f34540f87f..baac36f21669 100644 --- a/sc/source/ui/unoobj/tokenuno.cxx +++ b/sc/source/ui/unoobj/tokenuno.cxx @@ -200,8 +200,6 @@ void SAL_CALL ScFormulaParserObj::setPropertyValue( // CompileEnglish _before_ OpCodeMap! if (mxOpCodeMap && mbEnglish != bOldEnglish) { - ScDocument& rDoc = mpDocShell->GetDocument(); - ScCompiler aCompiler( rDoc, ScAddress(), rDoc.GetGrammar()); mxOpCodeMap = formula::FormulaCompiler::CreateOpCodeMap( maOpCodeMapping, mbEnglish); } @@ -219,8 +217,6 @@ void SAL_CALL ScFormulaParserObj::setPropertyValue( // had been set for CONV_XL_OOX. if (mxOpCodeMap && mbEnglish != bOldEnglish) { - ScDocument& rDoc = mpDocShell->GetDocument(); - ScCompiler aCompiler( rDoc, ScAddress(), rDoc.GetGrammar()); mxOpCodeMap = formula::FormulaCompiler::CreateOpCodeMap( maOpCodeMapping, mbEnglish); } } @@ -233,8 +229,6 @@ void SAL_CALL ScFormulaParserObj::setPropertyValue( if (!(aValue >>= maOpCodeMapping)) throw lang::IllegalArgumentException(); - ScDocument& rDoc = mpDocShell->GetDocument(); - ScCompiler aCompiler(rDoc, ScAddress(), rDoc.GetGrammar()); mxOpCodeMap = formula::FormulaCompiler::CreateOpCodeMap( maOpCodeMapping, mbEnglish); } |