diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-11-25 20:54:35 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-11-25 20:54:35 +0200 |
commit | 8b33808a1127c4552735f7a618e9639c6d109686 (patch) | |
tree | 44a8e9dfe4dd4c70d5733d05c41b626bfc851ca3 /sw/inc/cellatr.hxx | |
parent | e7ac7ba7de64068f0264b71bc4d9ff182e278338 (diff) |
Revert "loplugin: cstylecast"
The change was broken. Luckily MSVC noticed: sw\inc\doc.hxx(1707) :
warning C4717: 'SwDoc::GetNumberFormatter' : recursive on all control
paths, function will cause runtime stack overflow.
This reverts commit 7ca3303aaadd20dcc1d6e08bdeba38021cbec4bb.
Diffstat (limited to 'sw/inc/cellatr.hxx')
-rw-r--r-- | sw/inc/cellatr.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/cellatr.hxx b/sw/inc/cellatr.hxx index 70cfbcc1d111..b343a8b32dc0 100644 --- a/sw/inc/cellatr.hxx +++ b/sw/inc/cellatr.hxx @@ -71,7 +71,7 @@ public: SwTableBox* GetTableBox(); const SwTableBox* GetTableBox() const - { return const_cast<SwTblBoxFormula*>(this)->GetTableBox(); } + { return ((SwTblBoxFormula*)this)->GetTableBox(); } void ChangeState( const SfxPoolItem* pItem ); void Calc( SwTblCalcPara& rCalcPara, double& rValue ); |