diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:31:11 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:33:37 +0100 |
commit | 67c19855ab24004c29bb0741577432f0ed50d9bf (patch) | |
tree | a8c28cf2d101680f231645bc2219482bb17a0ff9 /starmath/inc/format.hxx | |
parent | af3cb5e85a54c5b9653f4757863b8ed15df8477b (diff) |
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: Iee4396c5ac715e1b211c5fa6e1cb66b1e95e3f60
Diffstat (limited to 'starmath/inc/format.hxx')
-rw-r--r-- | starmath/inc/format.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/format.hxx b/starmath/inc/format.hxx index fb1287acbdb2..15bdd5527134 100644 --- a/starmath/inc/format.hxx +++ b/starmath/inc/format.hxx @@ -149,7 +149,7 @@ public: void RequestApplyChanges() const { - ((SmFormat *) this)->Broadcast(SfxSimpleHint(HINT_FORMATCHANGED)); + const_cast<SmFormat *>(this)->Broadcast(SfxSimpleHint(HINT_FORMATCHANGED)); } }; |