summaryrefslogtreecommitdiffstats
path: root/padmin/source/adddlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'padmin/source/adddlg.cxx')
-rw-r--r--padmin/source/adddlg.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/padmin/source/adddlg.cxx b/padmin/source/adddlg.cxx
index 7128bd052bce..a2d845704e26 100644
--- a/padmin/source/adddlg.cxx
+++ b/padmin/source/adddlg.cxx
@@ -90,11 +90,11 @@ void APChooseDevicePage::fill( PrinterInfo& rInfo )
{
if( m_aPDFBtn.IsChecked() )
{
- rInfo.m_aFeatures = OUString::createFromAscii( "pdf=" );
+ rInfo.m_aFeatures = OUString(RTL_CONSTASCII_USTRINGPARAM("pdf="));
}
else if( m_aFaxBtn.IsChecked() )
{
- rInfo.m_aFeatures = OUString::createFromAscii( "fax" );
+ rInfo.m_aFeatures = OUString(RTL_CONSTASCII_USTRINGPARAM("fax"));
}
else
rInfo.m_aFeatures = OUString();
@@ -694,7 +694,7 @@ void APFaxDriverPage::fill( PrinterInfo& rInfo )
{
if( isDefault() )
{
- rInfo.m_aDriverName = OUString::createFromAscii( "SGENPRT" );
+ rInfo.m_aDriverName = OUString(RTL_CONSTASCII_USTRINGPARAM("SGENPRT"));
}
}
@@ -727,9 +727,9 @@ bool APPdfDriverPage::check()
void APPdfDriverPage::fill( PrinterInfo& rInfo )
{
if( isDefault() )
- rInfo.m_aDriverName = OUString::createFromAscii( "SGENPRT" );
+ rInfo.m_aDriverName = OUString(RTL_CONSTASCII_USTRINGPARAM("SGENPRT"));
else if( isDist() )
- rInfo.m_aDriverName = OUString::createFromAscii( "ADISTILL" );
+ rInfo.m_aDriverName = OUString(RTL_CONSTASCII_USTRINGPARAM("ADISTILL"));
}
//--------------------------------------------------------------------
@@ -1015,13 +1015,13 @@ void AddPrinterDialog::addPrinter()
}
else if( m_pChooseDevicePage->isFax() )
{
- aInfo.m_aFeatures = OUString::createFromAscii( "fax=" );
+ aInfo.m_aFeatures = OUString(RTL_CONSTASCII_USTRINGPARAM("fax="));
if( m_pFaxNamePage->isFaxSwallow() )
- aInfo.m_aFeatures += OUString::createFromAscii( "swallow" );
+ aInfo.m_aFeatures += OUString(RTL_CONSTASCII_USTRINGPARAM("swallow"));
}
else if( m_pChooseDevicePage->isPDF() )
{
- OUString aPdf( OUString::createFromAscii( "pdf=" ) );
+ OUString aPdf( RTL_CONSTASCII_USTRINGPARAM("pdf=") );
aPdf += m_pPdfCommandPage->getPdfDir();
aInfo.m_aFeatures = aPdf;
}