Changeset 262
- Timestamp:
- 02/23/07 02:34:25 (19 months ago)
- Location:
- trunk/src
- Files:
-
- 2 modified
-
JobPrint.cxx (modified) (1 diff)
-
PrintPter.cxx (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/JobPrint.cxx
r239 r262 408 408 m_Document = NULL; 409 409 410 // This array tells us which pages to export to postscrip .410 // This array tells us which pages to export to postscript. 411 411 int numPages = getDocument ().getNumPages (); 412 412 m_PageRange = new gboolean[numPages]; -
trunk/src/PrintPter.cxx
r255 r262 120 120 printerName = g_strdup (printerAndInstanceNames); 121 121 } 122 g_free (printerAndInstanceNames); 122 123 123 124 float pageWidth; … … 131 132 job->setDocument (m_Document); 132 133 job->setPrinterName (printerName); 134 g_free (printerName); 133 135 134 136 if ( view.isSelectedAllPagesRangeOption () ) … … 141 143 else 142 144 { 143 job->setPageRange (view.getPageRange ());145 job->setPageRange (view.getPageRange ()); 144 146 } 145 147 … … 170 172 171 173 IJob::enqueue (job); 172 173 g_free (printerAndInstanceNames);174 g_free (printerName);175 174 } 176 175 // Once done, it's the same as canceled :-)
