From 602c87b4259d118e5db6d8a990c4695103f916dd Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 18 Jan 2014 00:18:52 +0100 Subject: Window::PreNotify should return bool Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d --- cui/source/inc/SpellDialog.hxx | 2 +- cui/source/inc/autocdlg.hxx | 2 +- cui/source/inc/hangulhanjadlg.hxx | 2 +- cui/source/inc/hltpbase.hxx | 2 +- cui/source/inc/numfmt.hxx | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'cui/source/inc') diff --git a/cui/source/inc/SpellDialog.hxx b/cui/source/inc/SpellDialog.hxx index 3cfe2ff60f2f..5f88f3b526cb 100644 --- a/cui/source/inc/SpellDialog.hxx +++ b/cui/source/inc/SpellDialog.hxx @@ -72,7 +72,7 @@ private: SpellDialog* GetSpellDialog() const {return (SpellDialog*)GetParentDialog();} protected: - virtual long PreNotify( NotifyEvent& rNEvt ); + virtual bool PreNotify( NotifyEvent& rNEvt ); public: SentenceEditWindow_Impl(Window* pParent, WinBits nBits); diff --git a/cui/source/inc/autocdlg.hxx b/cui/source/inc/autocdlg.hxx index faf5af02dc7d..58f7851153cb 100644 --- a/cui/source/inc/autocdlg.hxx +++ b/cui/source/inc/autocdlg.hxx @@ -407,7 +407,7 @@ class OfaAutoCompleteTabPage : public SfxTabPage const ResId& rResId ) : MultiListBox( &rPg, rResId ), rPage( rPg ) {} - virtual long PreNotify( NotifyEvent& rNEvt ); + virtual bool PreNotify( NotifyEvent& rNEvt ); }; CheckBox aCBActiv; ///