summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlftn.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/htmlftn.cxx')
-rw-r--r--sw/source/filter/html/htmlftn.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/html/htmlftn.cxx b/sw/source/filter/html/htmlftn.cxx
index bc8a310e34a7..7931ab99c81d 100644
--- a/sw/source/filter/html/htmlftn.cxx
+++ b/sw/source/filter/html/htmlftn.cxx
@@ -263,9 +263,9 @@ SwNodeIndex *SwHTMLParser::GetFootEndNoteSection( const OUString& rName )
Writer& OutHTML_SwFmtFtn( Writer& rWrt, const SfxPoolItem& rHt )
{
- SwHTMLWriter& rHTMLWrt = (SwHTMLWriter&)rWrt;
+ SwHTMLWriter& rHTMLWrt = static_cast<SwHTMLWriter&>(rWrt);
- SwFmtFtn& rFmtFtn = (SwFmtFtn&)rHt;
+ SwFmtFtn& rFmtFtn = const_cast<SwFmtFtn&>(static_cast<const SwFmtFtn&>(rHt));
SwTxtFtn *pTxtFtn = rFmtFtn.GetTxtFtn();
if( !pTxtFtn )
return rWrt;
@@ -515,7 +515,7 @@ static sal_uInt16 lcl_html_fillEndNoteInfo( const SwEndNoteInfo& rInfo,
static void lcl_html_outFootEndNoteInfo( Writer& rWrt, OUString *pParts,
sal_uInt16 nParts, const sal_Char *pName )
{
- SwHTMLWriter& rHTMLWrt = (SwHTMLWriter&)rWrt;
+ SwHTMLWriter& rHTMLWrt = static_cast<SwHTMLWriter&>(rWrt);
OUString aContent;
for( sal_uInt16 i=0; i<nParts; i++ )