fix for previous commit

preferencesAboutTextFull
Ivan Ilin 13 years ago
parent f13cceb40f
commit cb8cfcf8ab
  1. 2
      src/adaptors/UBCFFSubsetAdaptor.cpp
  2. 8
      src/adaptors/UBSvgSubsetAdaptor.cpp

@ -43,7 +43,7 @@
#include <QDomDocument> #include <QDomDocument>
#include "core/memcheck.h" #include "core/memcheck.h"
#include "qtlogger.h" //#include "qtlogger.h"
//tag names definition. Use them everiwhere! //tag names definition. Use them everiwhere!
static QString tElement = "element"; static QString tElement = "element";

@ -53,7 +53,7 @@
#include "pdf/PDFRenderer.h" #include "pdf/PDFRenderer.h"
#include "core/memcheck.h" #include "core/memcheck.h"
#include "qtlogger.h" //#include "qtlogger.h"
const QString UBSvgSubsetAdaptor::nsSvg = "http://www.w3.org/2000/svg"; const QString UBSvgSubsetAdaptor::nsSvg = "http://www.w3.org/2000/svg";
const QString UBSvgSubsetAdaptor::nsXHtml = "http://www.w3.org/1999/xhtml"; const QString UBSvgSubsetAdaptor::nsXHtml = "http://www.w3.org/1999/xhtml";
@ -2259,9 +2259,9 @@ void UBSvgSubsetAdaptor::UBSvgSubsetWriter::textItemToSvg(UBGraphicsTextItem* it
mXmlWriter.writeEndElement(); //foreignObject mXmlWriter.writeEndElement(); //foreignObject
QtLogger::start("/home/ilia/Documents/tmp/10/log.log"); // QtLogger::start("/home/ilia/Documents/tmp/10/log.log");
QtLogger::appendl(item->toHtml()); // QtLogger::appendl(item->toHtml());
QtLogger::finish(); // QtLogger::finish();
} }
UBGraphicsTextItem* UBSvgSubsetAdaptor::UBSvgSubsetReader::textItemFromSvg() UBGraphicsTextItem* UBSvgSubsetAdaptor::UBSvgSubsetReader::textItemFromSvg()

Loading…
Cancel
Save