diff options
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 ) |