summaryrefslogtreecommitdiff
path: root/fpicker/source/office
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/office')
-rw-r--r--fpicker/source/office/iodlg.cxx10
-rw-r--r--fpicker/source/office/iodlg.hxx2
2 files changed, 6 insertions, 6 deletions
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index 0e5b4679d2a9..63aa4a46b5fe 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -1710,7 +1710,7 @@ IMPL_LINK_NOARG(SvtFileDialog, PlayButtonHdl_Impl)
//*****************************************************************************
-long SvtFileDialog::Notify( NotifyEvent& rNEvt )
+bool SvtFileDialog::Notify( NotifyEvent& rNEvt )
/* [Description]
@@ -1719,7 +1719,7 @@ long SvtFileDialog::Notify( NotifyEvent& rNEvt )
{
sal_uInt16 nType = rNEvt.GetType();
- long nRet = 0;
+ long nRet = false;
if ( EVENT_KEYINPUT == nType && rNEvt.GetKeyEvent() )
{
@@ -1729,16 +1729,16 @@ long SvtFileDialog::Notify( NotifyEvent& rNEvt )
if ( !rKeyCode.GetModifier() &&
KEY_BACKSPACE == nCode && !_pImp->_pEdFileName->HasChildPathFocus() )
{
- nRet = 0;
+ nRet = false;
if ( !nRet && _pImp->_pBtnUp->IsEnabled() )
{
PrevLevel_Impl();
- nRet = 1;
+ nRet = true;
}
}
}
- return nRet ? nRet : ModalDialog::Notify( rNEvt );
+ return nRet || ModalDialog::Notify( rNEvt );
}
//*****************************************************************************
diff --git a/fpicker/source/office/iodlg.hxx b/fpicker/source/office/iodlg.hxx
index 0126e17195ff..41ffff391074 100644
--- a/fpicker/source/office/iodlg.hxx
+++ b/fpicker/source/office/iodlg.hxx
@@ -165,7 +165,7 @@ private:
void implUpdateImages( );
protected:
- virtual long Notify( NotifyEvent& rNEvt );
+ virtual bool Notify( NotifyEvent& rNEvt );
void EnableInternet( sal_Bool bInternet );
// originally from VclFileDialog