diff options
Diffstat (limited to 'svtools/source/misc/imageresourceaccess.cxx')
-rw-r--r-- | svtools/source/misc/imageresourceaccess.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svtools/source/misc/imageresourceaccess.cxx b/svtools/source/misc/imageresourceaccess.cxx index 8f07e59b999b..cd9cfba3b45a 100644 --- a/svtools/source/misc/imageresourceaccess.cxx +++ b/svtools/source/misc/imageresourceaccess.cxx @@ -27,6 +27,7 @@ #include <com/sun/star/io/XStream.hpp> #include <osl/diagnose.h> #include <tools/stream.hxx> +#include <tools/diagnose_ex.h> #include <unotools/streamwrap.hxx> #include <cppuhelper/implbase.hxx> @@ -151,7 +152,7 @@ std::unique_ptr<SvStream> getImageStream(uno::Reference<uno::XComponentContext> } catch (const uno::Exception&) { - OSL_FAIL("GraphicAccess::getImageStream: caught an exception!"); + TOOLS_WARN_EXCEPTION("svtools", "GraphicAccess::getImageStream"); pMemBuffer.reset(); } |