summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlbas.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/htmlbas.cxx
parent67076bc839a2c415f9c08b29d9c10d5fec09d018 (diff)
loplugin: cstylecast
Change-Id: I266f8cdc113a08bf224bc8b2c858f5105aeaa87a
Diffstat (limited to 'sw/source/filter/html/htmlbas.cxx')
-rw-r--r--sw/source/filter/html/htmlbas.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/html/htmlbas.cxx b/sw/source/filter/html/htmlbas.cxx
index f05ae7a7c925..36926a2c35a5 100644
--- a/sw/source/filter/html/htmlbas.cxx
+++ b/sw/source/filter/html/htmlbas.cxx
@@ -93,7 +93,7 @@ void SwHTMLParser::EndScript()
if( bInsSrcIntoFld && !bIgnoreHTMLComments )
{
SwScriptFieldType *pType =
- (SwScriptFieldType*)pDoc->getIDocumentFieldsAccess().GetSysFldType( RES_SCRIPTFLD );
+ static_cast<SwScriptFieldType*>(pDoc->getIDocumentFieldsAccess().GetSysFldType( RES_SCRIPTFLD ));
SwScriptField aFld( pType, aScriptType,
!aScriptURL.isEmpty() ? aScriptURL : aScriptSource,