summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlsect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/htmlsect.cxx')
-rw-r--r--sw/source/filter/html/htmlsect.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/html/htmlsect.cxx b/sw/source/filter/html/htmlsect.cxx
index 4f9c9ef670b9..89ae5174eaf3 100644
--- a/sw/source/filter/html/htmlsect.cxx
+++ b/sw/source/filter/html/htmlsect.cxx
@@ -441,7 +441,7 @@ void SwHTMLParser::FixHeaderFooterDistance( bool bHeader,
if( pTxtNode )
{
const SvxULSpaceItem& rULSpace =
- ((const SvxULSpaceItem&)pTxtNode
+ static_cast<const SvxULSpaceItem&>(pTxtNode
->SwCntntNode::GetAttr( RES_UL_SPACE ));
// Der untere Absatz-Abstand wird zum Abstand zur
@@ -474,7 +474,7 @@ void SwHTMLParser::FixHeaderFooterDistance( bool bHeader,
if( pTxtNode )
{
const SvxULSpaceItem& rULSpace =
- ((const SvxULSpaceItem&)pTxtNode
+ static_cast<const SvxULSpaceItem&>(pTxtNode
->SwCntntNode::GetAttr( RES_UL_SPACE ));
// Der obere Absatz-Abstand wird zum Abstand zur
@@ -769,7 +769,7 @@ void SwHTMLParser::InsertFlyFrame( const SfxItemSet& rItemSet,
sal_uInt16 nFlags )
{
RndStdIds eAnchorId =
- ((const SwFmtAnchor&)rItemSet.Get( RES_ANCHOR )).GetAnchorId();
+ static_cast<const SwFmtAnchor&>(rItemSet.Get( RES_ANCHOR )).GetAnchorId();
// Den Rahmen anlegen
SwFlyFrmFmt* pFlyFmt = pDoc->MakeFlySection( eAnchorId, pPam->GetPoint(),