r21113 by craig -
scribus-commit
scribus-commit at lists.scribus.net
Thu Mar 24 06:08:55 UTC 2016
Author: craig
Date: Thu Mar 24 06:08:55 2016
New Revision: 21113
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21113
Log:
CID 1357147: Remove dead code
Modified:
trunk/Scribus/scribus/plugins/export/svgexplugin/svgexplugin.cpp
Modified: trunk/Scribus/scribus/plugins/export/svgexplugin/svgexplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21113&path=/trunk/Scribus/scribus/plugins/export/svgexplugin/svgexplugin.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/export/svgexplugin/svgexplugin.cpp (original)
+++ trunk/Scribus/scribus/plugins/export/svgexplugin/svgexplugin.cpp Thu Mar 24 06:08:55 2016
@@ -1259,19 +1259,7 @@
ob.appendChild(ob1);
}
}
- bool bFound = false;
- if (bFound)
- {
- QDomElement cl;
- QDomElement ob2 = createClipPathElement(&Item->PoLine, &cl);
- if (!ob2.isNull())
- {
- ob2.setAttribute("clipPathUnits", "userSpaceOnUse");
- ob2.setAttribute("clip-rule", "evenodd");
- }
- if (!ob2.isNull())
- ob.setAttribute("clip-path", "url(#" + ob2.attribute("id") + ")");
- }
+
SvgPainter p(trans, this, ob);
Item->textLayout.renderBackground(&p);
Item->textLayout.render(&p);
More information about the scribus-commit
mailing list