From 8a26a4053db946da7c8d8cdbf2444faf3c459291 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 27 Apr 2015 16:43:07 +0200 Subject: SfxTabPage::DeactivatePage wants to return SfxTabPage::sfxpg Change-Id: Iba538bb51635e6cae1e033d14e8da3dabfb36634 --- sw/source/ui/table/tabledlg.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sw/source/ui/table') diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx index d902fd211895..5e9d71114e67 100644 --- a/sw/source/ui/table/tabledlg.cxx +++ b/sw/source/ui/table/tabledlg.cxx @@ -594,7 +594,7 @@ void SwFormatTablePage::ActivatePage( const SfxItemSet& rSet ) } -int SwFormatTablePage::DeactivatePage( SfxItemSet* _pSet ) +SfxTabPage::sfxpg SwFormatTablePage::DeactivatePage( SfxItemSet* _pSet ) { //os: VCL doesn't take care of making the active widget //in the dialog lose the focus @@ -705,7 +705,7 @@ int SwFormatTablePage::DeactivatePage( SfxItemSet* _pSet ) _pSet->Put(SwPtrItem(FN_TABLE_REP, pTblData)); } } - return sal_True; + return LEAVE_PAGE; } //Description: Page column configuration @@ -1105,7 +1105,7 @@ void SwTableColumnPage::ActivatePage( const SfxItemSet& ) } -int SwTableColumnPage::DeactivatePage( SfxItemSet* _pSet ) +SfxTabPage::sfxpg SwTableColumnPage::DeactivatePage( SfxItemSet* _pSet ) { if(_pSet) { @@ -1164,7 +1164,7 @@ int SwTableColumnPage::DeactivatePage( SfxItemSet* _pSet ) } _pSet->Put(SwPtrItem( FN_TABLE_REP, pTblData )); } - return sal_True; + return LEAVE_PAGE; } SwTwips SwTableColumnPage::GetVisibleWidth(sal_uInt16 nPos) -- cgit