diff options
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/config/optcomp.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/table/tabledlg.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/config/optcomp.cxx b/sw/source/ui/config/optcomp.cxx index f60ab8839d86..d479d583b2fa 100644 --- a/sw/source/ui/config/optcomp.cxx +++ b/sw/source/ui/config/optcomp.cxx @@ -311,7 +311,7 @@ void SwCompatibilityOptPage::InitControls( const SfxItemSet& rSet ) IMPL_LINK_NOARG(SwCompatibilityOptPage, SelectHdl) { const sal_Int32 nPos = m_pFormattingLB->GetSelectEntryPos(); - sal_uLong nOptions = reinterpret_cast<sal_uLong>((void*)m_pFormattingLB->GetEntryData( nPos )); + sal_uLong nOptions = reinterpret_cast<sal_uLong>(m_pFormattingLB->GetEntryData( nPos )); SetCurrentOptions( nOptions ); return 0; diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx index f96ccb5cca0e..30f5dd4e76e9 100644 --- a/sw/source/ui/table/tabledlg.cxx +++ b/sw/source/ui/table/tabledlg.cxx @@ -1458,7 +1458,7 @@ bool SwTextFlowPage::FillItemSet( SfxItemSet* rSet ) aBreak.SetValue( SVX_BREAK_NONE ); } - if ( !pBreak || !( *(const SvxFmtBreakItem*)pBreak == aBreak ) ) + if ( !pBreak || !( *pBreak == aBreak ) ) { bModified |= 0 != rSet->Put( aBreak ); } |