summaryrefslogtreecommitdiffstats
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-19 11:01:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-20 06:08:30 +0000
commited2b8ca92ae00ab96b0ea2b1c3fc9be4622b61ff (patch)
tree5fe7754d4aa1e93c6aa186ff74e6f96aaecdcd74 /starmath
parenttdf#103765: Round positions instead of truncating (diff)
downloadcore-ed2b8ca92ae00ab96b0ea2b1c3fc9be4622b61ff.tar.gz
core-ed2b8ca92ae00ab96b0ea2b1c3fc9be4622b61ff.zip
convert SFX_EVENT constants to scoped enum
SFX_EVENT_CLOSEAPP and SFX_EVENT_TOGGLEFULLSCREENMODE are never generated, so remove them and delete the code that receives them Change-Id: I2d003ba73fff0b02120ba29ff58e1d2399dedf00 Reviewed-on: https://gerrit.libreoffice.org/32168 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/document.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index 87c1961d431a..804e3f77918e 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -164,7 +164,7 @@ void SmDocShell::SetText(const OUString& rBuffer)
// have SwOleClient::FormatChanged() to align the modified formula properly
// even if the vis area does not change (e.g. when formula text changes from
// "{a over b + c} over d" to "d over {a over b + c}"
- SfxGetpApp()->NotifyEvent(SfxEventHint( SFX_EVENT_VISAREACHANGED, GlobalEventConfig::GetEventName(GlobalEventId::VISAREACHANGED), this));
+ SfxGetpApp()->NotifyEvent(SfxEventHint( SfxEventHintId::VisAreaChanged, GlobalEventConfig::GetEventName(GlobalEventId::VISAREACHANGED), this));
Repaint();
}