summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2007-03-11 21:50:28 +0000
committermental <mental@users.sourceforge.net>2007-03-11 21:50:28 +0000
commitd062d856d58079a0786442230537579332b94754 (patch)
tree93b70dbc1311e28c12113cbc44e7a763af26c650 /src/selection-chemistry.cpp
parentban empty rectangles entirely and remove isEmpty test (diff)
downloadinkscape-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.cpp6
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;
}