diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-06-05 15:15:56 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-06 07:02:20 +0000 |
commit | 11b4a6ddce31f173f10b703eb63fde2c88c0bc70 (patch) | |
tree | 5f635db51172fd421dffbcadfa021530634567cd /cui/source/inc/iconcdlg.hxx | |
parent | 7d1b01070c330d45212cd69ea692b2263c23c2a6 (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 'cui/source/inc/iconcdlg.hxx')
-rw-r--r-- | cui/source/inc/iconcdlg.hxx | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/cui/source/inc/iconcdlg.hxx b/cui/source/inc/iconcdlg.hxx index dafd1ab2ad78..eb58bb2d82c1 100644 --- a/cui/source/inc/iconcdlg.hxx +++ b/cui/source/inc/iconcdlg.hxx @@ -29,6 +29,7 @@ #include <vcl/button.hxx> #include <vcl/image.hxx> #include <vcl/layout.hxx> +#include <sfx2/tabdlg.hxx> #include <vector> // forward-declarations @@ -89,17 +90,8 @@ public: bool HasExchangeSupport() const { return bHasExchangeSupport; } void SetExchangeSupport() { bHasExchangeSupport = true; } - enum { - KEEP_PAGE = 0x0000, ///< error handling - /** 2nd filling of an ItemSet for updating superior examples; - this pointer can always be NULL!! */ - LEAVE_PAGE = 0x0001, - /// refresh set and update other pages - REFRESH_SET = 0x0002 - }; - virtual void ActivatePage( const SfxItemSet& ); - virtual int DeactivatePage( SfxItemSet* pSet ); + virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ); const OUString& GetUserData() { return aUserString; } virtual bool QueryClose(); |