fix crash when copy'ing latent plugins
[ardour.git] / libs / canvas / flag.cc
index 87c3cc281c86043fdf075f21497d67b2df8d9974..2d0bdb28305bb764a6215a60977c5627da8eff92 100644 (file)
@@ -43,7 +43,7 @@ Flag::Flag (Item* parent, Distance height, Color outline_color, Color fill_color
        setup (height, position);
 }
 
-void 
+void
 Flag::setup (Distance height, Duple position)
 {
        _text = new Text (this);
@@ -77,7 +77,7 @@ Flag::set_text (string const & text)
        assert (bbox);
 
        Duple flag_size (bbox.get().width() + 10, bbox.get().height() + 4);
-       
+
        if (_invert) {
                const Distance h = fabs(_line->y1() - _line->y0());
                _text->set_position (Duple (5, h - flag_size.y + 2));
@@ -108,7 +108,7 @@ Flag::covers (Duple const & point) const
 {
        if (_rectangle) {
                return _rectangle->covers (point);
-       } 
+       }
 
        return false;
 }