summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/itemwin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/tbxctrls/itemwin.cxx')
-rw-r--r--svx/source/tbxctrls/itemwin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/itemwin.cxx b/svx/source/tbxctrls/itemwin.cxx
index f6541949abb8..e5a7fb50571c 100644
--- a/svx/source/tbxctrls/itemwin.cxx
+++ b/svx/source/tbxctrls/itemwin.cxx
@@ -119,7 +119,7 @@ void SvxLineBox::Select()
{
// LineDashItem will only be sent if it also has a dash.
// Notify cares!
- SvxDashListItem aItem( *(const SvxDashListItem*)(
+ SvxDashListItem aItem( *static_cast<const SvxDashListItem*>(
SfxObjectShell::Current()->GetItem( SID_DASH_LIST ) ) );
XLineDashItem aLineDashItem( GetSelectEntry(),
aItem.GetDashList()->GetDash( nPos - 2 )->GetDash() );
@@ -248,7 +248,7 @@ void SvxLineBox::FillControl()
if( mpSh )
{
- const SvxDashListItem* pItem = (const SvxDashListItem*)( mpSh->GetItem( SID_DASH_LIST ) );
+ const SvxDashListItem* pItem = static_cast<const SvxDashListItem*>( mpSh->GetItem( SID_DASH_LIST ) );
if ( pItem )
Fill( pItem->GetDashList() );
}