Kaydet (Commit) 1fe85984 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: loplugin:cstylecast

Change-Id: Id59ba5f0fcb27e5a3fec322ba0a016c5fc4bacc1
üst 222a9ef6
......@@ -938,7 +938,7 @@ sal_uInt16 ToolBox::GetItemId( const Point& rPos ) const
Size ToolBox::GetItemContentSize( sal_uInt16 nItemId ) const
{
if ( mbCalc || mbFormat )
((ToolBox*)this)->ImplFormat();
(const_cast<ToolBox*>(this))->ImplFormat();
sal_uInt16 nPos = GetItemPos( nItemId );
if ( nPos < mpData->m_aItems.size() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment