r22376 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Mon Feb 5 18:28:18 UTC 2018
Author: jghali
Date: Mon Feb 5 18:28:18 2018
New Revision: 22376
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22376
Log:
#15099, improve librevenge based import: drop unnecessary copy <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=22376&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:28:18 2018
@@ -1742,8 +1742,7 @@
}
else
textStyle.setLineSpacingMode(ParagraphStyle::AutomaticLineSpacing);
- librevenge::RVNGString tempUTF8(text);
- QString actText = QString(tempUTF8.cstr());
+ QString actText = QString(text.cstr());
if (actTextItem)
{
int posC = actTextItem->itemText.length();
More information about the scribus-commit
mailing list