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 /sw | |
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 'sw')
-rw-r--r-- | sw/source/uibase/uiview/viewling.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uiview/viewling.cxx b/sw/source/uibase/uiview/viewling.cxx index dc220a5bb684..3fb3a1e16272 100644 --- a/sw/source/uibase/uiview/viewling.cxx +++ b/sw/source/uibase/uiview/viewling.cxx @@ -424,7 +424,7 @@ void SwView::HyphenateDocument() } SfxErrorContext aContext( ERRCTX_SVX_LINGU_HYPHENATION, OUString(), m_pEditWin, - getRID_SVXERRCTX(), SvxResLocale() ); + RID_SVXERRCTX, SvxResLocale() ); Reference< XHyphenator > xHyph( ::GetHyphenator() ); if (!xHyph.is()) @@ -546,7 +546,7 @@ void SwView::StartThesaurus() return; SfxErrorContext aContext( ERRCTX_SVX_LINGU_THESAURUS, OUString(), m_pEditWin, - getRID_SVXERRCTX(), SvxResLocale() ); + RID_SVXERRCTX, SvxResLocale() ); // Determine language LanguageType eLang = m_pWrtShell->GetCurLang(); |