Replaced various '#define' with actual strings - part 5

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/10/head
Michele Calgaro 6 months ago
parent c0011af8f1
commit 12a1ec2b37
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -881,12 +881,12 @@ void ItemDocument::exportToImage()
saveArea = m_canvas->rect();
if ( type == "PNG" || type == "BMP" )
outputImage = TQT_TQPAINTDEVICE(new TQPixmap( saveArea.size() ));
outputImage = new TQPixmap( saveArea.size() );
else if ( type == "SVG" )
{
setSVGExport(true);
outputImage = TQT_TQPAINTDEVICE(new TQPicture());
outputImage = new TQPicture();
// svg can't be cropped using the qimage method.
saveArea = cropArea;
}

Loading…
Cancel
Save