From 79b13b4d50549820684549ef77b2ec1c4def5b03 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 29 Mar 2020 19:45:19 +0200 Subject: OSL_ASSERT->assert in basic Change-Id: I8abe14706e9c6d1323d5d66a8b700ddaa2803f2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91333 Tested-by: Jenkins Reviewed-by: Noel Grandin --- basic/source/uno/dlgcont.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'basic/source/uno/dlgcont.cxx') diff --git a/basic/source/uno/dlgcont.cxx b/basic/source/uno/dlgcont.cxx index a3f8fd6f565e..c07fa682c909 100644 --- a/basic/source/uno/dlgcont.cxx +++ b/basic/source/uno/dlgcont.cxx @@ -33,7 +33,7 @@ #include #include #include - +#include #include #include #include @@ -201,9 +201,10 @@ void SfxDialogLibraryContainer::storeLibrariesToStorage( const uno::Reference< e } catch (const Exception& ) { + TOOLS_WARN_EXCEPTION("basic", ""); // if we cannot get the version then the // Oasis2OOoTransformer will not be used - OSL_ASSERT(false); + assert(false); } } -- cgit