summaryrefslogtreecommitdiff
path: root/sw/inc/cellatr.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/cellatr.hxx
parent643283d4b3b8581fa5aa9b47cda90583b4aed3e7 (diff)
loplugin: cstylecast
Change-Id: Idc6c34d8b3cfab35c7dc841a9ff70c218e0282df
Diffstat (limited to 'sw/inc/cellatr.hxx')
-rw-r--r--sw/inc/cellatr.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/cellatr.hxx b/sw/inc/cellatr.hxx
index b343a8b32dc0..70cfbcc1d111 100644
--- a/sw/inc/cellatr.hxx
+++ b/sw/inc/cellatr.hxx
@@ -71,7 +71,7 @@ public:
SwTableBox* GetTableBox();
const SwTableBox* GetTableBox() const
- { return ((SwTblBoxFormula*)this)->GetTableBox(); }
+ { return const_cast<SwTblBoxFormula*>(this)->GetTableBox(); }
void ChangeState( const SfxPoolItem* pItem );
void Calc( SwTblCalcPara& rCalcPara, double& rValue );