summaryrefslogtreecommitdiff
path: root/psprint
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-07-05 08:23:04 +0000
committerOliver Bolte <obo@openoffice.org>2004-07-05 08:23:04 +0000
commit6d5ce3ac422a2954ae9a46b752d0b1774d1b076d (patch)
tree9a217b3c4ec3418eaeac33726fd949ebacd331f5 /psprint
parente788a57c7f2afe534bfd15600151efd7315eb102 (diff)
INTEGRATION: CWS vcl22 (1.23.18); FILE MERGED
2004/05/26 10:57:34 pl 1.23.18.1: #i29521# quiet please
Diffstat (limited to 'psprint')
-rw-r--r--psprint/source/printer/printerinfomanager.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/psprint/source/printer/printerinfomanager.cxx b/psprint/source/printer/printerinfomanager.cxx
index 7b54ac9cd4ef..ac18106243ee 100644
--- a/psprint/source/printer/printerinfomanager.cxx
+++ b/psprint/source/printer/printerinfomanager.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: printerinfomanager.cxx,v $
*
- * $Revision: 1.23 $
+ * $Revision: 1.24 $
*
- * last change: $Author: obo $ $Date: 2004-03-17 10:51:45 $
+ * last change: $Author: obo $ $Date: 2004-07-05 09:23:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1220,7 +1220,8 @@ FILE* PrinterInfoManager::startSpool( const OUString& rPrintername )
{
const PrinterInfo& rPrinterInfo = getPrinterInfo (rPrintername);
const rtl::OUString& rCommand = rPrinterInfo.m_aCommand;
- const rtl::OString aShellCommand = OUStringToOString (rCommand, RTL_TEXTENCODING_ISO_8859_1);
+ rtl::OString aShellCommand = OUStringToOString (rCommand, RTL_TEXTENCODING_ISO_8859_1);
+ aShellCommand += rtl::OString( " 2>/dev/null" );
return popen (aShellCommand.getStr(), "w");
}
@@ -1355,6 +1356,7 @@ void SystemQueueInfo::run()
else
#endif
{
+ aPrtQueueCmd += ByteString( " 2>/dev/null" );
if( pPipe = popen( aPrtQueueCmd.GetBuffer(), "r" ) )
{
while( fgets( pBuffer, 1024, pPipe ) )