diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-05 16:07:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-05 16:10:05 +0000 |
commit | f91dc0342de13e648dba5d9a93c01db23ae83533 (patch) | |
tree | 606a5cdf0a7902d4bb46b9e5ec587f085c0de948 /sc/source/ui/navipi | |
parent | 1606e22d979e7a1cae31c609b214649ded1e5885 (diff) |
Resolves: tdf#104919 crash with empty ScNavigatorDlg member
commit 292560a957498bed70b625c992ec6bcf631dceb3
Author: Noel Grandin <noel.grandin@collabora.co.uk>
Date: Mon Oct 17 13:23:23 2016 +0200
loplugin:unusedmethods
detected the intended methods to do this were unused, so restore then, but hook
them up this time
Change-Id: I3b7e4a557696a91a70956487468b99fec6324a93
Diffstat (limited to 'sc/source/ui/navipi')
-rw-r--r-- | sc/source/ui/navipi/navipi.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx index 42187f8bda2e..e8e5745f9e7f 100644 --- a/sc/source/ui/navipi/navipi.cxx +++ b/sc/source/ui/navipi/navipi.cxx @@ -450,7 +450,9 @@ ScNavigatorDlg::ScNavigatorDlg(SfxBindings* pB, bool bSidebar, vcl::Window* pPar { get(aLbDocuments, "documents"); get(aEdCol, "column"); + aEdCol->SetNavigatorDlg(this); get(aEdRow, "row"); + aEdRow->SetNavigatorDlg(this); get(aTbxCmd, "toolbox"); aTbxCmd->SetSelectHdl(LINK(this, ScNavigatorDlg, ToolBoxSelectHdl)); aTbxCmd->SetDropdownClickHdl(LINK(this, ScNavigatorDlg, ToolBoxDropdownClickHdl)); |