diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/attrdlg/tabpages.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/dbgui/tpsort.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/tabpages.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/tpcalc.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/tpcompatibility.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/tpdefaults.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/tpformula.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/tphf.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/tpprint.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/tpsort.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/tptable.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/tpusrlst.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/tpview.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/optdlg/tpcalc.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/optdlg/tpcompatibility.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/optdlg/tpdefaults.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/optdlg/tpformula.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/optdlg/tpprint.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/optdlg/tpusrlst.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/optdlg/tpview.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/pagedlg/tphf.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/pagedlg/tptable.cxx | 2 |
22 files changed, 27 insertions, 27 deletions
diff --git a/sc/source/ui/attrdlg/tabpages.cxx b/sc/source/ui/attrdlg/tabpages.cxx index ea485cbd6f14..2202754e7192 100644 --- a/sc/source/ui/attrdlg/tabpages.cxx +++ b/sc/source/ui/attrdlg/tabpages.cxx @@ -137,7 +137,7 @@ bool ScTabPageProtection::FillItemSet( SfxItemSet* rCoreAttrs ) return bAttrsChanged; } -int ScTabPageProtection::DeactivatePage( SfxItemSet* pSetP ) +SfxTabPage::sfxpg ScTabPageProtection::DeactivatePage( SfxItemSet* pSetP ) { if ( pSetP ) FillItemSet( pSetP ); diff --git a/sc/source/ui/dbgui/tpsort.cxx b/sc/source/ui/dbgui/tpsort.cxx index 9dbc06600955..c1a0770a51fd 100644 --- a/sc/source/ui/dbgui/tpsort.cxx +++ b/sc/source/ui/dbgui/tpsort.cxx @@ -310,7 +310,7 @@ void ScTabPageSortFields::ActivatePage( const SfxItemSet& rSet ) } } -int ScTabPageSortFields::DeactivatePage( SfxItemSet* pSetP ) +SfxTabPage::sfxpg ScTabPageSortFields::DeactivatePage( SfxItemSet* pSetP ) { if ( pDlg ) { @@ -752,7 +752,7 @@ void ScTabPageSortOptions::ActivatePage( const SfxItemSet& rSet ) } } -int ScTabPageSortOptions::DeactivatePage( SfxItemSet* pSetP ) +SfxTabPage::sfxpg ScTabPageSortOptions::DeactivatePage( SfxItemSet* pSetP ) { bool bPosInputOk = true; diff --git a/sc/source/ui/inc/tabpages.hxx b/sc/source/ui/inc/tabpages.hxx index 954232033c97..69f12bd23592 100644 --- a/sc/source/ui/inc/tabpages.hxx +++ b/sc/source/ui/inc/tabpages.hxx @@ -36,7 +36,7 @@ public: protected: using SfxTabPage::DeactivatePage; - virtual int DeactivatePage ( SfxItemSet* pSet = NULL ) SAL_OVERRIDE; + virtual sfxpg DeactivatePage ( SfxItemSet* pSet = NULL ) SAL_OVERRIDE; private: ScTabPageProtection( vcl::Window* pParent, diff --git a/sc/source/ui/inc/tpcalc.hxx b/sc/source/ui/inc/tpcalc.hxx index 629eb735c7be..034e49f22e1c 100644 --- a/sc/source/ui/inc/tpcalc.hxx +++ b/sc/source/ui/inc/tpcalc.hxx @@ -37,7 +37,7 @@ public: virtual bool FillItemSet ( SfxItemSet* rCoreSet ) SAL_OVERRIDE; virtual void Reset ( const SfxItemSet* rCoreSet ) SAL_OVERRIDE; using SfxTabPage::DeactivatePage; - virtual int DeactivatePage ( SfxItemSet* pSet = NULL ) SAL_OVERRIDE; + virtual sfxpg DeactivatePage ( SfxItemSet* pSet = NULL ) SAL_OVERRIDE; private: ScTpCalcOptions( vcl::Window* pParent, diff --git a/sc/source/ui/inc/tpcompatibility.hxx b/sc/source/ui/inc/tpcompatibility.hxx index 6ddeeeca0b1f..5ab6e547ee26 100644 --- a/sc/source/ui/inc/tpcompatibility.hxx +++ b/sc/source/ui/inc/tpcompatibility.hxx @@ -23,7 +23,7 @@ public: virtual bool FillItemSet(SfxItemSet* rCoreAttrs) SAL_OVERRIDE; virtual void Reset(const SfxItemSet* rCoreAttrs) SAL_OVERRIDE; - virtual int DeactivatePage(SfxItemSet* pSet = NULL) SAL_OVERRIDE; + virtual sfxpg DeactivatePage(SfxItemSet* pSet = NULL) SAL_OVERRIDE; private: explicit ScTpCompatOptions(vcl::Window* pParent, const SfxItemSet& rCoreAttrs); diff --git a/sc/source/ui/inc/tpdefaults.hxx b/sc/source/ui/inc/tpdefaults.hxx index 251c3676a391..6580efd1e582 100644 --- a/sc/source/ui/inc/tpdefaults.hxx +++ b/sc/source/ui/inc/tpdefaults.hxx @@ -23,7 +23,7 @@ public: virtual bool FillItemSet(SfxItemSet* rCoreSet) SAL_OVERRIDE; virtual void Reset(const SfxItemSet* rCoreSet) SAL_OVERRIDE; - virtual int DeactivatePage(SfxItemSet* pSet = NULL) SAL_OVERRIDE; + virtual sfxpg DeactivatePage(SfxItemSet* pSet = NULL) SAL_OVERRIDE; private: explicit ScTpDefaultsOptions(vcl::Window* pParent, const SfxItemSet& rCoreSet); diff --git a/sc/source/ui/inc/tpformula.hxx b/sc/source/ui/inc/tpformula.hxx index adf1c64a8eac..cf901f130d4e 100644 --- a/sc/source/ui/inc/tpformula.hxx +++ b/sc/source/ui/inc/tpformula.hxx @@ -37,7 +37,7 @@ public: virtual bool FillItemSet(SfxItemSet* rCoreSet) SAL_OVERRIDE; virtual void Reset( const SfxItemSet* rCoreSet ) SAL_OVERRIDE; - virtual int DeactivatePage(SfxItemSet* pSet = NULL) SAL_OVERRIDE; + virtual sfxpg DeactivatePage(SfxItemSet* pSet = NULL) SAL_OVERRIDE; private: explicit ScTpFormulaOptions(vcl::Window* pParent, const SfxItemSet& rCoreSet); diff --git a/sc/source/ui/inc/tphf.hxx b/sc/source/ui/inc/tphf.hxx index 526aad0f19be..c16d69b535de 100644 --- a/sc/source/ui/inc/tphf.hxx +++ b/sc/source/ui/inc/tphf.hxx @@ -43,7 +43,7 @@ protected: virtual void ActivatePage() SAL_OVERRIDE; virtual void DeactivatePage() SAL_OVERRIDE; virtual void ActivatePage( const SfxItemSet& rSet ) SAL_OVERRIDE; - virtual int DeactivatePage( SfxItemSet* pSet = 0 ) SAL_OVERRIDE; + virtual sfxpg DeactivatePage( SfxItemSet* pSet = 0 ) SAL_OVERRIDE; private: PushButton* m_pBtnEdit; diff --git a/sc/source/ui/inc/tpprint.hxx b/sc/source/ui/inc/tpprint.hxx index cc987a98adfc..f40137682c75 100644 --- a/sc/source/ui/inc/tpprint.hxx +++ b/sc/source/ui/inc/tpprint.hxx @@ -37,7 +37,7 @@ public: virtual bool FillItemSet( SfxItemSet* rCoreSet ) SAL_OVERRIDE; virtual void Reset( const SfxItemSet* rCoreSet ) SAL_OVERRIDE; using SfxTabPage::DeactivatePage; - virtual int DeactivatePage( SfxItemSet* pSet = NULL ) SAL_OVERRIDE; + virtual sfxpg DeactivatePage( SfxItemSet* pSet = NULL ) SAL_OVERRIDE; }; #endif diff --git a/sc/source/ui/inc/tpsort.hxx b/sc/source/ui/inc/tpsort.hxx index 8eaf1ec057da..d4ad19165103 100644 --- a/sc/source/ui/inc/tpsort.hxx +++ b/sc/source/ui/inc/tpsort.hxx @@ -64,7 +64,7 @@ protected: virtual void ActivatePage ( const SfxItemSet& rSet ) SAL_OVERRIDE; using SfxTabPage::ActivatePage; using SfxTabPage::DeactivatePage; - virtual int DeactivatePage ( SfxItemSet* pSet = 0) SAL_OVERRIDE; + virtual sfxpg DeactivatePage ( SfxItemSet* pSet = 0) SAL_OVERRIDE; private: OUString aStrUndefined; @@ -121,7 +121,7 @@ protected: virtual void ActivatePage ( const SfxItemSet& rSet ) SAL_OVERRIDE; using SfxTabPage::ActivatePage; using SfxTabPage::DeactivatePage; - virtual int DeactivatePage ( SfxItemSet* pSet = 0) SAL_OVERRIDE; + virtual sfxpg DeactivatePage ( SfxItemSet* pSet = 0) SAL_OVERRIDE; private: diff --git a/sc/source/ui/inc/tptable.hxx b/sc/source/ui/inc/tptable.hxx index 8c9aada2c7db..a1021b3b5911 100644 --- a/sc/source/ui/inc/tptable.hxx +++ b/sc/source/ui/inc/tptable.hxx @@ -35,7 +35,7 @@ public: virtual bool FillItemSet ( SfxItemSet* rCoreSet ) SAL_OVERRIDE; virtual void Reset ( const SfxItemSet* rCoreSet ) SAL_OVERRIDE; using SfxTabPage::DeactivatePage; - virtual int DeactivatePage ( SfxItemSet* pSet = NULL ) SAL_OVERRIDE; + virtual sfxpg DeactivatePage ( SfxItemSet* pSet = NULL ) SAL_OVERRIDE; virtual void DataChanged ( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; private: diff --git a/sc/source/ui/inc/tpusrlst.hxx b/sc/source/ui/inc/tpusrlst.hxx index 5e84d88a0beb..c3286a23ad4d 100644 --- a/sc/source/ui/inc/tpusrlst.hxx +++ b/sc/source/ui/inc/tpusrlst.hxx @@ -38,7 +38,7 @@ public: virtual bool FillItemSet ( SfxItemSet* rCoreAttrs ) SAL_OVERRIDE; virtual void Reset ( const SfxItemSet* rCoreAttrs ) SAL_OVERRIDE; using SfxTabPage::DeactivatePage; - virtual int DeactivatePage ( SfxItemSet* pSet = NULL ) SAL_OVERRIDE; + virtual sfxpg DeactivatePage ( SfxItemSet* pSet = NULL ) SAL_OVERRIDE; private: ScTpUserLists( vcl::Window* pParent, diff --git a/sc/source/ui/inc/tpview.hxx b/sc/source/ui/inc/tpview.hxx index e426d9c742a9..28778a16f783 100644 --- a/sc/source/ui/inc/tpview.hxx +++ b/sc/source/ui/inc/tpview.hxx @@ -76,7 +76,7 @@ public: using SfxTabPage::ActivatePage; using SfxTabPage::DeactivatePage; virtual void ActivatePage( const SfxItemSet& ) SAL_OVERRIDE; - virtual int DeactivatePage( SfxItemSet* pSet = 0 ) SAL_OVERRIDE; + virtual sfxpg DeactivatePage( SfxItemSet* pSet = 0 ) SAL_OVERRIDE; }; @@ -124,7 +124,7 @@ public: using SfxTabPage::ActivatePage; using SfxTabPage::DeactivatePage; virtual void ActivatePage( const SfxItemSet& ) SAL_OVERRIDE; - virtual int DeactivatePage( SfxItemSet* pSet = 0 ) SAL_OVERRIDE; + virtual sfxpg DeactivatePage( SfxItemSet* pSet = 0 ) SAL_OVERRIDE; void SetDocument(ScDocument* pPtr){pDoc = pPtr;} diff --git a/sc/source/ui/optdlg/tpcalc.cxx b/sc/source/ui/optdlg/tpcalc.cxx index 110953960262..2bbb450b7482 100644 --- a/sc/source/ui/optdlg/tpcalc.cxx +++ b/sc/source/ui/optdlg/tpcalc.cxx @@ -157,9 +157,9 @@ bool ScTpCalcOptions::FillItemSet( SfxItemSet* rCoreAttrs ) return false; } -int ScTpCalcOptions::DeactivatePage( SfxItemSet* pSetP ) +SfxTabPage::sfxpg ScTpCalcOptions::DeactivatePage( SfxItemSet* pSetP ) { - int nReturn = KEEP_PAGE; + sfxpg nReturn = KEEP_PAGE; double fEps; if( m_pEdEps->GetValue( fEps ) && (fEps > 0.0) ) diff --git a/sc/source/ui/optdlg/tpcompatibility.cxx b/sc/source/ui/optdlg/tpcompatibility.cxx index 10dc87bc0a89..cceae3f5a8e0 100644 --- a/sc/source/ui/optdlg/tpcompatibility.cxx +++ b/sc/source/ui/optdlg/tpcompatibility.cxx @@ -68,7 +68,7 @@ void ScTpCompatOptions::Reset(const SfxItemSet *rCoreAttrs) m_pLbKeyBindings->SaveValue(); } -int ScTpCompatOptions::DeactivatePage(SfxItemSet* /*pSet*/) +SfxTabPage::sfxpg ScTpCompatOptions::DeactivatePage(SfxItemSet* /*pSet*/) { return KEEP_PAGE; } diff --git a/sc/source/ui/optdlg/tpdefaults.cxx b/sc/source/ui/optdlg/tpdefaults.cxx index fc8cd2bcd8f7..d9123a424ccf 100644 --- a/sc/source/ui/optdlg/tpdefaults.cxx +++ b/sc/source/ui/optdlg/tpdefaults.cxx @@ -71,7 +71,7 @@ void ScTpDefaultsOptions::Reset(const SfxItemSet* rCoreSet) m_pEdSheetPrefix->SaveValue(); } -int ScTpDefaultsOptions::DeactivatePage(SfxItemSet* /*pSet*/) +SfxTabPage::sfxpg ScTpDefaultsOptions::DeactivatePage(SfxItemSet* /*pSet*/) { return KEEP_PAGE; } diff --git a/sc/source/ui/optdlg/tpformula.cxx b/sc/source/ui/optdlg/tpformula.cxx index a1c40ce1107f..63a807db14cc 100644 --- a/sc/source/ui/optdlg/tpformula.cxx +++ b/sc/source/ui/optdlg/tpformula.cxx @@ -354,7 +354,7 @@ void ScTpFormulaOptions::Reset(const SfxItemSet* rCoreSet) maCurrentConfig = maSavedConfig; } -int ScTpFormulaOptions::DeactivatePage(SfxItemSet* /*pSet*/) +SfxTabPage::sfxpg ScTpFormulaOptions::DeactivatePage(SfxItemSet* /*pSet*/) { // What's this method for ? return KEEP_PAGE; diff --git a/sc/source/ui/optdlg/tpprint.cxx b/sc/source/ui/optdlg/tpprint.cxx index ae2d9def5809..c3f640cdfeb8 100644 --- a/sc/source/ui/optdlg/tpprint.cxx +++ b/sc/source/ui/optdlg/tpprint.cxx @@ -48,7 +48,7 @@ SfxTabPage* ScTpPrintOptions::Create( vcl::Window* pParent, const SfxItemSet* rA return new ScTpPrintOptions( pParent, *rAttrSet ); } -int ScTpPrintOptions::DeactivatePage( SfxItemSet* pSetP ) +SfxTabPage::sfxpg ScTpPrintOptions::DeactivatePage( SfxItemSet* pSetP ) { if ( pSetP ) FillItemSet( pSetP ); diff --git a/sc/source/ui/optdlg/tpusrlst.cxx b/sc/source/ui/optdlg/tpusrlst.cxx index dcc38d38f9d4..cc97343c182b 100644 --- a/sc/source/ui/optdlg/tpusrlst.cxx +++ b/sc/source/ui/optdlg/tpusrlst.cxx @@ -229,7 +229,7 @@ bool ScTpUserLists::FillItemSet( SfxItemSet* rCoreAttrs ) return bDataModified; } -int ScTpUserLists::DeactivatePage( SfxItemSet* pSetP ) +SfxTabPage::sfxpg ScTpUserLists::DeactivatePage( SfxItemSet* pSetP ) { if ( pSetP ) FillItemSet( pSetP ); diff --git a/sc/source/ui/optdlg/tpview.cxx b/sc/source/ui/optdlg/tpview.cxx index 2308812e170b..a8a1532d2e17 100644 --- a/sc/source/ui/optdlg/tpview.cxx +++ b/sc/source/ui/optdlg/tpview.cxx @@ -210,7 +210,7 @@ void ScTpContentOptions::ActivatePage( const SfxItemSet& rSet) *pLocalOptions = static_cast<const ScTpViewItem*>(pItem)->GetViewOptions(); } -int ScTpContentOptions::DeactivatePage( SfxItemSet* pSetP ) +SfxTabPage::sfxpg ScTpContentOptions::DeactivatePage( SfxItemSet* pSetP ) { if(pSetP) FillItemSet(pSetP); @@ -627,7 +627,7 @@ void ScTpLayoutOptions::ActivatePage( const SfxItemSet& /* rCoreSet */ ) { } -int ScTpLayoutOptions::DeactivatePage( SfxItemSet* pSetP ) +SfxTabPage::sfxpg ScTpLayoutOptions::DeactivatePage( SfxItemSet* pSetP ) { if(pSetP) FillItemSet(pSetP); diff --git a/sc/source/ui/pagedlg/tphf.cxx b/sc/source/ui/pagedlg/tphf.cxx index 994067e639be..c09f0cd2be99 100644 --- a/sc/source/ui/pagedlg/tphf.cxx +++ b/sc/source/ui/pagedlg/tphf.cxx @@ -120,7 +120,7 @@ void ScHFPage::ActivatePage( const SfxItemSet& rSet ) SvxHFPage::ActivatePage( rSet ); } -int ScHFPage::DeactivatePage( SfxItemSet* pSetP ) +SfxTabPage::sfxpg ScHFPage::DeactivatePage( SfxItemSet* pSetP ) { if ( LEAVE_PAGE == SvxHFPage::DeactivatePage( pSetP ) ) if ( pSetP ) diff --git a/sc/source/ui/pagedlg/tptable.cxx b/sc/source/ui/pagedlg/tptable.cxx index ed56d2ed9e6b..6de677e6cb52 100644 --- a/sc/source/ui/pagedlg/tptable.cxx +++ b/sc/source/ui/pagedlg/tptable.cxx @@ -315,7 +315,7 @@ bool ScTablePage::FillItemSet( SfxItemSet* rCoreSet ) return bDataChanged; } -int ScTablePage::DeactivatePage( SfxItemSet* pSetP ) +SfxTabPage::sfxpg ScTablePage::DeactivatePage( SfxItemSet* pSetP ) { if ( pSetP ) FillItemSet( pSetP ); |