From f871d0e7c99d88b55c38a9878f3ef0bfec4eb089 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 22 Jun 2017 09:35:58 +0200 Subject: inline some ERRCODE_AREA aliases and drop unused ERRCODE_AREA_OFA_END constant Change-Id: Ic34ecda7f842c5db93807b3f21aa1062966ca523 Reviewed-on: https://gerrit.libreoffice.org/39089 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- uui/source/iahndl-errorhandler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uui') diff --git a/uui/source/iahndl-errorhandler.cxx b/uui/source/iahndl-errorhandler.cxx index 72236f972f25..b1a3acb331a3 100644 --- a/uui/source/iahndl-errorhandler.cxx +++ b/uui/source/iahndl-errorhandler.cxx @@ -157,7 +157,7 @@ UUIInteractionHelper::handleErrorHandlerRequest( RID_SVXERRCODE, RID_UUI_ERRHDL }; ErrCode nErrorId = nErrorCode.IgnoreWarning(); - Source eSource = nErrorId < ErrCode(ERRCODE_AREA_LIB1) ? + Source eSource = nErrorId < ErrCode(ERRCODE_AREA_SVX) ? SOURCE_DEFAULT : nErrorId >= ErrCode(ERRCODE_AREA_SVX) && nErrorId <= ErrCode(ERRCODE_AREA_SVX_END) ? -- cgit