summaryrefslogtreecommitdiff
path: root/padmin/source/prtsetup.cxx
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-03-28 21:35:39 +0100
committerChr. Rossmanith <ChrRossmanith@gmx.de>2013-03-28 22:54:53 +0100
commit6833a02def7ff76ce8d5e0588da65023f03ac377 (patch)
treee8d4b07bdcf57a75bed0d02b60d528dd81e0c8cd /padmin/source/prtsetup.cxx
parent8333cbf2a3940abd0ed6b6bbb2ac25513f86a2fd (diff)
Remove RTL_CONSTASCII_(U)STRINGPARAM in padmin
Change-Id: Icdf78be74a1ce82de50772e9424dbc172f355484
Diffstat (limited to 'padmin/source/prtsetup.cxx')
-rw-r--r--padmin/source/prtsetup.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/padmin/source/prtsetup.cxx b/padmin/source/prtsetup.cxx
index 2f136c9ab314..7d58ff9ef4a4 100644
--- a/padmin/source/prtsetup.cxx
+++ b/padmin/source/prtsetup.cxx
@@ -95,7 +95,7 @@ RTSDialog::RTSDialog( const PrinterInfo& rJobData, const String& rPrinter, bool
get(m_pTabControl, "notebook");
String aTitle( GetText() );
- aTitle.SearchAndReplace( String( RTL_CONSTASCII_USTRINGPARAM( "%s" ) ), m_aJobData.m_aPrinterName );
+ aTitle.SearchAndReplace( String( "%s" ), m_aJobData.m_aPrinterName );
SetText( aTitle );
if( ! bAllPages )
@@ -259,7 +259,7 @@ void RTSPaperPage::update()
// duplex
if( m_pParent->m_aJobData.m_pParser &&
- (pKey = m_pParent->m_aJobData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "Duplex" ) ) )) )
+ (pKey = m_pParent->m_aJobData.m_pParser->getKey( String( "Duplex" ) )) )
{
m_pParent->insertAllPPDValues( *m_pDuplexBox, m_pParent->m_aJobData.m_pParser, pKey );
}
@@ -271,7 +271,7 @@ void RTSPaperPage::update()
// paper
if( m_pParent->m_aJobData.m_pParser &&
- (pKey = m_pParent->m_aJobData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "PageSize" ) ) )) )
+ (pKey = m_pParent->m_aJobData.m_pParser->getKey( String( "PageSize" ) )) )
{
m_pParent->insertAllPPDValues( *m_pPaperBox, m_pParent->m_aJobData.m_pParser, pKey );
}
@@ -302,17 +302,17 @@ IMPL_LINK( RTSPaperPage, SelectHdl, ListBox*, pBox )
if( pBox == m_pPaperBox )
{
if( m_pParent->m_aJobData.m_pParser )
- pKey = m_pParent->m_aJobData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "PageSize" ) ) );
+ pKey = m_pParent->m_aJobData.m_pParser->getKey( String( "PageSize" ) );
}
else if( pBox == m_pDuplexBox )
{
if( m_pParent->m_aJobData.m_pParser )
- pKey = m_pParent->m_aJobData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "Duplex" ) ) );
+ pKey = m_pParent->m_aJobData.m_pParser->getKey( String( "Duplex" ) );
}
else if( pBox == m_pSlotBox )
{
if( m_pParent->m_aJobData.m_pParser )
- pKey = m_pParent->m_aJobData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "InputSlot" ) ) );
+ pKey = m_pParent->m_aJobData.m_pParser->getKey( String( "InputSlot" ) );
}
else if( pBox == m_pOrientBox )
{
@@ -800,7 +800,7 @@ RTSPWDialog::RTSPWDialog( const OString& rServer, const OString& rUserName, Wind
{
FreeResource();
String aText( m_aText.GetText() );
- aText.SearchAndReplace( String( RTL_CONSTASCII_USTRINGPARAM( "%s" ) ), OStringToOUString( rServer, osl_getThreadTextEncoding() ) );
+ aText.SearchAndReplace( String( "%s" ), OStringToOUString( rServer, osl_getThreadTextEncoding() ) );
m_aText.SetText( aText );
m_aUserEdit.SetText( OStringToOUString( rUserName, osl_getThreadTextEncoding() ) );
}