diff options
Diffstat (limited to 'sal/qa/osl/module/osl_Module.cxx')
-rw-r--r-- | sal/qa/osl/module/osl_Module.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sal/qa/osl/module/osl_Module.cxx b/sal/qa/osl/module/osl_Module.cxx index 2b51bdfbc5fa..d6358d4c692c 100644 --- a/sal/qa/osl/module/osl_Module.cxx +++ b/sal/qa/osl/module/osl_Module.cxx @@ -70,10 +70,9 @@ inline ::rtl::OUString getDllURL( void ) return dllPath; } -inline sal_Bool isURL( const ::rtl::OUString pathname ) +inline bool isURL( const ::rtl::OUString pathname ) { - ::rtl::OUString aPreURL( "file:///" ); - return ( ( pathname.indexOf( aPreURL ) == 0 ) ? sal_True : sal_False ); + return pathname.startsWith( "file:///" ); } /** create a temp test directory using OUString name of full qualified URL or system path. |