summaryrefslogtreecommitdiffstats
path: root/basctl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-11-24 22:40:33 +0100
committerMichael Stahl <mstahl@redhat.com>2016-11-24 22:56:34 +0100
commit6bb20609a2fd1d591cedc7fa2b9cabb589c346c7 (patch)
tree8faf98099786b0c7b6520075d376c55bbd3cddd6 /basctl
parentSwContentTree: those 3 booleans are mutually exclusive (diff)
downloadcore-6bb20609a2fd1d591cedc7fa2b9cabb589c346c7.tar.gz
core-6bb20609a2fd1d591cedc7fa2b9cabb589c346c7.zip
vcl: rename Window::Notify to EventNotify
There is annoying overloading between Window::Notify and SfxListener::Notify, and the Window one has apparently fewer implementations, so rename that and remove lots of disambiguating "using Notify" in multiply inheriting classes. Change-Id: I8b597fd9e70cf2e7103b9dfa7cc666e79e7aff49
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2.hxx1
-rw-r--r--basctl/source/basicide/bastypes.cxx4
-rw-r--r--basctl/source/inc/bastypes.hxx2
3 files changed, 3 insertions, 4 deletions
diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx
index 465be0b7f491..d1799d116fae 100644
--- a/basctl/source/basicide/baside2.hxx
+++ b/basctl/source/basicide/baside2.hxx
@@ -94,7 +94,6 @@ private:
class ProgressInfo;
std::unique_ptr<ProgressInfo> pProgress;
- using Window::Notify;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
void ImpDoHighlight( sal_uLong nLineOff );
diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx
index 5b0f9debc066..11f834212b5e 100644
--- a/basctl/source/basicide/bastypes.cxx
+++ b/basctl/source/basicide/bastypes.cxx
@@ -102,7 +102,7 @@ void BaseWindow::ExecuteGlobal (SfxRequest&)
{ }
-bool BaseWindow::Notify( NotifyEvent& rNEvt )
+bool BaseWindow::EventNotify( NotifyEvent& rNEvt )
{
bool bDone = false;
@@ -128,7 +128,7 @@ bool BaseWindow::Notify( NotifyEvent& rNEvt )
}
}
- return bDone || Window::Notify( rNEvt );
+ return bDone || Window::EventNotify( rNEvt );
}
diff --git a/basctl/source/inc/bastypes.hxx b/basctl/source/inc/bastypes.hxx
index b487d40153f4..77fb024857da 100644
--- a/basctl/source/inc/bastypes.hxx
+++ b/basctl/source/inc/bastypes.hxx
@@ -184,7 +184,7 @@ public:
virtual void ExecuteCommand (SfxRequest&);
virtual void ExecuteGlobal (SfxRequest&);
virtual void GetState (SfxItemSet&) = 0;
- virtual bool Notify( NotifyEvent& rNEvt ) override;
+ virtual bool EventNotify( NotifyEvent& rNEvt ) override;
virtual void StoreData();
virtual void UpdateData();