summaryrefslogtreecommitdiff
path: root/package/source/manifest/ManifestReader.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'package/source/manifest/ManifestReader.cxx')
-rw-r--r--package/source/manifest/ManifestReader.cxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/package/source/manifest/ManifestReader.cxx b/package/source/manifest/ManifestReader.cxx
index 27d3ab00fd18..af32ddb5ae97 100644
--- a/package/source/manifest/ManifestReader.cxx
+++ b/package/source/manifest/ManifestReader.cxx
@@ -20,6 +20,7 @@
#include "ManifestReader.hxx"
#include "ManifestImport.hxx"
#include <sal/log.hxx>
+#include <tools/diagnose_ex.h>
#include <comphelper/processfactory.hxx>
#include <comphelper/sequence.hxx>
#include <cppuhelper/factory.hxx>
@@ -63,17 +64,17 @@ Sequence< Sequence< PropertyValue > > SAL_CALL ManifestReader::readManifestSeque
xParser->parseStream( aParserInput );
aManifestSequence = comphelper::containerToSequence(aManVector);
}
- catch (SAXParseException& e)
+ catch (const SAXParseException&)
{
- SAL_WARN("package", "ignoring " << e);
+ TOOLS_WARN_EXCEPTION("package", "ignoring");
}
- catch (SAXException& e)
+ catch (const SAXException&)
{
- SAL_WARN("package", "ignoring " << e);
+ TOOLS_WARN_EXCEPTION("package", "ignoring");
}
- catch (IOException& e)
+ catch (const IOException&)
{
- SAL_WARN("package", "ignoring " << e);
+ TOOLS_WARN_EXCEPTION("package", "ignoring");
}
xParser->setDocumentHandler ( Reference < XDocumentHandler > () );
return aManifestSequence;