diff options
| author | MenTaLguY <mental@rydia.net> | 2007-03-11 21:41:42 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2007-03-11 21:41:42 +0000 |
| commit | 7146a6c31b8507c9dfba86d3e91fa8c42e955e06 (patch) | |
| tree | 8b2af16f2ed3611f9ac3ec26dfcd34694ed974ed /src/sp-offset.cpp | |
| parent | Eliminate remaining sources of empty NR::Rects (diff) | |
| download | inkscape-7146a6c31b8507c9dfba86d3e91fa8c42e955e06.tar.gz inkscape-7146a6c31b8507c9dfba86d3e91fa8c42e955e06.zip | |
ban empty rectangles entirely and remove isEmpty test
(bzr r2606)
Diffstat (limited to 'src/sp-offset.cpp')
| -rw-r--r-- | src/sp-offset.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-offset.cpp b/src/sp-offset.cpp index e682f394b..ed4db90b7 100644 --- a/src/sp-offset.cpp +++ b/src/sp-offset.cpp @@ -585,7 +585,7 @@ sp_offset_set_shape(SPShape *shape) SPItem *item = shape; NR::Maybe<NR::Rect> bbox = sp_item_bbox_desktop (item); - if ( bbox && !bbox->isEmpty() ) { + if ( bbox ) { gdouble size = L2(bbox->dimensions()); gdouble const exp = NR::expansion(item->transform); if (exp != 0) |
