comphelper/source/misc/diagnose_ex.cxx | 8 -------- 1 file changed, 8 deletions(-)
New commits: commit 661aee7aac989647e99b88f5ca70e7af4805cf89 Author: Bogdan Buzea <buzea.bog...@libreoffice.org> AuthorDate: Mon Oct 21 17:56:12 2024 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Oct 22 19:34:34 2024 +0200 tdf#163486: PVS: Identical blocks V760 Two identical blocks of text were found. The second block begins from line 325. Change-Id: I5854337d4d1c0d946b096804b536433c48f0696f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175381 Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> Tested-by: Jenkins diff --git a/comphelper/source/misc/diagnose_ex.cxx b/comphelper/source/misc/diagnose_ex.cxx index 487f98b637a0..27d15c930e2e 100644 --- a/comphelper/source/misc/diagnose_ex.cxx +++ b/comphelper/source/misc/diagnose_ex.cxx @@ -322,14 +322,6 @@ static void exceptionToStringImpl(OStringBuffer& sMessage, const css::uno::Any & sMessage.append(toOString(comphelper::anyToString( css::uno::Any(specialized.Code) ))); } } - { - css::xml::dom::DOMException specialized; - if ( caught >>= specialized ) - { - sMessage.append(" Code: "); - sMessage.append(toOString(comphelper::anyToString( css::uno::Any(specialized.Code) ))); - } - } { css::xml::sax::SAXException specialized; if ( caught >>= specialized )