summaryrefslogtreecommitdiff
path: root/basic/source/uno/dlgcont.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-03-29 19:45:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-30 09:13:23 +0200
commit79b13b4d50549820684549ef77b2ec1c4def5b03 (patch)
tree79a855cab64c0ed1fd3c1fdcad627e2404ae620d /basic/source/uno/dlgcont.cxx
parentffbcbbc8dcc946d4d91cc08a937c2067be5a18b7 (diff)
OSL_ASSERT->assert in basic
Change-Id: I8abe14706e9c6d1323d5d66a8b700ddaa2803f2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91333 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source/uno/dlgcont.cxx')
-rw-r--r--basic/source/uno/dlgcont.cxx5
1 files changed, 3 insertions, 2 deletions
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 <dlgcont.hxx>
#include <comphelper/fileformat.h>
#include <comphelper/processfactory.hxx>
-
+#include <tools/diagnose_ex.h>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <xmlscript/xmldlg_imexp.hxx>
@@ -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);
}
}