summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/sdrhittesthelper.cxx
diff options
context:
space:
mode:
authorChristian Lippka <christian.lippka@sun.com>2010-03-02 19:50:13 +0100
committerChristian Lippka <christian.lippka@sun.com>2010-03-02 19:50:13 +0100
commit33ef17ed7207b82d8e6fe1fa4ddaec676092d0f1 (patch)
treeda0532f7b0be1c7980d50f20d78ff7f8649d3800 /svx/source/svdraw/sdrhittesthelper.cxx
parent478bee53c1de2d9625fb7c7cb72d13aa3b6e6f18 (diff)
added Visible property for shapes
Diffstat (limited to 'svx/source/svdraw/sdrhittesthelper.cxx')
-rw-r--r--svx/source/svdraw/sdrhittesthelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/sdrhittesthelper.cxx b/svx/source/svdraw/sdrhittesthelper.cxx
index 473c09b10f5d..58eef58a9fd6 100644
--- a/svx/source/svdraw/sdrhittesthelper.cxx
+++ b/svx/source/svdraw/sdrhittesthelper.cxx
@@ -60,7 +60,7 @@ SdrObject* SdrObjectPrimitiveHit(
}
else
{
- if(!pVisiLayer || pVisiLayer->IsSet(rObject.GetLayer()))
+ if( rObject.IsVisible() && (!pVisiLayer || pVisiLayer->IsSet(rObject.GetLayer())))
{
// single object, 3d object, empty scene or empty group. Check if
// it's a single 3D object