diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-03-28 21:35:39 +0100 |
---|---|---|
committer | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-03-28 22:54:53 +0100 |
commit | 6833a02def7ff76ce8d5e0588da65023f03ac377 (patch) | |
tree | e8d4b07bdcf57a75bed0d02b60d528dd81e0c8cd /padmin/source/padialog.cxx | |
parent | 8333cbf2a3940abd0ed6b6bbb2ac25513f86a2fd (diff) |
Remove RTL_CONSTASCII_(U)STRINGPARAM in padmin
Change-Id: Icdf78be74a1ce82de50772e9424dbc172f355484
Diffstat (limited to 'padmin/source/padialog.cxx')
-rw-r--r-- | padmin/source/padialog.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/padmin/source/padialog.cxx b/padmin/source/padialog.cxx index bf89597b9b08..fc04a2c1e67b 100644 --- a/padmin/source/padialog.cxx +++ b/padmin/source/padialog.cxx @@ -408,7 +408,7 @@ void SpaPrinterController::printPage( int ) const Size( aPaperSize.Width()-600, aPaperSize.Height()-600 ) ) ); - Font aFont( String( RTL_CONSTASCII_USTRINGPARAM( "Courier" ) ), Size( 0, 400 ) ); + Font aFont( String( "Courier" ), Size( 0, 400 ) ); aFont.SetWeight( WEIGHT_NORMAL ); aFont.SetItalic( ITALIC_NONE ); pPrinter->SetFont( aFont ); @@ -458,7 +458,7 @@ void SpaPrinterController::printPage( int ) const if( pPrintParser ) aPrintText.append( pPrintParser->getPrinterName() ); aPrintText.appendAscii( "\n: " ); - INetURLObject aDriverPath( pPrintParser ? pPrintParser->getFilename() : String( RTL_CONSTASCII_USTRINGPARAM( "<undef>" ) ), + INetURLObject aDriverPath( pPrintParser ? pPrintParser->getFilename() : String( "<undef>" ), INET_PROT_FILE, INetURLObject::ENCODE_ALL ); aPrintText.append( aDriverPath.GetName() ); aPrintText.appendAscii( "\n: " ); @@ -581,8 +581,7 @@ void PADialog::PrintTestPage() boost::shared_ptr<vcl::PrinterController> pController( new SpaPrinterController( pPrinter ) ); JobSetup aJobSetup( pPrinter->GetJobSetup() ); - aJobSetup.SetValue( String( RTL_CONSTASCII_USTRINGPARAM( "IsQuickJob" ) ), - String( RTL_CONSTASCII_USTRINGPARAM( "true" ) ) ); + aJobSetup.SetValue( "IsQuickJob", "true" ); Printer::PrintJob( pController, aJobSetup ); } @@ -605,7 +604,7 @@ void PADialog::RemDevice() if( ! m_rPIManager.removePrinter( aPrinter ) ) { String aText( PaResId( RID_ERR_PRINTERNOTREMOVEABLE ) ); - aText.SearchAndReplace( String( RTL_CONSTASCII_USTRINGPARAM( "%s" ) ), aPrinter ); + aText.SearchAndReplace( String( "%s" ), aPrinter ); ErrorBox aBox( this, WB_OK | WB_DEF_OK, aText ); aBox.Execute(); return; |