diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-13 15:59:38 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-14 08:17:30 +0200 |
commit | 3cabbf37b965a11e7d63de05eaacfbdb29b67b74 (patch) | |
tree | 24a9c4eb35edc388ee9d8281bd2e584454bd0d61 /vcl/generic | |
parent | 3acca4c859b7198bc3caf4c690bfc653883e61b7 (diff) |
remove unnecessary sal_Unicode casts in VCL module
Change-Id: I79da72097e8bc86891075d1484a59b5599a063d0
Diffstat (limited to 'vcl/generic')
-rw-r--r-- | vcl/generic/fontmanager/helper.cxx | 4 | ||||
-rw-r--r-- | vcl/generic/print/genprnpsp.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/vcl/generic/fontmanager/helper.cxx b/vcl/generic/fontmanager/helper.cxx index bf09d6058cc8..729d5268c0a6 100644 --- a/vcl/generic/fontmanager/helper.cxx +++ b/vcl/generic/fontmanager/helper.cxx @@ -121,7 +121,7 @@ void psp::getPrinterPathList( std::list< OUString >& rPathList, const char* pSub aPathBuffer.appendAscii( "/" LIBO_SHARE_FOLDER "/psprint" ); if( pSubDir ) { - aPathBuffer.append( sal_Unicode('/') ); + aPathBuffer.append( '/' ); aPathBuffer.appendAscii( pSubDir ); } rPathList.push_back( aPathBuffer.makeStringAndClear() ); @@ -133,7 +133,7 @@ void psp::getPrinterPathList( std::list< OUString >& rPathList, const char* pSub aPathBuffer.appendAscii( "/user/psprint" ); if( pSubDir ) { - aPathBuffer.append( sal_Unicode('/') ); + aPathBuffer.append( '/' ); aPathBuffer.appendAscii( pSubDir ); } rPathList.push_back( aPathBuffer.makeStringAndClear() ); diff --git a/vcl/generic/print/genprnpsp.cxx b/vcl/generic/print/genprnpsp.cxx index 62e7b79af2e8..1f080a22d196 100644 --- a/vcl/generic/print/genprnpsp.cxx +++ b/vcl/generic/print/genprnpsp.cxx @@ -1270,7 +1270,7 @@ sal_Bool PspSalPrinter::StartJob( const OUString* i_pFileName, const OUString& i aBuf.append( i_rJobName ); if( i > 0 || nCurJob > 0 ) { - aBuf.append( sal_Unicode(' ') ); + aBuf.append( ' ' ); aBuf.append( sal_Int32( i + nCurJob * aPDFFiles.size() ) ); } PrinterInfoManager::get().endSpool( pPrinter->GetName(), aBuf.makeStringAndClear(), fp, m_aJobData, bFirstJob ); |