summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/text
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 /svx/source/sidebar/text
parent849482c0ea88c4aa70ec56adfefe7e59b6060950 (diff)
Window::PreNotify should return bool
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
Diffstat (limited to 'svx/source/sidebar/text')
-rw-r--r--svx/source/sidebar/text/SvxSBFontNameBox.cxx2
-rw-r--r--svx/source/sidebar/text/SvxSBFontNameBox.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sidebar/text/SvxSBFontNameBox.cxx b/svx/source/sidebar/text/SvxSBFontNameBox.cxx
index 27cd2a4dd0de..c52ce7edb04f 100644
--- a/svx/source/sidebar/text/SvxSBFontNameBox.cxx
+++ b/svx/source/sidebar/text/SvxSBFontNameBox.cxx
@@ -121,7 +121,7 @@ void SvxSBFontNameBox::FillList()
SetSelection( aOldSel );
}
-long SvxSBFontNameBox::PreNotify( NotifyEvent& rNEvt )
+bool SvxSBFontNameBox::PreNotify( NotifyEvent& rNEvt )
{
const sal_uInt16 nType (rNEvt.GetType());
diff --git a/svx/source/sidebar/text/SvxSBFontNameBox.hxx b/svx/source/sidebar/text/SvxSBFontNameBox.hxx
index 12026465ebf8..e8db278b3caf 100644
--- a/svx/source/sidebar/text/SvxSBFontNameBox.hxx
+++ b/svx/source/sidebar/text/SvxSBFontNameBox.hxx
@@ -50,7 +50,7 @@ public:
{ FontNameBox::Fill( pList );
nFtCount = pList->GetFontNameCount(); }
void SetBindings(SfxBindings* pBinding);//
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );//
};