Use PBD::to_string from pbd/string_convert.h in WaveView debug code
[ardour.git] / libs / canvas / root_group.cc
index accbcb9b3030775a09945f5f7b0cb28df16f94b1..d9249a2c890db69cf09aee2f98a8674c61ddc65a 100644 (file)
@@ -28,7 +28,7 @@ Root::Root (Canvas* canvas)
 {
 #ifdef CANVAS_DEBUG
        name = "ROOT";
-#endif 
+#endif
 }
 
 void
@@ -37,7 +37,7 @@ Root::compute_bounding_box () const
        Container::compute_bounding_box ();
 
        if (_bounding_box) {
-               Rect r (_bounding_box.get());
+               Rect r (_bounding_box);
                _canvas->request_size (Duple (r.width (), r.height ()));
        }
 }