summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-17 16:40:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-17 16:42:29 +0100
commit04683f14883f4cd64febadd71b327639f1e7edcc (patch)
treed1195eec7abc45fcf3b28776278f3856638a4a32 /filter
parent734cf8395d745db73f52fd6d625d7deb77ba6d40 (diff)
Window::Notify should return bool
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
Diffstat (limited to 'filter')
-rw-r--r--filter/source/xsltdialog/xmlfiltersettingsdialog.cxx10
-rw-r--r--filter/source/xsltdialog/xmlfiltersettingsdialog.hxx4
2 files changed, 7 insertions, 7 deletions
diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
index c060691d5bee..0e13d7b2d859 100644
--- a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
@@ -1002,10 +1002,10 @@ void XMLFilterSettingsDialog::onClose()
Close();
}
-long XMLFilterSettingsDialog::Notify( NotifyEvent& rNEvt )
+bool XMLFilterSettingsDialog::Notify( NotifyEvent& rNEvt )
{
// Because of of tab control first call the base class.
- long nRet = ModelessDialog::Notify( rNEvt );
+ bool nRet = ModelessDialog::Notify( rNEvt );
if ( !nRet )
{
if ( rNEvt.GetType() == EVENT_KEYINPUT )
@@ -1018,7 +1018,7 @@ long XMLFilterSettingsDialog::Notify( NotifyEvent& rNEvt )
if( nKeyCode == KEY_ESCAPE || (bMod1 && (nKeyCode == KEY_W)))
{
Close();
- return sal_True;
+ return true;
}
}
}
@@ -1385,9 +1385,9 @@ extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSvxPathControl(Window *pPar
return new SvxPathControl(pParent);
}
-long SvxPathControl::Notify(NotifyEvent& rNEvt)
+bool SvxPathControl::Notify(NotifyEvent& rNEvt)
{
- long nRet = VclVBox::Notify(rNEvt);
+ bool nRet = VclVBox::Notify(rNEvt);
if ( m_pFocusCtrl && rNEvt.GetWindow() != m_pFocusCtrl && rNEvt.GetType() == EVENT_GETFOCUS )
m_pFocusCtrl->GrabFocus();
diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx
index 60b99835a25a..ef17342c7a9f 100644
--- a/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx
+++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx
@@ -51,7 +51,7 @@ public:
XMLFilterListBox* getListBox() { return m_pFocusCtrl; }
~SvxPathControl();
- virtual long Notify( NotifyEvent& rNEvt );
+ virtual bool Notify( NotifyEvent& rNEvt );
};
// --------------------------------------------------------------------
@@ -104,7 +104,7 @@ public:
void updateStates();
- virtual long Notify( NotifyEvent& rNEvt );
+ virtual bool Notify( NotifyEvent& rNEvt );
bool isClosable();