summaryrefslogtreecommitdiffstats
path: root/ksvg/plugin/svgcreator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksvg/plugin/svgcreator.cpp')
-rw-r--r--ksvg/plugin/svgcreator.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/ksvg/plugin/svgcreator.cpp b/ksvg/plugin/svgcreator.cpp
index 21d687be..521a8b88 100644
--- a/ksvg/plugin/svgcreator.cpp
+++ b/ksvg/plugin/svgcreator.cpp
@@ -54,7 +54,7 @@ bool SVGCreator::create(const TQString &path, int width, int height, TQImage &im
{
KSVG::SVGDocumentImpl *doc = new KSVG::SVGDocumentImpl(false, true);
doc->ref();
-
+
TQPixmap pix(width, height);
pix.fill(TQt::white);
@@ -67,8 +67,9 @@ bool SVGCreator::create(const TQString &path, int width, int height, TQImage &im
m_finished = false;
- while(!m_finished)
+ while(!m_finished) {
kapp->processOneEvent();
+ }
doc->deref();