summaryrefslogtreecommitdiffstats
path: root/src/widgets/icon.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2007-03-11 21:41:42 +0000
committermental <mental@users.sourceforge.net>2007-03-11 21:41:42 +0000
commit7146a6c31b8507c9dfba86d3e91fa8c42e955e06 (patch)
tree8b2af16f2ed3611f9ac3ec26dfcd34694ed974ed /src/widgets/icon.cpp
parentEliminate remaining sources of empty NR::Rects (diff)
downloadinkscape-7146a6c31b8507c9dfba86d3e91fa8c42e955e06.tar.gz
inkscape-7146a6c31b8507c9dfba86d3e91fa8c42e955e06.zip
ban empty rectangles entirely and remove isEmpty test
(bzr r2606)
Diffstat (limited to 'src/widgets/icon.cpp')
-rw-r--r--src/widgets/icon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/icon.cpp b/src/widgets/icon.cpp
index 9be74a556..b9ed94c0c 100644
--- a/src/widgets/icon.cpp
+++ b/src/widgets/icon.cpp
@@ -623,7 +623,7 @@ sp_icon_doc_icon( SPDocument *doc, NRArenaItem *root,
}
/* This is in document coordinates, i.e. pixels */
- if ( dbox && !dbox->isEmpty() ) {
+ if ( dbox ) {
NRGC gc(NULL);
/* Update to renderable state */
double sf = 1.0;