Code

Merge and cleanup of GSoC C++-ification project.
[inkscape.git] / src / live_effects / lpegroupbbox.cpp
index 3820b5ba741c1ff8bee27a5e40f723fd0e081b81..e6fc95f866e2ec01aee2ed4b09c12e1757f2bb65 100644 (file)
@@ -1,7 +1,6 @@
-#define INKSCAPE_LPEGROUPBBOX_CPP
-
 /*
  * Copyright (C) Steren Giannini 2008 <steren.giannini@gmail.com>
+ *   Abhishek Sharma
  *
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
@@ -31,7 +30,7 @@ GroupBBoxEffect::original_bbox(SPLPEItem *lpeitem, bool absolute)
     
     Geom::Matrix transform;
     if (absolute) {
-        transform = sp_item_i2doc_affine(item);
+        transform = item->i2doc_affine();
     }
     else {
         transform = Geom::identity();