svx/source/tbxctrls/tbcontrl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit e7404d27face0a3566fec3ddf3f63340d6ba332b Author: Stephan Bergmann <sberg...@redhat.com> Date: Sun Mar 20 13:29:06 2016 +0100 loplugin:redundantcast Change-Id: Ic661caef5015ab0eafa812dab9f27c774b7326b5 diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 7549769..96e79d5 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 ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits