diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-16 16:35:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-19 07:36:12 +0100 |
commit | e9c74a075c3c0809b993c017c11d1505bd244dc8 (patch) | |
tree | 88cf68873c9b60941ced2ae0fda040496cbe0e2d /uui/source/iahndl.cxx | |
parent | 9d75bfcfaef97b247b3b6cd346eb27e02ae7b010 (diff) |
drop ErrCode::GetRest
it was always a broken API because it includes the code, the class, and
only part of the subsystemarea.
Change-Id: I6f88b54aed2feab02a6aeaa783d7c642054b8075
Reviewed-on: https://gerrit.libreoffice.org/51430
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'uui/source/iahndl.cxx')
-rw-r--r-- | uui/source/iahndl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx index 6dbe7df63e76..439c223d5e52 100644 --- a/uui/source/iahndl.cxx +++ b/uui/source/iahndl.cxx @@ -1286,7 +1286,7 @@ bool ErrorResource::getString(ErrCode nErrorCode, OUString &rString) const { for (const std::pair<const char*, ErrCode>* pStringArray = m_pStringArray; pStringArray->first != nullptr; ++pStringArray) { - if (nErrorCode.GetRest() == pStringArray->second.GetRest()) + if (nErrorCode.StripWarningAndDynamic() == pStringArray->second) { rString = Translate::get(pStringArray->first, m_rResLocale); return true; |