r22375 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Mon Feb 5 18:25:33 UTC 2018
Author: jghali
Date: Mon Feb 5 18:25:32 2018
New Revision: 22375
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22375
Log:
#15099, improve librevenge based import: do not trim texts <dtardon>
Modified:
trunk/Scribus/scribus/plugins/import/revenge/rawpainter.cpp
Modified: trunk/Scribus/scribus/plugins/import/revenge/rawpainter.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22375&path=/trunk/Scribus/scribus/plugins/import/revenge/rawpainter.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/revenge/rawpainter.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/revenge/rawpainter.cpp Mon Feb 5 18:25:32 2018
@@ -1756,7 +1756,6 @@
QTextDocument texDoc;
texDoc.setHtml(actText);
actText = texDoc.toPlainText();
- actText = actText.trimmed();
actTextItem->itemText.insertChars(posC, actText);
actTextItem->itemText.applyStyle(posC, textStyle);
actTextItem->itemText.applyCharStyle(posC, actText.length(), textCharStyle);
More information about the scribus-commit
mailing list