diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-11 12:51:13 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-11 12:51:13 +0200 |
commit | 80c2dfa225a3e082b0a7fdab95cfed3eef17d0c1 (patch) | |
tree | 4f09be4300e0c2a580516b62e8038244770e58d7 /sw/source/ui | |
parent | 9672e6c81e1ded79ff964d0a0d667e4e172c4475 (diff) |
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: I0e42e757a6f7b0c28758193aad8b3cb01607b8b1
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 ); } |