r14721 by fschmid - WMF Importer: fixed typo that caused "ReadThumbnail" returning a null image.
scribus-commit
scribus-commit at lists.scribus.net
Mon Feb 15 00:10:21 CET 2010
Revision: 14721
Author: fschmid
Date: 2010-02-14T23:01:21.188138Z
Commit message: WMF Importer: fixed typo that caused "ReadThumbnail" returning a null image.
Changeset:
M /trunk/Scribus/scribus/plugins/import/wmf/wmfimport.cpp
Diffs:
Index: scribus/plugins/import/wmf/wmfimport.cpp
===================================================================
--- scribus/plugins/import/wmf/wmfimport.cpp (revision 14720)
+++ scribus/plugins/import/wmf/wmfimport.cpp (revision 14721)
@@ -425,7 +425,7 @@
double ys = m_tmpSel->height();
double sc = 500.0 / qMax(xs, ys);
m_Doc->scaleGroup(sc, sc, true, m_tmpSel);
- QImage tmpImage = Elements.at(0)->DrawObj_toImage();
+ tmpImage = Elements.at(0)->DrawObj_toImage();
tmpImage.setText("XSize", QString("%1").arg(xs));
tmpImage.setText("YSize", QString("%1").arg(ys));
m_Doc->m_Selection->delaySignalsOff();
More information about the scribus-commit
mailing list