summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2017-08-13 08:34:14 +0200
committerJulien Nabet <serval2412@yahoo.fr>2017-08-13 09:42:45 +0200
commitf1a896c71c495bdef5861eb664581507b6b9b5bb (patch)
treef93b42e66a2667a1958b1ba44dba9eb1c80fa9b8 /uui
parentbec5a2ac82b5178f6e765494c2003febe8ab51da (diff)
fix some ErrCode IgnoreWarning() usage
In some places I used the new IgnoreWarning() method, and that was not a faithful translation of the previous code. Regression from commit 528632660b72b105345945c13c5b68060d94a91b "convert ErrCode to strong typedef" Change-Id: Ie53f7a6b1830e5977510a0c32926e0c70c42dcd3 Reviewed-on: https://gerrit.libreoffice.org/41105 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'uui')
-rw-r--r--uui/source/iahndl-errorhandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/uui/source/iahndl-errorhandler.cxx b/uui/source/iahndl-errorhandler.cxx
index 260ad0b9aa01..d10437558d34 100644
--- a/uui/source/iahndl-errorhandler.cxx
+++ b/uui/source/iahndl-errorhandler.cxx
@@ -159,7 +159,7 @@ UUIInteractionHelper::handleErrorHandlerRequest(
= { getRID_ERRHDL(),
getRID_SVXERRCODE(),
RID_UUI_ERRHDL };
- ErrCode nErrorId = nErrorCode.IgnoreWarning();
+ ErrCode nErrorId(sal_uInt32(nErrorCode) & ~ERRCODE_WARNING_MASK);
Source eSource = nErrorId < ErrCode(ERRCODE_AREA_SVX) ?
SOURCE_DEFAULT :
nErrorId >= ErrCode(ERRCODE_AREA_SVX)