diff --git a/libs/canvas/box.cc b/libs/canvas/box.cc index 6f3a3b2dc0..6e42ff094b 100644 --- a/libs/canvas/box.cc +++ b/libs/canvas/box.cc @@ -256,7 +256,7 @@ Box::layout () if (yes_do_it) { reposition_children (); - compute_bounding_box (); + (void) bounding_box (); const double w = std::max (requested_width, _bounding_box.width()); const double h = std::max (requested_height, _bounding_box.height()); diff --git a/libs/canvas/grid.cc b/libs/canvas/grid.cc index b5b2b5bf08..5b76894945 100644 --- a/libs/canvas/grid.cc +++ b/libs/canvas/grid.cc @@ -162,7 +162,7 @@ void Grid::reset_bg () { if (_bounding_box_dirty) { - compute_bounding_box (); + (void) bounding_box (); } if (!_bounding_box) { diff --git a/libs/canvas/polygon.cc b/libs/canvas/polygon.cc index 215d51ce6f..6751a1851f 100644 --- a/libs/canvas/polygon.cc +++ b/libs/canvas/polygon.cc @@ -129,7 +129,7 @@ Polygon::covers (Duple const & point) const bool oddNodes = false; if (_bounding_box_dirty) { - compute_bounding_box (); + (void) bounding_box (); } for (i = 0; i < npoints; i++) {