summaryrefslogtreecommitdiff
path: root/sw/source/ui/table
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-27 16:43:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-28 10:21:02 +0200
commit8a26a4053db946da7c8d8cdbf2444faf3c459291 (patch)
treed1ace4e2666c741caad62ef79d05bcd1d60db8a0 /sw/source/ui/table
parente19cd844be171097dddf6319a037b7503ad2c922 (diff)
SfxTabPage::DeactivatePage wants to return SfxTabPage::sfxpg
Change-Id: Iba538bb51635e6cae1e033d14e8da3dabfb36634
Diffstat (limited to 'sw/source/ui/table')
-rw-r--r--sw/source/ui/table/tabledlg.cxx8
1 files changed, 4 insertions, 4 deletions
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)