summaryrefslogtreecommitdiff
path: root/sw/inc/fldbas.hxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-11-25 20:54:35 +0200
committerTor Lillqvist <tml@collabora.com>2014-11-25 20:54:35 +0200
commit8b33808a1127c4552735f7a618e9639c6d109686 (patch)
tree44a8e9dfe4dd4c70d5733d05c41b626bfc851ca3 /sw/inc/fldbas.hxx
parente7ac7ba7de64068f0264b71bc4d9ff182e278338 (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/fldbas.hxx')
-rw-r--r--sw/inc/fldbas.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/fldbas.hxx b/sw/inc/fldbas.hxx
index da578a7e3281..57780e9671e4 100644
--- a/sw/inc/fldbas.hxx
+++ b/sw/inc/fldbas.hxx
@@ -272,7 +272,7 @@ public:
inline void SwFieldType::UpdateFlds() const
{
- const_cast<SwFieldType*>(this)->ModifyNotification( 0, 0 );
+ ((SwFieldType*)this)->ModifyNotification( 0, 0 );
}
/** Base class of all fields.