summaryrefslogtreecommitdiffstats
path: root/vcl/workben/svpclient.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/workben/svpclient.cxx')
-rw-r--r--vcl/workben/svpclient.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/workben/svpclient.cxx b/vcl/workben/svpclient.cxx
index fa28ecbae8d9..12ce0cc25d46 100644
--- a/vcl/workben/svpclient.cxx
+++ b/vcl/workben/svpclient.cxx
@@ -185,7 +185,7 @@ void MyWin::parseList( const rtl::OString& rList )
if( ! aLine.getLength() || *aLine.getStr() == '#' )
continue;
- if( aLine.compareTo( "ElementType: ", 13 ) == 0 )
+ if( aLine.startsWith( "ElementType: " ) )
aElementType = rtl::OStringToOUString( aLine.copy( 13 ), RTL_TEXTENCODING_ASCII_US );
else
{