summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2020-10-27 10:41:47 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2020-10-27 14:08:13 +0100
commit6764475689d26d846a228cccc1e641cc4238e63e (patch)
treef3b74231eb6bf6b81d31b09d23410cf54dd3432f /sc
parent48b3970d78fb8139ed4331477b0e06cdeec6f94e (diff)
Don't show tooltip for formula bar in online
Change-Id: Ib7608bb31222234ea08c99e76dcd341570d3685b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104861 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/inputwin.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 593ae2d4d900..2e7ec7eb8c43 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -213,12 +213,10 @@ ScInputWindow::ScInputWindow( vcl::Window* pParent, const SfxBindings* pBind ) :
{
aWndPos ->SetQuickHelpText(ScResId(SCSTR_QHELP_POSWND));
aWndPos ->SetHelpId (HID_INSWIN_POS);
- }
- aTextWindow.SetQuickHelpText(ScResId(SCSTR_QHELP_INPUTWND));
- aTextWindow.SetHelpId (HID_INSWIN_INPUT);
- if (!comphelper::LibreOfficeKit::isActive())
- {
+ aTextWindow.SetQuickHelpText(ScResId(SCSTR_QHELP_INPUTWND));
+ aTextWindow.SetHelpId (HID_INSWIN_INPUT);
+
// No SetHelpText: the helptexts come from the Help
SetItemText (SID_INPUT_FUNCTION, ScResId(SCSTR_QHELP_BTNCALC));
SetHelpId (SID_INPUT_FUNCTION, HID_INSWIN_CALC);
@@ -1128,7 +1126,8 @@ ScTextWndGroup::ScTextWndGroup(vcl::Window* pParent, ScTabViewShell* pViewSh)
Size aSize = GetSizePixel();
maTextWnd->SetSizePixel(Size(aSize.Width() - 4 * gnBorderWidth, aSize.Height() - 2 * gnBorderHeight));
maTextWnd->Show();
- maTextWnd->SetQuickHelpText(ScResId(SCSTR_QHELP_INPUTWND));
+ if (!comphelper::LibreOfficeKit::isActive())
+ maTextWnd->SetQuickHelpText(ScResId(SCSTR_QHELP_INPUTWND));
maTextWnd->SetHelpId(HID_INSWIN_INPUT);
maScrollBar->SetScrollHdl(LINK(this, ScTextWndGroup, Impl_ScrollHdl));
const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings();