diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-20 13:29:06 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-20 13:29:06 +0100 |
commit | e7404d27face0a3566fec3ddf3f63340d6ba332b (patch) | |
tree | f54925f42325cc4b7a115097309106019cd11862 | |
parent | bcfff3e9fa4609c7f915c14de40eef80181cf815 (diff) |
loplugin:redundantcast
Change-Id: Ic661caef5015ab0eafa812dab9f27c774b7326b5
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 7549769773b0..96e79d5c9e17 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -1919,7 +1919,7 @@ SvxCurrencyList_Impl::SvxCurrencyList_Impl( { m_pCurrencyLb->InsertEntry (*i); OUString *pFormatStr = &m_aFormatEntries[nPos]; - m_pCurrencyLb->SetEntryData( nPos, reinterpret_cast<void*>( pFormatStr ) ); + m_pCurrencyLb->SetEntryData( nPos, static_cast<void*>( pFormatStr ) ); if( *pFormatStr == m_rSelectedFormat ) nSelectedPos = nPos; } @@ -2001,7 +2001,7 @@ IMPL_LINK_NOARG_TYPED(SvxCurrencyList_Impl, SelectHdl, ListBox&, void) if (!m_xControl.is()) return; - OUString* pFormat = reinterpret_cast<OUString*> ( + OUString* pFormat = static_cast<OUString*> ( m_pCurrencyLb->GetEntryData( m_pCurrencyLb->GetSelectEntryPos() ) ); assert( pFormat ); |