diff options
| author | MenTaLguY <mental@rydia.net> | 2007-03-11 21:50:28 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2007-03-11 21:50:28 +0000 |
| commit | d062d856d58079a0786442230537579332b94754 (patch) | |
| tree | 93b70dbc1311e28c12113cbc44e7a763af26c650 /src/selection-chemistry.cpp | |
| parent | ban empty rectangles entirely and remove isEmpty test (diff) | |
| download | inkscape-d062d856d58079a0786442230537579332b94754.tar.gz inkscape-d062d856d58079a0786442230537579332b94754.zip | |
argh, missed selection-chemistry somehow
(bzr r2607)
Diffstat (limited to 'src/selection-chemistry.cpp')
| -rw-r--r-- | src/selection-chemistry.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index 5fa5b0d7e..bc9ebe7a5 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -1527,7 +1527,7 @@ sp_selection_scale_absolute(Inkscape::Selection *selection, return; NR::Maybe<NR::Rect> const bbox(selection->bounds()); - if ( !bbox || bbox->isEmpty() ) { + if ( !bbox ) { return; } @@ -1550,7 +1550,7 @@ void sp_selection_scale_relative(Inkscape::Selection *selection, NR::Point const NR::Maybe<NR::Rect> const bbox(selection->bounds()); - if ( !bbox || bbox->isEmpty() ) { + if ( !bbox ) { return; } @@ -2202,7 +2202,7 @@ sp_selection_tile(bool apply) sp_document_ensure_up_to_date(document); NR::Maybe<NR::Rect> r = selection->bounds(); - if ( !r || r->isEmpty() ) { + if ( !r ) { return; } |
