summaryrefslogtreecommitdiff
path: root/vcl/headless/svpprn.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/headless/svpprn.cxx')
-rw-r--r--vcl/headless/svpprn.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/headless/svpprn.cxx b/vcl/headless/svpprn.cxx
index d769847512b3..b6a664839259 100644
--- a/vcl/headless/svpprn.cxx
+++ b/vcl/headless/svpprn.cxx
@@ -45,7 +45,7 @@ static OUString getPdfDir( const PrinterInfo& rInfo )
while( nIndex != -1 )
{
OUString aToken( rInfo.m_aFeatures.getToken( 0, ',', nIndex ) );
- if( ! aToken.compareToAscii( "pdf=", 4 ) )
+ if( aToken.startsWith( "pdf=" ) )
{
sal_Int32 nPos = 0;
aDir = aToken.getToken( 1, '=', nPos );