diff options
Diffstat (limited to 'basic/source/uno/scriptcont.cxx')
-rw-r--r-- | basic/source/uno/scriptcont.cxx | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx index a0617d498330..ab8dbadd350e 100644 --- a/basic/source/uno/scriptcont.cxx +++ b/basic/source/uno/scriptcont.cxx @@ -652,12 +652,7 @@ bool SfxScriptLibraryContainer::implStorePasswordLibrary( SfxLibrary* pLib, cons { if( !isLibraryElementValid( pLib->getByName( aElementName ) ) ) { - #if OSL_DEBUG_LEVEL > 0 - OString aMessage = "invalid library element '" + - OUStringToOString( aElementName, osl_getThreadTextEncoding() ) + - "'."; - OSL_FAIL( aMessage.getStr()); - #endif + SAL_WARN( "basic", "invalid library element '" << aElementName << "'."); continue; } @@ -734,12 +729,7 @@ bool SfxScriptLibraryContainer::implStorePasswordLibrary( SfxLibrary* pLib, cons if( !isLibraryElementValid( pLib->getByName( aElementName ) ) ) { - #if OSL_DEBUG_LEVEL > 0 - OString aMessage = "invalid library element '" + - OUStringToOString( aElementName, osl_getThreadTextEncoding() ) + - "'."; - OSL_FAIL( aMessage.getStr()); - #endif + SAL_WARN( "basic", "invalid library element '" << aElementName << "'."); continue; } |