From 0c1767d9466adf0729eb8e1f43ddb80a31886898 Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Tue, 21 Jun 2016 03:12:12 +0200 Subject: vcl: fix dbglevel>1 build Change-Id: I94c35499d395d10a86a821a28e57ad3c1d8ec485 --- vcl/unx/generic/printer/cupsmgr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/unx/generic/printer/cupsmgr.cxx') diff --git a/vcl/unx/generic/printer/cupsmgr.cxx b/vcl/unx/generic/printer/cupsmgr.cxx index 2da3bf90e4fc..6f000e442f5f 100644 --- a/vcl/unx/generic/printer/cupsmgr.cxx +++ b/vcl/unx/generic/printer/cupsmgr.cxx @@ -670,7 +670,7 @@ bool CUPSManager::endSpool( const OUString& rPrintername, const OUString& rJobTi " option " << pOptions[n].name << "=" << pOptions[n].value); #if OSL_DEBUG_LEVEL > 1 OString aCmd( "cp " ); - aCmd = aCmd + files.front(); + aCmd = aCmd + it->second.getStr(); aCmd = aCmd + OString( " $HOME/cupsprint.ps" ); system( aCmd.getStr() ); #endif -- cgit