diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-02 11:00:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-02 12:19:01 +0100 |
commit | 884cbe174ee5e343e9ed56093421aad3e467bf57 (patch) | |
tree | bb62e25fe5d1768cc1f493634573eb22473d2944 /sfx2 | |
parent | 11cc1afb2fd46c3dfdd519ad51c5fb2e7e3b7837 (diff) |
RID_* can be extern global variables
no need to access them via methods
Change-Id: If0d1a65d6f56ce2fc585749d974ba13c9f2749b2
Reviewed-on: https://gerrit.libreoffice.org/47245
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appinit.cxx | 6 | ||||
-rw-r--r-- | sfx2/source/view/ipclient.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/appl/appinit.cxx b/sfx2/source/appl/appinit.cxx index e190d594d897..218fa03c3656 100644 --- a/sfx2/source/appl/appinit.cxx +++ b/sfx2/source/appl/appinit.cxx @@ -208,13 +208,13 @@ void SfxApplication::Initialize_Impl() Help::EnableExtHelp(); pImpl->m_pToolsErrorHdl = new SfxErrorHandler( - getRID_ERRHDL(), ErrCodeArea::Io, ErrCodeArea::Vcl); + RID_ERRHDL, ErrCodeArea::Io, ErrCodeArea::Vcl); pImpl->m_pSoErrorHdl = new SfxErrorHandler( - getRID_SO_ERROR_HANDLER(), ErrCodeArea::So, ErrCodeArea::So, SvtResLocale()); + RID_SO_ERROR_HANDLER, ErrCodeArea::So, ErrCodeArea::So, SvtResLocale()); #if HAVE_FEATURE_SCRIPTING pImpl->m_pSbxErrorHdl = new SfxErrorHandler( - getRID_BASIC_START(), ErrCodeArea::Sbx, ErrCodeArea::Sbx, BasResLocale()); + RID_BASIC_START, ErrCodeArea::Sbx, ErrCodeArea::Sbx, BasResLocale()); #endif if (!utl::ConfigManager::IsFuzzing()) diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx index cd1a4ec77656..86aa5fa35625 100644 --- a/sfx2/source/view/ipclient.cxx +++ b/sfx2/source/view/ipclient.cxx @@ -856,7 +856,7 @@ sal_Int64 SfxInPlaceClient::GetAspect() const ErrCode SfxInPlaceClient::DoVerb( long nVerb ) { - SfxErrorContext aEc(ERRCTX_SO_DOVERB, m_pViewSh->GetWindow(), getRID_SO_ERRCTX()); + SfxErrorContext aEc(ERRCTX_SO_DOVERB, m_pViewSh->GetWindow(), RID_SO_ERRCTX); ErrCode nError = ERRCODE_NONE; if ( m_xImp->m_xObject.is() ) |