Kaydet (Commit) 220336d7 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Just assert if trying to "load" an unknown library when DISABLE_DYNLOADING

üst e56b2109
...@@ -556,7 +556,10 @@ Reference< XInterface > SAL_CALL loadSharedLibComponentFactory( ...@@ -556,7 +556,10 @@ Reference< XInterface > SAL_CALL loadSharedLibComponentFactory(
} }
#if OSL_DEBUG_LEVEL > 1 #if OSL_DEBUG_LEVEL > 1
if ( pSym == NULL ) if ( pSym == NULL )
OSL_TRACE( "attempting to load unknown library %s", OUStringToOString( rLibName, RTL_TEXTENCODING_ASCII_US ).getStr() ); {
fprintf( stderr, "attempting to load unknown library %s", OUStringToOString( rLibName, RTL_TEXTENCODING_ASCII_US ).getStr() );
assert( !"Attempt to load unknown library" );
}
#endif #endif
} }
#else #else
......
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