diff options
Diffstat (limited to 'embeddedobj/source/commonembedding/miscobj.cxx')
-rw-r--r-- | embeddedobj/source/commonembedding/miscobj.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/embeddedobj/source/commonembedding/miscobj.cxx b/embeddedobj/source/commonembedding/miscobj.cxx index ea2a3cb3c110..c62527f84398 100644 --- a/embeddedobj/source/commonembedding/miscobj.cxx +++ b/embeddedobj/source/commonembedding/miscobj.cxx @@ -32,6 +32,7 @@ #include <comphelper/mimeconfighelper.hxx> #include <vcl/svapp.hxx> +#include <tools/diagnose_ex.h> #include "persistence.hxx" @@ -286,7 +287,7 @@ void OCommonEmbeddedObject::requestPositioning( const awt::Rectangle& aRect ) } catch( const uno::Exception& ) { - OSL_FAIL( "Exception on request to resize!" ); + TOOLS_WARN_EXCEPTION( "embeddedobj", "Exception on request to resize!" ); } } } |