Just assert if trying to "load" an unknown library when DISABLE_DYNLOADING
This commit is contained in:
parent
e56b2109c0
commit
220336d736
1 changed files with 4 additions and 1 deletions
|
@ -556,7 +556,10 @@ Reference< XInterface > SAL_CALL loadSharedLibComponentFactory(
|
|||
}
|
||||
#if OSL_DEBUG_LEVEL > 1
|
||||
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
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue