From b932c6df6a73220648e426c928a11b653282a566 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Sat, 6 Nov 2010 11:25:04 -0400 Subject: Did some additional cleanups. --- sc/source/core/tool/compiler.cxx | 4 ---- sc/source/core/tool/rangeutl.cxx | 2 +- sc/source/core/tool/reftokenhelper.cxx | 2 +- sc/source/ui/Accessibility/AccessibleText.cxx | 1 + sc/source/ui/dbgui/validate.cxx | 2 +- 5 files changed, 4 insertions(+), 7 deletions(-) (limited to 'sc/source') diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index ee578a82a32a..6b3372aec287 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -5475,10 +5475,6 @@ BOOL ScCompiler::HandleDbData() return TRUE; } -String GetScCompilerNativeSymbol( OpCode eOp ) -{ - return ScCompiler::GetNativeSymbol( eOp ); -} // ----------------------------------------------------------------------------- FormulaTokenRef ScCompiler::ExtendRangeReference( FormulaToken & rTok1, FormulaToken & rTok2, bool bReuseDoubleRef ) { diff --git a/sc/source/core/tool/rangeutl.cxx b/sc/source/core/tool/rangeutl.cxx index 6cae0b6d2f24..f577be9b12bb 100644 --- a/sc/source/core/tool/rangeutl.cxx +++ b/sc/source/core/tool/rangeutl.cxx @@ -881,7 +881,7 @@ static void lcl_appendCellRangeAddress( void ScRangeStringConverter::GetStringFromXMLRangeString( OUString& rString, const OUString& rXMLRange, ScDocument* pDoc ) { FormulaGrammar::AddressConvention eConv = pDoc->GetAddressConvention(); - const OUString aRangeSep = GetScCompilerNativeSymbol(ocSep); + const OUString aRangeSep = ScCompiler::GetNativeSymbol(ocSep); const sal_Unicode cSep = ' '; const sal_Unicode cQuote = '\''; diff --git a/sc/source/core/tool/reftokenhelper.cxx b/sc/source/core/tool/reftokenhelper.cxx index eaf4b8134490..f61b9dc2b626 100644 --- a/sc/source/core/tool/reftokenhelper.cxx +++ b/sc/source/core/tool/reftokenhelper.cxx @@ -49,7 +49,7 @@ using ::rtl::OUString; void ScRefTokenHelper::compileRangeRepresentation( vector& rRefTokens, const OUString& rRangeStr, ScDocument* pDoc, FormulaGrammar::Grammar eGrammar) { - const sal_Unicode cSep = GetScCompilerNativeSymbol(ocSep).GetChar(0); + const sal_Unicode cSep = ScCompiler::GetNativeSymbol(ocSep).GetChar(0); const sal_Unicode cQuote = '\''; // #i107275# ignore parentheses diff --git a/sc/source/ui/Accessibility/AccessibleText.cxx b/sc/source/ui/Accessibility/AccessibleText.cxx index eed5f3a3864a..aea8db6d8f5e 100644 --- a/sc/source/ui/Accessibility/AccessibleText.cxx +++ b/sc/source/ui/Accessibility/AccessibleText.cxx @@ -1109,6 +1109,7 @@ SvxViewForwarder* ScAccessibleEditObjectTextData::GetViewForwarder() { if (!mpViewForwarder) { + // i#49561 Get right-aligned cell content to be read by screenreader. mpViewForwarder = new ScEditObjectViewForwarder( mpWindow, mpEditView ); } return mpViewForwarder; diff --git a/sc/source/ui/dbgui/validate.cxx b/sc/source/ui/dbgui/validate.cxx index 6eed9ab7fee0..dfe5d58689de 100644 --- a/sc/source/ui/dbgui/validate.cxx +++ b/sc/source/ui/dbgui/validate.cxx @@ -339,7 +339,7 @@ ScTPValidationValue::ScTPValidationValue( Window* pParent, const SfxItemSet& rAr FreeResource(); // list separator in formulas - String aListSep = ::GetScCompilerNativeSymbol( ocSep ); + String aListSep = ::ScCompiler::GetNativeSymbol( ocSep ); DBG_ASSERT( aListSep.Len() == 1, "ScTPValidationValue::ScTPValidationValue - list separator error" ); mcFmlaSep = aListSep.Len() ? aListSep.GetChar( 0 ) : ';'; m_btnRef.Hide(); // cell range picker -- cgit