diff options
Diffstat (limited to 'sw/source/filter/xml/xmltbli.cxx')
-rw-r--r-- | sw/source/filter/xml/xmltbli.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx index a9a9a50aa73b..673027b58e04 100644 --- a/sw/source/filter/xml/xmltbli.cxx +++ b/sw/source/filter/xml/xmltbli.cxx @@ -797,7 +797,7 @@ SwXMLTableColContext_Impl::SwXMLTableColContext_Impl( SfxItemState::SET == pAutoItemSet->GetItemState( RES_FRM_SIZE, false, &pItem ) ) { - const SwFmtFrmSize *pSize = ((const SwFmtFrmSize *)pItem); + const SwFmtFrmSize *pSize = static_cast<const SwFmtFrmSize *>(pItem); nWidth = pSize->GetWidth(); bRelWidth = ATT_VAR_SIZE == pSize->GetHeightSizeType(); } @@ -2676,7 +2676,7 @@ void SwXMLTableContext::MakeTable() if( SfxItemState::SET == pAutoItemSet->GetItemState( RES_HORI_ORIENT, false, &pItem ) ) { - eHoriOrient = ((const SwFmtHoriOrient *)pItem)->GetHoriOrient(); + eHoriOrient = static_cast<const SwFmtHoriOrient *>(pItem)->GetHoriOrient(); switch( eHoriOrient ) { case text::HoriOrientation::FULL: |