From 80c2dfa225a3e082b0a7fdab95cfed3eef17d0c1 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 11 May 2015 12:51:13 +0200 Subject: loplugin:cstylecast: nop between pointer types of exactly same spelling Change-Id: I0e42e757a6f7b0c28758193aad8b3cb01607b8b1 --- sw/source/ui/config/optcomp.cxx | 2 +- sw/source/ui/table/tabledlg.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/source/ui') 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((void*)m_pFormattingLB->GetEntryData( nPos )); + sal_uLong nOptions = reinterpret_cast(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 ); } -- cgit