From 2ee3b6deff5d1e65ca0ba1479a1125fbea73a9ab Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Fri, 1 Aug 2014 01:42:12 +0200 Subject: use a anonymous namespace and sane function names Change-Id: I8fdd5fb4f21e6c90e352089858ce98a62ac213de --- sc/source/ui/app/inputhdl.cxx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'sc/source/ui/app/inputhdl.cxx') diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx index 2b7020251f85..e5f77e16441f 100644 --- a/sc/source/ui/app/inputhdl.cxx +++ b/sc/source/ui/app/inputhdl.cxx @@ -1120,7 +1120,9 @@ void ScInputHandler::NextFormulaEntry( bool bBack ) pActiveView->ShowCursor(); } -static void lcl_CompleteFunction( EditView* pView, const OUString& rInsert, bool& rParInserted ) +namespace { + +void completeFunction( EditView* pView, const OUString& rInsert, bool& rParInserted ) { if (pView) { @@ -1167,6 +1169,8 @@ static void lcl_CompleteFunction( EditView* pView, const OUString& rInsert, bool } } +} + void ScInputHandler::PasteFunctionData() { if (pFormulaData && miAutoPosFormula != pFormulaData->end()) @@ -1178,8 +1182,8 @@ void ScInputHandler::PasteFunctionData() bool bParInserted = false; DataChanging(); // Cannot be new - lcl_CompleteFunction( pTopView, aInsert, bParInserted ); - lcl_CompleteFunction( pTableView, aInsert, bParInserted ); + completeFunction( pTopView, aInsert, bParInserted ); + completeFunction( pTableView, aInsert, bParInserted ); DataChanged(); ShowTipCursor(); -- cgit