summaryrefslogtreecommitdiff
path: root/sc/source/ui/app
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-13 13:20:26 +0200
committerNoel Grandin <noel@peralex.com>2013-09-17 09:02:18 +0200
commit8f23a3b0e2484fea4a85f4d5b961a718c71877a9 (patch)
tree72957d4969ce8aab5a84fd811ae4e0be6dacf560 /sc/source/ui/app
parent12d44973d96f5cad4b99386c8a281f8427d304e4 (diff)
convert formula::FormulaCompiler::OpCodeMap from String to OUString
..and add some convenience methods sal_Unicode getSymbolChar sal_Unicode GetNativeSymbolChar since most call sites are only interested in the first char of the symbol. Change-Id: I6aeb43b055b849e71cb1f62c3efe79d6a4cc10bd
Diffstat (limited to 'sc/source/ui/app')
-rw-r--r--sc/source/ui/app/inputhdl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 7454a7481992..3ce1a6ce9a10 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -808,7 +808,7 @@ void ScInputHandler::ShowTipCursor()
HideTipBelow();
EditView* pActiveView = pTopView ? pTopView : pTableView;
ScDocShell* pDocSh = pActiveViewSh->GetViewData()->GetDocShell();
- const sal_Unicode cSep = ScCompiler::GetNativeSymbol(ocSep).GetChar(0);
+ const sal_Unicode cSep = ScCompiler::GetNativeSymbolChar(ocSep);
const sal_Unicode cSheetSep = lcl_getSheetSeparator(pDocSh->GetDocument());
if ( bFormulaMode && pActiveView && pFormulaDataPara && pEngine->GetParagraphCount() == 1 )
@@ -1034,7 +1034,7 @@ void ScInputHandler::UseFormulaData()
{
EditView* pActiveView = pTopView ? pTopView : pTableView;
ScDocShell* pDocSh = pActiveViewSh->GetViewData()->GetDocShell();
- const sal_Unicode cSep = ScCompiler::GetNativeSymbol(ocSep).GetChar(0);
+ const sal_Unicode cSep = ScCompiler::GetNativeSymbolChar(ocSep);
const sal_Unicode cSheetSep = lcl_getSheetSeparator(pDocSh->GetDocument());
// Formeln duerfen nur 1 Absatz haben
@@ -2897,7 +2897,7 @@ bool ScInputHandler::IsModalMode( SfxObjectShell* pDocSh )
void ScInputHandler::AddRefEntry()
{
- const sal_Unicode cSep = ScCompiler::GetNativeSymbol(ocSep).GetChar(0);
+ const sal_Unicode cSep = ScCompiler::GetNativeSymbolChar(ocSep);
UpdateActiveView();
if (!pTableView && !pTopView)
return; // z.B. FillMode