diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-23 17:33:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-23 17:33:52 +0100 |
commit | a73b4cfcc3eb273190975b2dff1dedfe0915294f (patch) | |
tree | a9bd0896b9858c7494ddf9032eedbbee3adb9585 /sc | |
parent | fddaf8a27d979cd80ac8a444ef5acd0e3c944a88 (diff) |
why listen to bindings to then ignore notifications
Change-Id: I92e0253b08e64ed03946456e4dff24213e3bbe70
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/formdlg/dwfunctr.cxx | 19 | ||||
-rw-r--r-- | sc/source/ui/inc/dwfunctr.hxx | 5 |
2 files changed, 1 insertions, 23 deletions
diff --git a/sc/source/ui/formdlg/dwfunctr.cxx b/sc/source/ui/formdlg/dwfunctr.cxx index 59a9d9a0d6ea..569d0f171577 100644 --- a/sc/source/ui/formdlg/dwfunctr.cxx +++ b/sc/source/ui/formdlg/dwfunctr.cxx @@ -90,7 +90,6 @@ ScFunctionWin::ScFunctionWin( SfxBindings* pBindingsP, vcl::Window* pParent, con Link<ScPrivatSplit&,void> a3Link=LINK( this, ScFunctionWin, SetSplitHdl); aPrivatSplit->SetCtrModifiedHdl(a3Link); - StartListening( rBindings, true ); Point aTopLeft=aCatBox->GetPosPixel(); OUString aString("ww"); @@ -127,7 +126,6 @@ ScFunctionWin::~ScFunctionWin() void ScFunctionWin::dispose() { - EndListening( rBindings ); aPrivatSplit.disposeAndClear(); aCatBox.disposeAndClear(); aFuncList.disposeAndClear(); @@ -373,23 +371,6 @@ void ScFunctionWin::SetDescription() aFiFuncDesc->Update(); } - } - -/************************************************************************* -#* Member: Close -#*------------------------------------------------------------------------ -#* -#* Klasse: ScFunctionWin -#* -#* Funktion: Aenderungen erkennen -#* -#* Input: --- -#* -#* Output: TRUE -#* -#************************************************************************/ -void ScFunctionWin::Notify( SfxBroadcaster&, const SfxHint& /* rHint */ ) -{ } /// override to set new size of the controls diff --git a/sc/source/ui/inc/dwfunctr.hxx b/sc/source/ui/inc/dwfunctr.hxx index f78be8ce1af2..b72821792051 100644 --- a/sc/source/ui/inc/dwfunctr.hxx +++ b/sc/source/ui/inc/dwfunctr.hxx @@ -31,7 +31,7 @@ #include "privsplt.hxx" #include "funcdesc.hxx" -class ScFunctionWin : public vcl::Window, public SfxListener +class ScFunctionWin : public vcl::Window { private: @@ -82,9 +82,6 @@ public: virtual ~ScFunctionWin() override; virtual void dispose() override; - using ::vcl::Window::Notify; - virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; - void InitLRUList(); }; |