summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 77eda57)
raw | patch | inline | side by side (parent: 77eda57)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Tue, 5 Aug 2008 18:16:06 +0000 (18:16 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Tue, 5 Aug 2008 18:16:06 +0000 (18:16 +0000) |
src/display/nr-filter.cpp | patch | blob | history |
index f7a04fd50383541d17dbd62f395b26ff993299a5..0e608e901c3a32cf01d8e276c72aadb152e9aa6a 100644 (file)
FilterSlot slot(_slot_count, item);
Rect item_bbox;
- try {
- item_bbox = *item->item_bbox;
- } catch (NR::IsNothing) {
+ if (item->item_bbox) {
+ item_bbox = *(item->item_bbox);
+ } else {
// Bounding box might not exist, so create a dummy one.
Point zero(0, 0);
item_bbox = Rect(zero, zero);