From 70dcb712d89b98453c4ea6e4868c88af8d2887e4 Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Sat, 17 Mar 2007 19:00:45 +0000 Subject: re-introduce isEmpty tests (bzr r2679) --- src/widgets/icon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets/icon.cpp') diff --git a/src/widgets/icon.cpp b/src/widgets/icon.cpp index b9ed94c0c..9be74a556 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 ) { + if ( dbox && !dbox->isEmpty() ) { NRGC gc(NULL); /* Update to renderable state */ double sf = 1.0; -- cgit v1.2.3