diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-22 09:35:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-23 08:58:33 +0200 |
commit | f871d0e7c99d88b55c38a9878f3ef0bfec4eb089 (patch) | |
tree | 42ea0722aed24eb088b69bc99fae77971a19f1ea /uui | |
parent | 52b6c6493837a6bdccffd16d06daba54e932bd07 (diff) |
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 <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'uui')
-rw-r--r-- | uui/source/iahndl-errorhandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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) ? |