summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-28 15:01:43 +0200
committerNoel Grandin <noel@peralex.com>2015-04-29 10:41:40 +0200
commit6bb742b9cbbdabbbd53dd9cdf6cb165e4b30bf86 (patch)
treee483f00c38dd38429e307a170f80d95dddf57d0e /starmath
parenta9bfa6547ae2a4721363289f3816568e6a7e6a2d (diff)
convert STR_EVENT constants to scoped enum
- also add needed infrastructure to o3tl::enumarray so we can use std::find on it - move the Impl inside the .cxx file, no need to expose it in the header Change-Id: I7758a6175849f46723d97b1e657f846524c3b7cd
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 c96cd46c8173..1e41db81ea96 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -171,7 +171,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(STR_EVENT_VISAREACHANGED), this));
+ SfxGetpApp()->NotifyEvent(SfxEventHint( SFX_EVENT_VISAREACHANGED, GlobalEventConfig::GetEventName(GlobalEventId::VISAREACHANGED), this));
Repaint();
}