summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-07 14:03:59 +0200
committerNoel Grandin <noel@peralex.com>2013-08-12 11:56:49 +0200
commitdb3f16317e0b0f931fdfcb6f19f8cc474bd70683 (patch)
treee7bde547793da27ef2861f6f051efb80c3b59207 /vcl/headless
parent8129fffd1beefbc2844fcf3912c65290ce657d79 (diff)
convert String to OUString in VCL
Change-Id: Ie5c6874298641dc6fc1b6b4e2206a704acd7cc10
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/svpprn.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/headless/svpprn.cxx b/vcl/headless/svpprn.cxx
index 6ecba235d5e9..f50db9a69ec9 100644
--- a/vcl/headless/svpprn.cxx
+++ b/vcl/headless/svpprn.cxx
@@ -97,7 +97,7 @@ static void copyJobDataToJobSetup( ImplJobSetup* pJobSetup, JobData& rData )
pJobSetup->mnPaperBin = 0xffff;
if( rData.m_pParser )
- pKey = rData.m_pParser->getKey( String( "InputSlot" ) );
+ pKey = rData.m_pParser->getKey( OUString( "InputSlot" ) );
if( pKey )
pValue = rData.m_aContext.getValue( pKey );
if( pKey && pValue )
@@ -117,7 +117,7 @@ static void copyJobDataToJobSetup( ImplJobSetup* pJobSetup, JobData& rData )
pJobSetup->meDuplexMode = DUPLEX_UNKNOWN;
if( rData.m_pParser )
- pKey = rData.m_pParser->getKey( String( "Duplex" ) );
+ pKey = rData.m_pParser->getKey( OUString( "Duplex" ) );
if( pKey )
pValue = rData.m_aContext.getValue( pKey );
if( pKey && pValue )
@@ -231,8 +231,8 @@ void SvpSalInstance::GetPrinterQueueInfo( ImplPrnQueueList* pList )
sal_Int32 nIndex = 0;
while( nIndex != -1 )
{
- String aToken( rInfo.m_aFeatures.getToken( 0, ',', nIndex ) );
- if( aToken.CompareToAscii( "pdf=", 4 ) == COMPARE_EQUAL )
+ OUString aToken( rInfo.m_aFeatures.getToken( 0, ',', nIndex ) );
+ if( aToken.startsWith( "pdf=" ) )
{
pInfo->maLocation = getPdfDir( rInfo );
break;