summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-17 20:24:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-17 20:25:31 +0000
commita81d60527bfe09bc54e6eb2e1281344773db0152 (patch)
tree1d5857dfa53d6271fb23857e7f556fc53668e3e0
parent2f49c0bdd67919a5b75c2692d4a18f6a53f355fb (diff)
fix higher debug build
Change-Id: Ie077be51164f317b8572aea5327bdee06fd6bd49
-rw-r--r--vcl/unx/generic/printer/cupsmgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/printer/cupsmgr.cxx b/vcl/unx/generic/printer/cupsmgr.cxx
index 3ea62b0d1f53..beb2e1d4e04c 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