summaryrefslogtreecommitdiff
path: root/svx/source/xml/xmlxtexp.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2020-10-04 23:28:23 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2020-10-05 09:49:05 +0200
commit9abb853f0ae74b34ee7c5fb6a34b72a037bb317e (patch)
tree65871e440423b653b1e355d871e70e6c8e88dd17 /svx/source/xml/xmlxtexp.cxx
parent83615f4ee8c5e78fb45389b5ea3c1204625e3fe2 (diff)
use more TOOLS_WARN_EXCEPTION
Change-Id: I3e8bfdf717dd8896ab16e396f671651ca4f7f01c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103932 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svx/source/xml/xmlxtexp.cxx')
-rw-r--r--svx/source/xml/xmlxtexp.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/svx/source/xml/xmlxtexp.cxx b/svx/source/xml/xmlxtexp.cxx
index f9407cb46698..d16e5fc523a2 100644
--- a/svx/source/xml/xmlxtexp.cxx
+++ b/svx/source/xml/xmlxtexp.cxx
@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
+#include <tools/diagnose_ex.h>
#include <tools/urlobj.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
@@ -175,7 +178,7 @@ static void initializeStreamMetadata( const uno::Reference< uno::XInterface > &x
xProps->setPropertyValue("UseCommonStoragePasswordEncryption", uno::makeAny( true ) );
} catch ( const uno::Exception & )
{
- OSL_FAIL( "exception setting stream metadata" );
+ TOOLS_WARN_EXCEPTION("svx", "exception setting stream metadata");
}
}