[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdegraphics/ksvg/plugin
From:       Rob Buis <rwlbuis () xs4all ! nl>
Date:       2003-11-23 20:14:12
[Download RAW message or body]

CVS commit by buis: 


Fixes crash when svg loading fails and no root Element is created. Thanks to Koos Vriezen
for mentioning this problem.


  M +2 -1      ksvg_plugin.cpp   1.106


--- kdegraphics/ksvg/plugin/ksvg_plugin.cpp  #1.105:1.106
@@ -146,4 +146,5 @@ KSVGPlugin::~KSVGPlugin()
         kdDebug(26003) << "KSVGPlugin::~KSVGPlugin" << endl;
 
+        if(ksvgd->doc->rootElement())
         ksvgd->doc->rootElement()->pauseAnimations();
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic