diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-25 06:46:49 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-25 08:43:18 +0200 |
commit | 7ca3303aaadd20dcc1d6e08bdeba38021cbec4bb (patch) | |
tree | 3a60619f0a451bf8465f7ef3f3bd99443aa40439 /sw/inc/doc.hxx | |
parent | 643283d4b3b8581fa5aa9b47cda90583b4aed3e7 (diff) |
loplugin: cstylecast
Change-Id: Idc6c34d8b3cfab35c7dc841a9ff70c218e0282df
Diffstat (limited to 'sw/inc/doc.hxx')
-rw-r--r-- | sw/inc/doc.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index a7b882998635..ffb23e646847 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -1691,7 +1691,7 @@ void ClrContourCache(); inline const SwTableNode* SwDoc::IsIdxInTbl( const SwNodeIndex& rIdx ) const { - return ((SwDoc*)this)->IsIdxInTbl( rIdx ); + return static_cast<const SwDoc*>(this)->IsIdxInTbl( rIdx ); } inline SvNumberFormatter* SwDoc::GetNumberFormatter( bool bCreate ) @@ -1703,7 +1703,7 @@ inline SvNumberFormatter* SwDoc::GetNumberFormatter( bool bCreate ) inline const SvNumberFormatter* SwDoc::GetNumberFormatter( bool bCreate ) const { - return ((SwDoc*)this)->GetNumberFormatter( bCreate ); + return static_cast<const SwDoc*>(this)->GetNumberFormatter( bCreate ); } inline void SwDoc::SetOLEPrtNotifyPending( bool bSet ) |