summaryrefslogtreecommitdiff
path: root/svx/source/sdr/properties/properties.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/sdr/properties/properties.cxx')
-rw-r--r--svx/source/sdr/properties/properties.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sdr/properties/properties.cxx b/svx/source/sdr/properties/properties.cxx
index e419ea44b50f..506a342cc9ca 100644
--- a/svx/source/sdr/properties/properties.cxx
+++ b/svx/source/sdr/properties/properties.cxx
@@ -162,7 +162,7 @@ namespace sdr
const bool bFillHatch = rItemSet.GetItemState(XATTR_FILLHATCH, false) == SfxItemState::SET;
if( bFillBitmap || bFillGradient || bFillHatch )
{
- const XFillStyleItem* pFillStyleItem = dynamic_cast< const XFillStyleItem* >( rItemSet.GetItem(XATTR_FILLSTYLE) );
+ const XFillStyleItem* pFillStyleItem = rItemSet.GetItem(XATTR_FILLSTYLE);
if( pFillStyleItem )
{
if( bFillBitmap && (pFillStyleItem->GetValue() != drawing::FillStyle_BITMAP) )