sc/source/ui/app/inputhdl.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit 00856ac90d4a230d6f219937f836ca0e9f3fe1e3 Author: Winfried Donkers <winfrieddonk...@libreoffice.org> Date: Thu Feb 20 07:28:40 2014 +0100 fdo#71077 wrong tips for some calc functions Calc functions with name X where also calc functions with name XY exist show the tip for the first XY function instead of the X function as soon as the '(' is typed in the cell. This fixes that. Change-Id: I4dc6280db904765e40eacfe33be6a7e25e84ae79 Reviewed-on: https://gerrit.libreoffice.org/8143 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx index b0c7d7e..c5be05b 100644 --- a/sc/source/ui/app/inputhdl.cxx +++ b/sc/source/ui/app/inputhdl.cxx @@ -994,7 +994,6 @@ void ScInputHandler::ShowTip( const OUString& rText ) { // aManualTip muss hinterher von aussen gesetzt werden HideTip(); - EditView* pActiveView = pTopView ? pTopView : pTableView; if (pActiveView) { @@ -1103,10 +1102,10 @@ void ScInputHandler::UseFormulaData() { nArgPos = aHelper.GetArgStart( aFormula, nNextFStart, 0 ); nArgs = static_cast<sal_uInt16>(ppFDesc->getParameterCount()); - + OUString aFuncName = ppFDesc->getFunctionName() + "("; OUString aNew; ScTypedCaseStrSet::const_iterator it = - findText(*pFormulaDataPara, pFormulaDataPara->end(), ppFDesc->getFunctionName(), aNew, false); + findText(*pFormulaDataPara, pFormulaDataPara->end(), aFuncName, aNew, false); if (it != pFormulaDataPara->end()) { bool bFlag = false;
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits