diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-02-25 20:52:35 +0000 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-02-26 10:12:47 +0100 |
commit | f3d1b49a02744532d637ea398b76b7486e83ea63 (patch) | |
tree | c929c867ad9faa616aad77e0fd83e1f3ab7a295b /svtools | |
parent | b434bda77878e87f1eb8efeaab3dd0e5f5c4f420 (diff) |
Related: tdf#115866 'Warning' missing
Change-Id: I328db7978ecbb80ddae35cbefc98316dde86f9cf
Reviewed-on: https://gerrit.libreoffice.org/50329
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/misc/ehdl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/misc/ehdl.cxx b/svtools/source/misc/ehdl.cxx index 856f4f59a86a..4d100e4e7e9b 100644 --- a/svtools/source/misc/ehdl.cxx +++ b/svtools/source/misc/ehdl.cxx @@ -308,7 +308,7 @@ bool SfxErrorContext::GetString(sal_uInt32 nErrId, OUString &rStr) { sal_uInt16 nId = ( nErrId & ERRCODE_WARNING_MASK ) ? ERRCTX_WARNING : ERRCTX_ERROR; ResStringArray aEr(ResId(RID_ERRCTX, *pMgr)); - rStr = rStr.replaceAll("$(ERR)", aEr.GetString(nId)); + rStr = rStr.replaceAll("$(ERR)", aEr.GetString(aEr.FindIndex(nId))); } } |