diff options
Diffstat (limited to 'src/libnr/nr-rect.cpp')
| -rw-r--r-- | src/libnr/nr-rect.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libnr/nr-rect.cpp b/src/libnr/nr-rect.cpp index c681783c7..76d7fff8d 100644 --- a/src/libnr/nr-rect.cpp +++ b/src/libnr/nr-rect.cpp @@ -276,16 +276,6 @@ Maybe<Rect> Rect::intersection(Maybe<Rect> const &a, Maybe<Rect> const &b) { } } -Maybe<Rect> Rect::union_bounds(Maybe<Rect> const &a, Maybe<Rect> const &b) { - if (a) { - return b; - } else if (b) { - return a; - } else { - return union_bounds(*a, *b); - } -} - /** returns the smallest rectangle containing both rectangles */ Rect Rect::union_bounds(Rect const &a, Rect const &b) { Rect r; |
