tdf#124443: show arguments' tooltip above if in Formula Bar's Input Line

Change-Id: I33d52af9c2b1ac3f5cfe279ff17d487c70b8cf32
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86226
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index acf924d..b013148 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -1156,7 +1156,14 @@ void ScInputHandler::ShowArgumentsTip( OUString& rSelText )
                                aBuf.append( " : " );
                                aBuf.append( ppFDesc->getParameterDescription(nActive-1) );
                                aNew = aBuf.makeStringAndClear();
                                ShowTipBelow( aNew );
                                if (eMode != SC_INPUT_TOP)
                                {
                                    ShowTipBelow( aNew );
                                }
                                else
                                {
                                    ShowTip(aNew);
                                }
                                bFound = true;
                            }
                        }