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

List:       kde-commits
Subject:    kdenonbeta/ksvg/core
From:       Peter Kelly <pmk () post ! com>
Date:       2003-02-21 14:09:24
[Download RAW message or body]

CVS commit by pmk: 

Fixed compilation with libart_lgpl-2.3.11

Could someone on the KSVG team verify this? I'm unsure if it's the correct
fix...


  M +2 -2      KSVGRenderObject.cpp   1.43


--- kdenonbeta/ksvg/core/KSVGRenderObject.cpp  #1.42:1.43
@@ -548,5 +548,5 @@ ArtDRect RenderPath::getBBox(bool dynami
                 {
                         ArtVpath *vpath = art_vpath_from_svp(m_strokeSVP);
-                        art_vpath_bbox_drect(vpath, &m_bbox);
+                        art_vpath_bbox_drect(vpath, &const_cast<RenderPath*>(this)->m_bbox);
                         art_free(vpath);
                 }
@@ -554,5 +554,5 @@ ArtDRect RenderPath::getBBox(bool dynami
                 {
                         ArtVpath *vpath = art_vpath_from_svp(m_fillSVP);
-                        art_vpath_bbox_drect(vpath, &m_bbox);
+                        art_vpath_bbox_drect(vpath, &const_cast<RenderPath*>(this)->m_bbox);
                         art_free(vpath);
                 }


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

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