diff options
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/source/shlib.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx index 180a05484b66..6678e2590ca3 100644 --- a/cppuhelper/source/shlib.cxx +++ b/cppuhelper/source/shlib.cxx @@ -136,7 +136,7 @@ static bool checkAccessPath( OUString * pComp ) throw () if (pPath) { - sal_Bool bAbsolute = (pComp->compareToAscii( "file://" , 7 ) == 0); + sal_Bool bAbsolute = pComp->startsWith( "file://" ); for ( ::std::vector< OUString >::const_iterator iPos( pPath->begin() ); iPos != pPath->end(); ++iPos ) { |