summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-11-24 22:40:33 +0100
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-12-18 01:08:07 -0500
commitd58a29430615a531ece6434033c8dc0fb26539d1 (patch)
treee801a36c928cf658a9f18cd005dedd70d18a0350 /basctl
parent0c8a76cec8bc5cb72d4140ade378037d2a166476 (diff)
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 (cherry picked from commit 6bb20609a2fd1d591cedc7fa2b9cabb589c346c7) (cherry picked from commit 03bfafb36107d18c0cccf53efdd550c0b7a81b8f)
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 337d44021411..c186b8fe8434 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();