From 5ddf5d8dc60cdc44515e5f551bf1a61a4f1e62bc Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 6 Feb 2017 19:40:10 +0000 Subject: there is no cnt (chaos) resource file anymore Change-Id: I97f0606c6003ca12c651841ec26145728fc5c808 --- uui/source/iahndl-errorhandler.cxx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'uui/source/iahndl-errorhandler.cxx') diff --git a/uui/source/iahndl-errorhandler.cxx b/uui/source/iahndl-errorhandler.cxx index 856bdef2b23f..a549cc2a4e7b 100644 --- a/uui/source/iahndl-errorhandler.cxx +++ b/uui/source/iahndl-errorhandler.cxx @@ -151,21 +151,15 @@ UUIInteractionHelper::handleErrorHandlerRequest( OUString aMessage; { - enum Source { SOURCE_DEFAULT, SOURCE_CNT, SOURCE_SVX, SOURCE_UUI }; - static char const * const aManager[4] = { "ofa", "cnt", "svx", "uui" }; - static sal_uInt16 const aId[4] + enum Source { SOURCE_DEFAULT, SOURCE_SVX, SOURCE_UUI }; + static char const * const aManager[3] = { "ofa", "svx", "uui" }; + static sal_uInt16 const aId[3] = { RID_ERRHDL, - RID_CHAOS_START + 12, - // cf. chaos/source/inc/cntrids.hrc, where - // #define RID_CHAOS_ERRHDL (RID_CHAOS_START + 12) RID_SVXERRCODE, RID_UUI_ERRHDL }; ErrCode nErrorId = nErrorCode & ~ERRCODE_WARNING_MASK; Source eSource = nErrorId < ERRCODE_AREA_LIB1 ? SOURCE_DEFAULT : - nErrorId >= ERRCODE_AREA_CHAOS - && nErrorId < ERRCODE_AREA_CHAOS_END ? - SOURCE_CNT : nErrorId >= ERRCODE_AREA_SVX && nErrorId <= ERRCODE_AREA_SVX_END ? SOURCE_SVX : -- cgit