summaryrefslogtreecommitdiff
path: root/vcl/generic
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 13:13:21 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 13:13:21 -0500
commit081dc5afdef4a84d60a57ff549f70071b1d26eda (patch)
tree4afae2b9ff996bfc0b87db8f7679c2940fa0121a /vcl/generic
parentb6dc9a8fb8ab96fdbc0ad59f13f92c573aab5cb6 (diff)
targeted string re-work
Change-Id: I0ca912c8b7e485f5ec78422150aedc72ca6df32f
Diffstat (limited to 'vcl/generic')
-rw-r--r--vcl/generic/print/printerjob.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/generic/print/printerjob.cxx b/vcl/generic/print/printerjob.cxx
index 4cf9efcdd87f..f961e1e3c844 100644
--- a/vcl/generic/print/printerjob.cxx
+++ b/vcl/generic/print/printerjob.cxx
@@ -336,8 +336,8 @@ PrinterJob::StartJob (
maJobTitle = rJobName;
rtl::OUString aExt(RTL_CONSTASCII_USTRINGPARAM (".ps"));
- mpJobHeader = CreateSpoolFile (rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("psp_head")), aExt);
- mpJobTrailer = CreateSpoolFile (rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("psp_tail")), aExt);
+ mpJobHeader = CreateSpoolFile (rtl::OUString("psp_head"), aExt);
+ mpJobTrailer = CreateSpoolFile (rtl::OUString("psp_tail"), aExt);
if( ! (mpJobHeader && mpJobTrailer) ) // existing files are removed in destructor
return sal_False;
@@ -604,9 +604,9 @@ PrinterJob::StartPage (const JobData& rJobSetup)
rtl::OUString aExt = aPageNo + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM (".ps"));
osl::File* pPageHeader = CreateSpoolFile (
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("psp_pghead")), aExt);
+ rtl::OUString("psp_pghead"), aExt);
osl::File* pPageBody = CreateSpoolFile (
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("psp_pgbody")), aExt);
+ rtl::OUString("psp_pgbody"), aExt);
maHeaderList.push_back (pPageHeader);
maPageList.push_back (pPageBody);
@@ -847,7 +847,7 @@ void PrinterJob::writeJobPatch( osl::File* pFile, const JobData& rJobData )
const PPDKey* pKey = NULL;
if( rJobData.m_pParser )
- pKey = rJobData.m_pParser->getKey( OUString( RTL_CONSTASCII_USTRINGPARAM( "JobPatchFile" ) ) );
+ pKey = rJobData.m_pParser->getKey( OUString( "JobPatchFile" ) );
if( ! pKey )
return;