r23771 by jghali - Fix missing text frame background when exporting to XPS file

scribus-commit scribus-commit at lists.scribus.net
Mon May 11 15:44:29 UTC 2020


Author: jghali
Date: Mon May 11 15:44:28 2020
New Revision: 23771

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23771
Log:
Fix missing text frame background when exporting to XPS file

Modified:
    trunk/Scribus/scribus/plugins/export/xpsexport/xpsexplugin.cpp

Modified: trunk/Scribus/scribus/plugins/export/xpsexport/xpsexplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23771&path=/trunk/Scribus/scribus/plugins/export/xpsexport/xpsexplugin.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/export/xpsexport/xpsexplugin.cpp	(original)
+++ trunk/Scribus/scribus/plugins/export/xpsexport/xpsexplugin.cpp	Mon May 11 15:44:28 2020
@@ -1110,7 +1110,9 @@
 		}
 	}
 
-//	parentElem.appendChild(grp);
+	if (grp.hasChildNodes())
+		parentElem.appendChild(grp);
+
 	if (Item->itemText.length() != 0)
 	{
 		QDomElement grp2 = p_docu.createElement("Canvas");




More information about the scribus-commit mailing list