summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 96d6bc6)
raw | patch | inline | side by side (parent: 96d6bc6)
author | mental <mental@users.sourceforge.net> | |
Sun, 11 Mar 2007 21:50:28 +0000 (21:50 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Sun, 11 Mar 2007 21:50:28 +0000 (21:50 +0000) |
src/selection-chemistry.cpp | patch | blob | history |
index 5fa5b0d7ed83bff3c052cfe146571290b7ca83b5..bc9ebe7a5a60bcd481bcdeb6888d0ba7423c5d76 100644 (file)
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;
}
sp_document_ensure_up_to_date(document);
NR::Maybe<NR::Rect> r = selection->bounds();
- if ( !r || r->isEmpty() ) {
+ if ( !r ) {
return;
}