diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-06-27 10:26:55 +0200 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-06-27 17:08:04 +0200 |
commit | d92aa2f445662aa9ca7d81fef1e667bcae031fc6 (patch) | |
tree | a773275c7753286fbf116eef4d20c1f31bb6b123 /starmath | |
parent | 556981f07815a0de0ad3576ba6f8639671a6c13c (diff) |
remove SFX_APP() macro that was a mer wrapper for SfxGetApp()
Change-Id: I480a789c767dd671775c9d70d96bf71908f21f5b
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/document.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx index 51dfe5f5f308..4009d6a8d5fd 100644 --- a/starmath/source/document.cxx +++ b/starmath/source/document.cxx @@ -170,7 +170,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}" - SFX_APP()->NotifyEvent(SfxEventHint( SFX_EVENT_VISAREACHANGED, GlobalEventConfig::GetEventName(STR_EVENT_VISAREACHANGED), this)); + SfxGetpApp()->NotifyEvent(SfxEventHint( SFX_EVENT_VISAREACHANGED, GlobalEventConfig::GetEventName(STR_EVENT_VISAREACHANGED), this)); Repaint(); } @@ -664,7 +664,7 @@ SmDocShell::SmDocShell( const sal_uInt64 i_nSfxCreationFlags ) : { pCursor = NULL; - SetPool(&SFX_APP()->GetPool()); + SetPool(&SfxGetpApp()->GetPool()); SmModule *pp = SM_MOD(); aFormat = pp->GetConfig()->GetStandardFormat(); @@ -1280,7 +1280,7 @@ void SmDocShell::Draw(OutputDevice *pDevice, SfxItemPool& SmDocShell::GetPool() const { - return SFX_APP()->GetPool(); + return SfxGetpApp()->GetPool(); } void SmDocShell::SetVisArea(const Rectangle & rVisArea) |