summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/standardcontrol.cxx
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 /extensions/source/propctrlr/standardcontrol.cxx
parent849482c0ea88c4aa70ec56adfefe7e59b6060950 (diff)
Window::PreNotify should return bool
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
Diffstat (limited to 'extensions/source/propctrlr/standardcontrol.cxx')
-rw-r--r--extensions/source/propctrlr/standardcontrol.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx
index ced964c690e0..fe471ac93573 100644
--- a/extensions/source/propctrlr/standardcontrol.cxx
+++ b/extensions/source/propctrlr/standardcontrol.cxx
@@ -971,7 +971,7 @@ namespace pcr
MultiLineEdit* getEdit() { return &m_aImplEdit; }
protected:
- virtual long PreNotify(NotifyEvent& _rNEvt);
+ virtual bool PreNotify(NotifyEvent& _rNEvt);
};
//------------------------------------------------------------------
@@ -989,9 +989,9 @@ namespace pcr
}
//------------------------------------------------------------------
- long OMultilineFloatingEdit::PreNotify(NotifyEvent& _rNEvt)
+ bool OMultilineFloatingEdit::PreNotify(NotifyEvent& _rNEvt)
{
- long nResult = sal_True;
+ bool nResult = true;
sal_uInt16 nSwitch = _rNEvt.GetType();
if (EVENT_KEYINPUT == nSwitch)
@@ -1095,9 +1095,9 @@ namespace pcr
}
//------------------------------------------------------------------
- long DropDownEditControl::PreNotify( NotifyEvent& rNEvt )
+ bool DropDownEditControl::PreNotify( NotifyEvent& rNEvt )
{
- long nResult = 1;
+ bool nResult = true;
if (rNEvt.GetType() == EVENT_KEYINPUT)
{