summaryrefslogtreecommitdiff
path: root/include/svtools
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/svtools
parent849482c0ea88c4aa70ec56adfefe7e59b6060950 (diff)
Window::PreNotify should return bool
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/addresstemplate.hxx2
-rw-r--r--include/svtools/editbrowsebox.hxx10
-rw-r--r--include/svtools/editsyntaxhighlighter.hxx2
-rw-r--r--include/svtools/fileurlbox.hxx2
-rw-r--r--include/svtools/fmtfield.hxx2
-rw-r--r--include/svtools/inettbc.hxx2
-rw-r--r--include/svtools/roadmap.hxx2
-rw-r--r--include/svtools/simptabl.hxx2
-rw-r--r--include/svtools/urlcontrol.hxx2
9 files changed, 13 insertions, 13 deletions
diff --git a/include/svtools/addresstemplate.hxx b/include/svtools/addresstemplate.hxx
index 254318777a3d..7985bd6817fe 100644
--- a/include/svtools/addresstemplate.hxx
+++ b/include/svtools/addresstemplate.hxx
@@ -108,7 +108,7 @@ namespace svt
void implConstruct();
// Window overridables
- virtual long PreNotify( NotifyEvent& _rNEvt );
+ virtual bool PreNotify( NotifyEvent& _rNEvt );
// implementations
void implScrollFields(sal_Int32 _nPos, sal_Bool _bAdjustFocus, sal_Bool _bAdjustScrollbar);
diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx
index e28513efdc29..6d36aeaa8267 100644
--- a/include/svtools/editbrowsebox.hxx
+++ b/include/svtools/editbrowsebox.hxx
@@ -203,7 +203,7 @@ namespace svt
protected:
// Window overridables
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
// MultiLineEdit overridables
virtual void Modify();
@@ -288,7 +288,7 @@ namespace svt
~CheckBoxControl();
virtual void GetFocus();
- virtual long PreNotify(NotifyEvent& rEvt);
+ virtual bool PreNotify(NotifyEvent& rEvt);
virtual void Paint(const Rectangle& rClientRect);
virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags );
virtual void StateChanged( StateChangedType nStateChange );
@@ -337,7 +337,7 @@ namespace svt
ComboBoxControl(Window* pParent, WinBits nWinStyle = 0);
protected:
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
};
//==================================================================
@@ -370,7 +370,7 @@ namespace svt
ListBoxControl(Window* pParent, WinBits nWinStyle = 0);
protected:
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
};
//==================================================================
@@ -528,7 +528,7 @@ namespace svt
using BrowseBox::MouseButtonUp;
using BrowseBox::MouseButtonDown;
- virtual long PreNotify(NotifyEvent& rNEvt );
+ virtual bool PreNotify(NotifyEvent& rNEvt );
virtual bool Notify(NotifyEvent& rNEvt);
virtual void EndScroll();
diff --git a/include/svtools/editsyntaxhighlighter.hxx b/include/svtools/editsyntaxhighlighter.hxx
index 6f1444c93a74..2276e0132644 100644
--- a/include/svtools/editsyntaxhighlighter.hxx
+++ b/include/svtools/editsyntaxhighlighter.hxx
@@ -36,7 +36,7 @@ class SVT_DLLPUBLIC MultiLineEditSyntaxHighlight : public MultiLineEdit
virtual void DoBracketHilight(sal_uInt16 aKey);
protected:
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
public:
MultiLineEditSyntaxHighlight( Window* pParent, WinBits nWinStyle = WB_LEFT | WB_BORDER , HighlighterLanguage aLanguage = HIGHLIGHT_SQL);
diff --git a/include/svtools/fileurlbox.hxx b/include/svtools/fileurlbox.hxx
index 7ff42f542b46..2d113cfb0450 100644
--- a/include/svtools/fileurlbox.hxx
+++ b/include/svtools/fileurlbox.hxx
@@ -40,7 +40,7 @@ namespace svt
FileURLBox( Window* _pParent, WinBits _nStyle );
protected:
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
public:
diff --git a/include/svtools/fmtfield.hxx b/include/svtools/fmtfield.hxx
index fbc882edd335..e70f147677cc 100644
--- a/include/svtools/fmtfield.hxx
+++ b/include/svtools/fmtfield.hxx
@@ -255,7 +255,7 @@ protected:
virtual SvNumberFormatter* CreateFormatter() { SetFormatter(StandardFormatter()); return m_pFormatter; }
SvNumberFormatter* ImplGetFormatter() const { return m_pFormatter ? m_pFormatter : ((FormattedField*)this)->CreateFormatter(); }
- long PreNotify(NotifyEvent& rNEvt);
+ bool PreNotify(NotifyEvent& rNEvt);
virtual void ReFormat();
};
diff --git a/include/svtools/inettbc.hxx b/include/svtools/inettbc.hxx
index dfa15ca969ac..d0d3a00ff561 100644
--- a/include/svtools/inettbc.hxx
+++ b/include/svtools/inettbc.hxx
@@ -55,7 +55,7 @@ protected:
virtual bool Notify( NotifyEvent& rNEvt );
virtual void Select();
virtual void Modify();
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
public:
SvtURLBox( Window* pParent, INetProtocol eSmart = INET_PROT_NOT_VALID, bool bSetDefaultHelpID = true );
diff --git a/include/svtools/roadmap.hxx b/include/svtools/roadmap.hxx
index d1c51c004c5d..1febec3cbb4a 100644
--- a/include/svtools/roadmap.hxx
+++ b/include/svtools/roadmap.hxx
@@ -89,7 +89,7 @@ namespace svt
protected:
- long PreNotify( NotifyEvent& rNEvt );
+ bool PreNotify( NotifyEvent& rNEvt );
protected:
/// called when an item has been selected by any means
diff --git a/include/svtools/simptabl.hxx b/include/svtools/simptabl.hxx
index b105fbebdd1d..7c5368a51d5d 100644
--- a/include/svtools/simptabl.hxx
+++ b/include/svtools/simptabl.hxx
@@ -31,7 +31,7 @@ private:
SvSimpleTable* m_pTable;
protected:
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
public:
SvSimpleTableContainer( Window* pParent, const ResId& rResId );
diff --git a/include/svtools/urlcontrol.hxx b/include/svtools/urlcontrol.hxx
index 155094ebfecb..ed136c6ed130 100644
--- a/include/svtools/urlcontrol.hxx
+++ b/include/svtools/urlcontrol.hxx
@@ -40,7 +40,7 @@ namespace svt
OFileURLControl(Window* _pParent, const ResId& _rId);
protected:
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
};