diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-09 22:47:20 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2013-03-11 11:07:09 +0100 |
commit | 937b63af3322f7f8b5e869b2c7431a2deaec3113 (patch) | |
tree | a832f6672188551a5be9538a02fb80d6e3fc8497 /vcl/headless/svpprn.cxx | |
parent | 5c32ac5104e9cade52c8a373033644282de9ceff (diff) |
use startsWith() instead of compareToAscii()
brain damage...
Change-Id: I4dc63c7346f724eded9ac7b82cda25c2bb60beff
Diffstat (limited to 'vcl/headless/svpprn.cxx')
-rw-r--r-- | vcl/headless/svpprn.cxx | 2 |
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 ); |