Code

switch from invokeBbox to getBounds (need to fix problems with empty
[inkscape.git] / src / sp-conn-end-pair.cpp
index 40f939e25a596eb92492de255bbf774d42bd3e38..25466a4a4d5de6daf4af48c497801f7ca039737a 100644 (file)
@@ -164,7 +164,7 @@ SPConnEndPair::getEndpoints(NR::Point endPts[]) const {
 
     for (unsigned h = 0; h < 2; ++h) {
         if ( h2attItem[h] ) {
-            NR::Rect const bbox = h2attItem[h]->invokeBbox(sp_item_i2doc_affine(h2attItem[h]));
+            NR::Rect const bbox = h2attItem[h]->getBounds(sp_item_i2doc_affine(h2attItem[h]));
             endPts[h] = bbox.midpoint();
         }
         else