summaryrefslogtreecommitdiff
path: root/vcl/inc
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 /vcl/inc
parent849482c0ea88c4aa70ec56adfefe7e59b6060950 (diff)
Window::PreNotify should return bool
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/ilstbox.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/ilstbox.hxx b/vcl/inc/ilstbox.hxx
index e8d6c2a4f504..7f6a8df30844 100644
--- a/vcl/inc/ilstbox.hxx
+++ b/vcl/inc/ilstbox.hxx
@@ -543,7 +543,7 @@ private:
sal_Bool mbAutoWidth;
protected:
- long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
public:
ImplListBoxFloatingWindow( Window* pParent );
@@ -608,7 +608,7 @@ public:
virtual void Resize();
virtual void GetFocus();
virtual void LoseFocus();
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
sal_uInt16 GetItemPos() const { return mnItemPos; }
void SetItemPos( sal_uInt16 n ) { mnItemPos = n; }