r24958 by jghali - Small performance optimization
scribus-commit
scribus-commit at lists.scribus.net
Mon Feb 21 22:59:25 UTC 2022
Author: jghali
Date: Mon Feb 21 22:59:25 2022
New Revision: 24958
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24958
Log:
Small performance optimization
Modified:
trunk/Scribus/scribus/plugins/import/ai/importai.cpp
Modified: trunk/Scribus/scribus/plugins/import/ai/importai.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24958&path=/trunk/Scribus/scribus/plugins/import/ai/importai.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/ai/importai.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/ai/importai.cpp Mon Feb 21 22:59:25 2022
@@ -1360,7 +1360,7 @@
{
if (data.contains("~>"))
{
- dataString += data.sliced(1);
+ dataString += QStringView(data).sliced(1);
dataMode = false;
QByteArray fData;
decodeA85(fData, dataString);
@@ -1419,7 +1419,7 @@
currentSpecialPath.svgInit();
}
else
- dataString += data.sliced(1);
+ dataString += QStringView(data).sliced(1);
return;
}
getCommands(data, da);
More information about the scribus-commit
mailing list