diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 07:57:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:24:37 +0100 |
commit | 16d83688f862e768b4813ac2dbec2b871ceeb2c9 (patch) | |
tree | 54d28d93541bdef8a8421b0132601dfea356e52f /embeddedobj | |
parent | 6d4181b1520d5eb2064490271e7ae4641cce9bb6 (diff) |
Fix apparently broken OSL_ASSERT (that would have never fired)
Change-Id: I0a79282466879f00f47e00aa646f827dfe028712
Diffstat (limited to 'embeddedobj')
-rw-r--r-- | embeddedobj/source/commonembedding/persistence.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embeddedobj/source/commonembedding/persistence.cxx b/embeddedobj/source/commonembedding/persistence.cxx index b3e920884fba..e3e2216eedc1 100644 --- a/embeddedobj/source/commonembedding/persistence.cxx +++ b/embeddedobj/source/commonembedding/persistence.cxx @@ -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 ); } |