summaryrefslogtreecommitdiff
path: root/sw/inc/fldbas.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/fldbas.hxx
parent643283d4b3b8581fa5aa9b47cda90583b4aed3e7 (diff)
loplugin: cstylecast
Change-Id: Idc6c34d8b3cfab35c7dc841a9ff70c218e0282df
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 57780e9671e4..da578a7e3281 100644
--- a/sw/inc/fldbas.hxx
+++ b/sw/inc/fldbas.hxx
@@ -272,7 +272,7 @@ public:
inline void SwFieldType::UpdateFlds() const
{
- ((SwFieldType*)this)->ModifyNotification( 0, 0 );
+ const_cast<SwFieldType*>(this)->ModifyNotification( 0, 0 );
}
/** Base class of all fields.