diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-04 14:00:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-11 11:21:26 +0200 |
commit | e52779d2f8722c713f72aedbf475267440d729f0 (patch) | |
tree | 0f2f15b2a7645e0b75f8057c96c90e05e1a6e7df /padmin/source | |
parent | e9c4ee996d5a6bf895072613ac4e488346ee5b05 (diff) |
remove unnecessary use of OUString constructor
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
Diffstat (limited to 'padmin/source')
-rw-r--r-- | padmin/source/adddlg.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/padmin/source/adddlg.cxx b/padmin/source/adddlg.cxx index 39e68dc03205..1ac7294125e0 100644 --- a/padmin/source/adddlg.cxx +++ b/padmin/source/adddlg.cxx @@ -82,11 +82,11 @@ void APChooseDevicePage::fill( PrinterInfo& rInfo ) { if( m_aPDFBtn.IsChecked() ) { - rInfo.m_aFeatures = OUString("pdf="); + rInfo.m_aFeatures = "pdf="; } else if( m_aFaxBtn.IsChecked() ) { - rInfo.m_aFeatures = OUString("fax"); + rInfo.m_aFeatures = "fax"; } else rInfo.m_aFeatures = ""; @@ -683,7 +683,7 @@ void APFaxDriverPage::fill( PrinterInfo& rInfo ) { if( isDefault() ) { - rInfo.m_aDriverName = OUString("SGENPRT"); + rInfo.m_aDriverName = "SGENPRT"; } } @@ -716,9 +716,9 @@ bool APPdfDriverPage::check() void APPdfDriverPage::fill( PrinterInfo& rInfo ) { if( isDefault() ) - rInfo.m_aDriverName = OUString("SGENPRT"); + rInfo.m_aDriverName = "SGENPRT"; else if( isDist() ) - rInfo.m_aDriverName = OUString("ADISTILL"); + rInfo.m_aDriverName = "ADISTILL"; } //-------------------------------------------------------------------- @@ -1004,7 +1004,7 @@ void AddPrinterDialog::addPrinter() } else if( m_pChooseDevicePage->isFax() ) { - aInfo.m_aFeatures = OUString("fax="); + aInfo.m_aFeatures = "fax="; if( m_pFaxNamePage->isFaxSwallow() ) aInfo.m_aFeatures += "swallow"; } |