summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-18 00:18:52 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-18 00:37:49 +0100
commit602c87b4259d118e5db6d8a990c4695103f916dd (patch)
tree1cbc6cf8309b680476f5116cd5320f8f6a99c32a /include/svx
parent849482c0ea88c4aa70ec56adfefe7e59b6060950 (diff)
Window::PreNotify should return bool
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/gridctrl.hxx2
-rw-r--r--include/svx/itemwin.hxx10
-rw-r--r--include/svx/rubydialog.hxx2
3 files changed, 7 insertions, 7 deletions
diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx
index e3e59f1abd83..673f60442a57 100644
--- a/include/svx/gridctrl.hxx
+++ b/include/svx/gridctrl.hxx
@@ -309,7 +309,7 @@ protected:
virtual void ArrangeControls(sal_uInt16& nX, sal_uInt16 nY);
virtual sal_uInt32 GetTotalCellWidth(long nRow, sal_uInt16 nColId);
virtual void Command(const CommandEvent& rEvt);
- virtual long PreNotify(NotifyEvent& rEvt);
+ virtual bool PreNotify(NotifyEvent& rEvt);
virtual void KeyInput(const KeyEvent& rEvt);
virtual void StateChanged( StateChangedType nType );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
diff --git a/include/svx/itemwin.hxx b/include/svx/itemwin.hxx
index 66a8da951659..584c38296eae 100644
--- a/include/svx/itemwin.hxx
+++ b/include/svx/itemwin.hxx
@@ -55,7 +55,7 @@ public:
protected:
virtual void Select();
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
@@ -87,7 +87,7 @@ public:
protected:
virtual void Select();
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
@@ -112,7 +112,7 @@ protected:
virtual void Down();
virtual void Up(); // just to be sure
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
@@ -139,7 +139,7 @@ public:
sal_Bool IsRelease() { return bRelease;}
protected:
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
private:
@@ -161,7 +161,7 @@ public:
sal_Bool IsRelease() { return bRelease;}
protected:
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
virtual void Select();
diff --git a/include/svx/rubydialog.hxx b/include/svx/rubydialog.hxx
index 0afca8cf2625..149f73aefa52 100644
--- a/include/svx/rubydialog.hxx
+++ b/include/svx/rubydialog.hxx
@@ -70,7 +70,7 @@ class RubyEdit : public Edit
Link aScrollHdl;
Link aJumpHdl;
virtual void GetFocus();
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
public:
RubyEdit(Window* pParent, const ResId& rResId)
: Edit(pParent, rResId)