diff options
Diffstat (limited to 'vcl/test')
-rw-r--r-- | vcl/test/dndtest.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/test/dndtest.cxx b/vcl/test/dndtest.cxx index c2756dcfbf41..83c98872f0ad 100644 --- a/vcl/test/dndtest.cxx +++ b/vcl/test/dndtest.cxx @@ -152,7 +152,7 @@ void MyApp::Main() osl_getCommandArg( n, &aArg.pData ); - if( aArg.compareTo( OUString("-r"), 2 ) == 0 ) + if( aArg.startsWith( "-r" ) ) { if ( n + 1 < nmax ) osl_getCommandArg( ++n, &aRegistry.pData ); |