diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 16:43:07 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-28 10:21:02 +0200 |
commit | 8a26a4053db946da7c8d8cdbf2444faf3c459291 (patch) | |
tree | d1ace4e2666c741caad62ef79d05bcd1d60db8a0 /sc/source/ui/optdlg | |
parent | e19cd844be171097dddf6319a037b7503ad2c922 (diff) |
SfxTabPage::DeactivatePage wants to return SfxTabPage::sfxpg
Change-Id: Iba538bb51635e6cae1e033d14e8da3dabfb36634
Diffstat (limited to 'sc/source/ui/optdlg')
-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 |
7 files changed, 9 insertions, 9 deletions
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); |