diff options
author | Noel Grandin <noel@peralex.com> | 2013-08-07 08:43:59 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-08-12 11:56:41 +0200 |
commit | 556fe4ec7339892d63cb98bc9bfd09718944bf03 (patch) | |
tree | f4fe7f8e4ee1bb2f31f77c021e6e50209219616c /vcl/headless | |
parent | ff7ac85d4b657da2cd28b878325fd7c290b5c63b (diff) |
convert vcl/ppdparser.hxx from String to OUString
Change-Id: I8a95a98e5cc92e5bedb4813411afc86cc438fdad
Diffstat (limited to 'vcl/headless')
-rw-r--r-- | vcl/headless/svpprn.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/headless/svpprn.cxx b/vcl/headless/svpprn.cxx index b6a664839259..6ecba235d5e9 100644 --- a/vcl/headless/svpprn.cxx +++ b/vcl/headless/svpprn.cxx @@ -122,17 +122,17 @@ static void copyJobDataToJobSetup( ImplJobSetup* pJobSetup, JobData& rData ) pValue = rData.m_aContext.getValue( pKey ); if( pKey && pValue ) { - if( pValue->m_aOption.EqualsIgnoreCaseAscii( "None" ) || - pValue->m_aOption.EqualsIgnoreCaseAscii( "Simplex", 0, 7 ) + if( pValue->m_aOption.equalsIgnoreAsciiCase( "None" ) || + pValue->m_aOption.startsWithIgnoreAsciiCase( "Simplex" ) ) { pJobSetup->meDuplexMode = DUPLEX_OFF; } - else if( pValue->m_aOption.EqualsIgnoreCaseAscii( "DuplexNoTumble" ) ) + else if( pValue->m_aOption.equalsIgnoreAsciiCase( "DuplexNoTumble" ) ) { pJobSetup->meDuplexMode = DUPLEX_LONGEDGE; } - else if( pValue->m_aOption.EqualsIgnoreCaseAscii( "DuplexTumble" ) ) + else if( pValue->m_aOption.equalsIgnoreAsciiCase( "DuplexTumble" ) ) { pJobSetup->meDuplexMode = DUPLEX_SHORTEDGE; } |