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/swtable.hxx | |
parent | 643283d4b3b8581fa5aa9b47cda90583b4aed3e7 (diff) |
loplugin: cstylecast
Change-Id: Idc6c34d8b3cfab35c7dc841a9ff70c218e0282df
Diffstat (limited to 'sw/inc/swtable.hxx')
-rw-r--r-- | sw/inc/swtable.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/swtable.hxx b/sw/inc/swtable.hxx index 592eacb8d02f..3f7c716ecab1 100644 --- a/sw/inc/swtable.hxx +++ b/sw/inc/swtable.hxx @@ -285,7 +285,7 @@ public: // Get box, whose start index is set on nBoxStt. SwTableBox* GetTblBox( sal_uLong nSttIdx ); const SwTableBox* GetTblBox( sal_uLong nSttIdx ) const - { return ((SwTable*)this)->GetTblBox( nSttIdx ); } + { return const_cast<SwTable*>(this)->GetTblBox( nSttIdx ); } // Returns true if table contains nestings. bool IsTblComplex() const; |