summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlform.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/htmlform.cxx')
-rw-r--r--sw/source/filter/html/htmlform.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/htmlform.cxx b/sw/source/filter/html/htmlform.cxx
index f0317e20d821..c6d07014e265 100644
--- a/sw/source/filter/html/htmlform.cxx
+++ b/sw/source/filter/html/htmlform.cxx
@@ -974,7 +974,7 @@ uno::Reference< drawing::XShape > SwHTMLParser::InsertControl(
&pItem ) &&
xPropSetInfo->hasPropertyByName( sPropName ) )
{
- const Color &rColor = ((const SvxBrushItem *)pItem)->GetColor();
+ const Color &rColor = static_cast<const SvxBrushItem *>(pItem)->GetColor();
/// copy color, if color is not "no fill"/"auto fill"
if( rColor.GetColor() != COL_TRANSPARENT )
{
@@ -990,7 +990,7 @@ uno::Reference< drawing::XShape > SwHTMLParser::InsertControl(
&pItem ) &&
xPropSetInfo->hasPropertyByName( sPropName ) )
{
- aTmp <<= (sal_Int32)((const SvxColorItem *)pItem)->GetValue()
+ aTmp <<= (sal_Int32)static_cast<const SvxColorItem *>(pItem)->GetValue()
.GetRGBColor();
rFCompPropSet->setPropertyValue( sPropName, aTmp );
}