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

List:       kde-commits
Subject:    branches/work/khtml-svg (silent)
From:       Nikolas Zimmermann <wildfox () kde ! org>
Date:       2006-03-27 13:46:31
Message-ID: 1143467191.294227.3515.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 523134 by wildfox:

SVN_SILENT: some minor cleanups & less noise


 M  +3 -2      rendering/render_style.cpp  
 M  +2 -2      rendering/render_svg_style.cpp  
 M  +0 -9      xml/dom_docimpl.cpp  


--- branches/work/khtml-svg/rendering/render_style.cpp #523133:523134
@@ -24,13 +24,14 @@
  *
  */
 
+#include <kdebug.h>
+
 #include "xml/dom_stringimpl.h"
 #include "css/cssstyleselector.h"
 #include "css/css_valueimpl.h"
+
 #include "render_style.h"
 
-#include "kdebug.h"
-
 using namespace khtml;
 using namespace DOM;
 
--- branches/work/khtml-svg/rendering/render_svg_style.cpp #523133:523134
@@ -32,7 +32,7 @@
 
 SVGRenderStyle *SVGRenderStyle::s_defaultStyle = 0;
 
-SVGRenderStyle::SVGRenderStyle()
+SVGRenderStyle::SVGRenderStyle() : khtml::Shared<SVGRenderStyle>()
 {
     if(!s_defaultStyle)    
         s_defaultStyle = new SVGRenderStyle(true);
@@ -48,7 +48,7 @@
     setBitDefaults();
 }
 
-SVGRenderStyle::SVGRenderStyle(bool)
+SVGRenderStyle::SVGRenderStyle(bool) : khtml::Shared<SVGRenderStyle>()
 {
     setBitDefaults();
 
--- branches/work/khtml-svg/xml/dom_docimpl.cpp #523133:523134
@@ -86,8 +86,6 @@
 #include "dom_docimpl.h"
 
 #if SVG_SUPPORT
-#include "misc/svgtags.h"
-
 #include "svg/SVGSVGElementImpl.h"
 #include "svg/SVGRectElementImpl.h"
 #include "svg/SVGCircleElementImpl.h"
@@ -994,38 +992,31 @@
 {
     uint id = khtml::getTagID( name.string().lower().toLatin1().constData(), name.string().length() );
 
-    kDebug() << "GOT ID \"" << id << "\" for name \"" << name.string() << "\"" << endl;
-
     ElementImpl *n = 0;
     switch(id)
     {
 		case SVGID_SVG:
 		{
-			kDebug() << "CREATING <svg> ELEMENT!" << endl;
 			n = new KSVG::SVGSVGElementImpl(docPtr());
 			break;
 		}
 		case SVGID_RECT:
 		{
-			kDebug() << "CREATING <rect> ELEMENT!" << endl;
 			n = new KSVG::SVGRectElementImpl(docPtr());
 			break;
 		}
 		case SVGID_CIRCLE:
 		{
-			kDebug() << "CREATING <circle> ELEMENT!" << endl;
 			n = new KSVG::SVGCircleElementImpl(docPtr());
 			break;
 		}
 		case SVGID_ELLIPSE:
 		{
-			kDebug() << "CREATING <ellipse> ELEMENT!" << endl;
 			n = new KSVG::SVGEllipseElementImpl(docPtr());
 			break;
 		}
 		case SVGID_G:
 		{
-			kDebug() << "CREATING <g> ELEMENT!" << endl;
 			n = new KSVG::SVGGElementImpl(docPtr());
 			break;
 		}
[prev in list] [next in list] [prev in thread] [next in thread] 

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