Kaydet (Commit) 16d83688 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Fix apparently broken OSL_ASSERT (that would have never fired)

Change-Id: I0a79282466879f00f47e00aa646f827dfe028712
üst 6d4181b1
......@@ -207,7 +207,7 @@ static uno::Reference< util::XCloseable > CreateDocument( const uno::Reference<
// the default factory from cppuhelper will throw an
// IllegalArgumentException when we try to create the instance with arguments.
// Okay, so we fall back to creating the instance without any arguments.
OSL_ASSERT("Consider implementing interface XInitialization to avoid duplicate construction");
OSL_FAIL("Consider implementing interface XInitialization to avoid duplicate construction");
xDocument = _rxContext->getServiceManager()->createInstanceWithContext( _rDocumentServiceName, _rxContext );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment