summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-04-15 09:06:10 +0200
committerTor Lillqvist <tml@iki.fi>2012-04-15 11:56:52 +0200
commit220336d73660a7713b95ae8b85f80d14ce02b58f (patch)
treeb1db8c74a50891e3d46f8332af8e8ea12d2c3196 /cppuhelper
parente56b2109c07498242608064a47b4776423352ddb (diff)
Just assert if trying to "load" an unknown library when DISABLE_DYNLOADING
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/shlib.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx
index 44945b7d9255..f83db94a6603 100644
--- a/cppuhelper/source/shlib.cxx
+++ b/cppuhelper/source/shlib.cxx
@@ -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