summaryrefslogtreecommitdiff
path: root/uui/source/iahndl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-19 14:02:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-19 15:32:44 +0200
commita1ad6ee008d5100fb256bba3134ba628afc32f88 (patch)
tree38ef5ccad31a7154b06b62fee67c9daec697c159 /uui/source/iahndl.cxx
parent0938ab463a3c4864b7bed1485f991f04c53b29c4 (diff)
tdf#117103 Warning error is empty
regression from commit e9c74a075c3c0809b993c017c11d1505bd244dc8 drop ErrCode::GetRest Change-Id: I937478dbc9dd217255dc5cdecb6cf66d55394cba Reviewed-on: https://gerrit.libreoffice.org/53153 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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx
index a7a6c8af7f93..63e3fbdea28a 100644
--- a/uui/source/iahndl.cxx
+++ b/uui/source/iahndl.cxx
@@ -1281,7 +1281,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.StripWarningAndDynamic() == pStringArray->second)
+ if (nErrorCode.StripWarningAndDynamic() == pStringArray->second.StripWarningAndDynamic())
{
rString = Translate::get(pStringArray->first, m_rResLocale);
return true;