TechDraw - SVG changes via DOM manipulation instead of Regex replace
This commit is contained in:
committed by
WandererFan
parent
ab22418878
commit
c67ffc9f44
@@ -50,6 +50,7 @@
|
||||
|
||||
#include <QDebug>
|
||||
|
||||
#include "DrawUtil.h"
|
||||
#include "DrawPage.h"
|
||||
#include "DrawSVGTemplate.h"
|
||||
|
||||
@@ -290,7 +291,6 @@ std::map<std::string, std::string> DrawSVGTemplate::getEditableTextsFromTemplate
|
||||
return editables;
|
||||
}
|
||||
|
||||
|
||||
QDomDocument templateDocument;
|
||||
if (!templateDocument.setContent(&templateFile)) {
|
||||
Base::Console().Message("DrawSVGTemplate::getEditableTextsFromTemplate() - failed to parse file: %s\n",
|
||||
|
||||
Reference in New Issue
Block a user