summaryrefslogtreecommitdiff
path: root/xmloff/source/forms/elementimport_impl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/forms/elementimport_impl.hxx')
-rwxr-xr-xxmloff/source/forms/elementimport_impl.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/forms/elementimport_impl.hxx b/xmloff/source/forms/elementimport_impl.hxx
index ba3ef4a9594f..1e34727903f8 100755
--- a/xmloff/source/forms/elementimport_impl.hxx
+++ b/xmloff/source/forms/elementimport_impl.hxx
@@ -51,7 +51,7 @@ inline SvXMLImportContext* OContainerImport< BASE >::CreateChildContext(
return implCreateControlWrapper(_nPrefix, _rLocalName);
else
{
- OSL_ENSURE(sal_False, "OContainerImport::CreateChildContext: don't have an element!");
+ OSL_FAIL("OContainerImport::CreateChildContext: don't have an element!");
return NULL;
}
}
@@ -73,7 +73,7 @@ inline ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >
m_xMeAsContainer = ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer >(xReturn, ::com::sun::star::uno::UNO_QUERY);
if (!m_xMeAsContainer.is())
{
- OSL_ENSURE(sal_False, "OContainerImport::createElement: invalid element (no XNameContainer) created!");
+ OSL_FAIL("OContainerImport::createElement: invalid element (no XNameContainer) created!");
xReturn.clear();
}