diff options
author | Michaël Lefèvre <lefevre00@yahoo.fr> | 2014-04-07 11:44:43 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-05-12 11:32:38 +0200 |
commit | 70e744b2157ebe48f3a5c839560fedf6521d0464 (patch) | |
tree | 4e29618cc5a36f25557bd130226abdfe96e46848 /basic | |
parent | WaE: private field 'm_bOwnershipIsWellKnown' is not used (diff) | |
download | core-70e744b2157ebe48f3a5c839560fedf6521d0464.tar.gz core-70e744b2157ebe48f3a5c839560fedf6521d0464.zip |
fdo#43157 Remove OSL_POSTCOND, prefer SAL_WARN_IF
Change-Id: Ia89a2dce799c7ba90bcd19919195bfd2c7a4a180
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/runtime.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index 8bfdb5295940..43da65808b8a 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -924,11 +924,11 @@ void SbiRuntime::Error( SbError _errCode, const OUString& _details ) if ( _errCode ) { // Not correct for class module usage, remove for now - //OSL_ENSURE( pInst->pRun == this, "SbiRuntime::Error: can't propagate the error message details!" ); + //OSL_WARN_IF( pInst->pRun != this, "basic", "SbiRuntime::Error: can't propagate the error message details!" ); if ( pInst->pRun == this ) { pInst->Error( _errCode, _details ); - //OSL_POSTCOND( nError == _errCode, "SbiRuntime::Error: the instance is expecte to propagate the error code back to me!" ); + //OSL_WARN_IF( nError != _errCode, "basic", "SbiRuntime::Error: the instance is expecte to propagate the error code back to me!" ); } else { |