summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlftn.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-01 10:16:19 +0200
committerNoel Grandin <noel@peralex.com>2014-12-02 09:32:08 +0200
commitd08c6a829690c984a2f7389c85456e258a99235d (patch)
treecf3ab473f879bc3ffe7114efbfef3decef341d57 /sw/source/filter/html/htmlftn.cxx
parent67076bc839a2c415f9c08b29d9c10d5fec09d018 (diff)
loplugin: cstylecast
Change-Id: I266f8cdc113a08bf224bc8b2c858f5105aeaa87a
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++ )