summaryrefslogtreecommitdiff
path: root/svx/source/dialog
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-06-05 15:15:56 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-06 07:02:20 +0000
commit11b4a6ddce31f173f10b703eb63fde2c88c0bc70 (patch)
tree5f635db51172fd421dffbcadfa021530634567cd /svx/source/dialog
parent7d1b01070c330d45212cd69ea692b2263c23c2a6 (diff)
Convert DeactivePage return code to scoped enum
Change-Id: Idd5372ad20fc6676864b31b3796f8b9bc0ad73dd Reviewed-on: https://gerrit.libreoffice.org/25918 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/dialog')
-rw-r--r--svx/source/dialog/hdft.cxx4
-rw-r--r--svx/source/dialog/optgrid.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/dialog/hdft.cxx b/svx/source/dialog/hdft.cxx
index 1096ea891ce5..e1f367beb5a9 100644
--- a/svx/source/dialog/hdft.cxx
+++ b/svx/source/dialog/hdft.cxx
@@ -1044,11 +1044,11 @@ void SvxHFPage::ActivatePage( const SfxItemSet& rSet )
RangeHdl();
}
-SfxTabPage::sfxpg SvxHFPage::DeactivatePage( SfxItemSet* _pSet )
+DeactivateRC SvxHFPage::DeactivatePage( SfxItemSet* _pSet )
{
if ( _pSet )
FillItemSet( _pSet );
- return LEAVE_PAGE;
+ return DeactivateRC::LeavePage;
}
IMPL_LINK_NOARG_TYPED(SvxHFPage, RangeFocusHdl, Control&, void)
diff --git a/svx/source/dialog/optgrid.cxx b/svx/source/dialog/optgrid.cxx
index 848949e8e9d1..36111159cd17 100644
--- a/svx/source/dialog/optgrid.cxx
+++ b/svx/source/dialog/optgrid.cxx
@@ -302,11 +302,11 @@ void SvxGridTabPage::ActivatePage( const SfxItemSet& rSet )
}
-SfxTabPage::sfxpg SvxGridTabPage::DeactivatePage( SfxItemSet* _pSet )
+DeactivateRC SvxGridTabPage::DeactivatePage( SfxItemSet* _pSet )
{
if ( _pSet )
FillItemSet( _pSet );
- return LEAVE_PAGE;
+ return DeactivateRC::LeavePage;
}
IMPL_LINK_TYPED( SvxGridTabPage, ChangeDrawHdl_Impl, Edit&, rField, void )