summaryrefslogtreecommitdiff
path: root/starmath/inc/format.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/inc/format.hxx')
-rw-r--r--starmath/inc/format.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/inc/format.hxx b/starmath/inc/format.hxx
index 15bdd5527134..dccdded3879c 100644
--- a/starmath/inc/format.hxx
+++ b/starmath/inc/format.hxx
@@ -147,9 +147,9 @@ public:
bool operator == (const SmFormat &rFormat) const;
inline bool operator != (const SmFormat &rFormat) const;
- void RequestApplyChanges() const
+ void RequestApplyChanges()
{
- const_cast<SmFormat *>(this)->Broadcast(SfxSimpleHint(HINT_FORMATCHANGED));
+ Broadcast(SfxSimpleHint(HINT_FORMATCHANGED));
}
};