summaryrefslogtreecommitdiff
path: root/sw/inc/doc.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-25 06:46:49 +0200
committerNoel Grandin <noel@peralex.com>2014-11-25 08:43:18 +0200
commit7ca3303aaadd20dcc1d6e08bdeba38021cbec4bb (patch)
tree3a60619f0a451bf8465f7ef3f3bd99443aa40439 /sw/inc/doc.hxx
parent643283d4b3b8581fa5aa9b47cda90583b4aed3e7 (diff)
loplugin: cstylecast
Change-Id: Idc6c34d8b3cfab35c7dc841a9ff70c218e0282df
Diffstat (limited to 'sw/inc/doc.hxx')
-rw-r--r--sw/inc/doc.hxx4
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 )