summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-17 16:40:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-17 16:42:29 +0100
commit04683f14883f4cd64febadd71b327639f1e7edcc (patch)
treed1195eec7abc45fcf3b28776278f3856638a4a32 /include/sfx2
parent734cf8395d745db73f52fd6d625d7deb77ba6d40 (diff)
Window::Notify should return bool
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/basedlgs.hxx4
-rw-r--r--include/sfx2/dockwin.hxx2
-rw-r--r--include/sfx2/prnmon.hxx2
-rw-r--r--include/sfx2/sidebar/SidebarToolBox.hxx2
4 files changed, 5 insertions, 5 deletions
diff --git a/include/sfx2/basedlgs.hxx b/include/sfx2/basedlgs.hxx
index 56ddacd7c8ae..def7d091e5fd 100644
--- a/include/sfx2/basedlgs.hxx
+++ b/include/sfx2/basedlgs.hxx
@@ -114,7 +114,7 @@ protected:
public:
virtual void FillInfo(SfxChildWinInfo&) const;
void Initialize (SfxChildWinInfo* pInfo);
- virtual long Notify( NotifyEvent& rNEvt );
+ virtual bool Notify( NotifyEvent& rNEvt );
SfxBindings& GetBindings()
{ return *pBindings; }
@@ -148,7 +148,7 @@ protected:
virtual sal_Bool Close();
virtual void Resize();
virtual void Move();
- virtual long Notify( NotifyEvent& rNEvt );
+ virtual bool Notify( NotifyEvent& rNEvt );
SfxBindings& GetBindings()
{ return *pBindings; }
diff --git a/include/sfx2/dockwin.hxx b/include/sfx2/dockwin.hxx
index bc5d3b08f2ad..333bdc455891 100644
--- a/include/sfx2/dockwin.hxx
+++ b/include/sfx2/dockwin.hxx
@@ -98,7 +98,7 @@ public:
void SetMinOutputSizePixel( const Size& rSize );
Size GetMinOutputSizePixel() const;
- virtual long Notify( NotifyEvent& rNEvt );
+ virtual bool Notify( NotifyEvent& rNEvt );
virtual void FadeIn( sal_Bool );
void AutoShow( sal_Bool bShow = sal_True );
DECL_LINK(TimerHdl, void *);
diff --git a/include/sfx2/prnmon.hxx b/include/sfx2/prnmon.hxx
index c160ba66fc4f..1d8575470d49 100644
--- a/include/sfx2/prnmon.hxx
+++ b/include/sfx2/prnmon.hxx
@@ -48,7 +48,7 @@ public:
sal_Bool Construct();
virtual short Execute();
- virtual long Notify( NotifyEvent& rNEvt );
+ virtual bool Notify( NotifyEvent& rNEvt );
SfxTabPage* GetTabPage() const { return pPage; }
const SfxItemSet& GetOptions() const { return *pOptions; }
diff --git a/include/sfx2/sidebar/SidebarToolBox.hxx b/include/sfx2/sidebar/SidebarToolBox.hxx
index 87f015f6e80c..c0e86e07733f 100644
--- a/include/sfx2/sidebar/SidebarToolBox.hxx
+++ b/include/sfx2/sidebar/SidebarToolBox.hxx
@@ -52,7 +52,7 @@ public:
virtual void Paint (const Rectangle& rRect);
- virtual long Notify (NotifyEvent& rEvent);
+ virtual bool Notify (NotifyEvent& rEvent);
cssu::Reference<css::frame::XToolbarController> GetControllerForItemId (
const sal_uInt16 nItemId) const;