[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara caolanm at redhat.com
Tue Mar 17 13:26:52 PDT 2015


 vcl/unx/generic/printer/cupsmgr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a81d60527bfe09bc54e6eb2e1281344773db0152
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Mar 17 20:24:05 2015 +0000

    fix higher debug build
    
    Change-Id: Ie077be51164f317b8572aea5327bdee06fd6bd49

diff --git a/vcl/unx/generic/printer/cupsmgr.cxx b/vcl/unx/generic/printer/cupsmgr.cxx
index 3ea62b0..beb2e1d 100644
--- a/vcl/unx/generic/printer/cupsmgr.cxx
+++ b/vcl/unx/generic/printer/cupsmgr.cxx
@@ -742,7 +742,7 @@ bool CUPSManager::printJobs( const PendingJob& job, const std::vector< OString >
                 "    option " << pOptions[n].name << "=" << pOptions[n].value);
 #if OSL_DEBUG_LEVEL > 1
         OString aCmd( "cp " );
-        aCmd = aCmd + it->second;
+        aCmd = aCmd + files.front();
         aCmd = aCmd + OString( " $HOME/cupsprint.ps" );
         system( aCmd.getStr() );
 #endif


More information about the Libreoffice-commits mailing list