summaryrefslogtreecommitdiffstats
path: root/src/helper/pixbuf-ops.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper/pixbuf-ops.cpp')
-rw-r--r--src/helper/pixbuf-ops.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helper/pixbuf-ops.cpp b/src/helper/pixbuf-ops.cpp
index 1e43df5f3..3be63aa68 100644
--- a/src/helper/pixbuf-ops.cpp
+++ b/src/helper/pixbuf-ops.cpp
@@ -26,6 +26,7 @@
#include <document.h>
#include <sp-item.h>
#include <sp-root.h>
+#include <sp-use.h>
#include <sp-defs.h>
#include "unit-constants.h"
@@ -47,6 +48,7 @@ hide_other_items_recursively(SPObject *o, GSList *list, unsigned dkey)
&& !SP_IS_DEFS(o)
&& !SP_IS_ROOT(o)
&& !SP_IS_GROUP(o)
+ && !SP_IS_USE(o)
&& !g_slist_find(list, o) )
{
sp_item_invoke_hide(SP_ITEM(o), dkey);