summaryrefslogtreecommitdiff
path: root/svx/source/svdraw
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2002-03-07 08:49:27 +0000
committerArmin Weiss <aw@openoffice.org>2002-03-07 08:49:27 +0000
commit3467986740e73a7990fe888418c2a998c98139c0 (patch)
tree636c4420b9195e17a9616a80cd4dd60eac0ba2d2 /svx/source/svdraw
parent15b47343a670870a1aa7677347310ac4d74fad32 (diff)
#97981# go back to IM_DEEPNOGROUPS runthrough for snap to object comparisons
Diffstat (limited to 'svx/source/svdraw')
-rw-r--r--svx/source/svdraw/svdsnpv.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdsnpv.cxx b/svx/source/svdraw/svdsnpv.cxx
index 90b41d26baaf..b3ec5973aed2 100644
--- a/svx/source/svdraw/svdsnpv.cxx
+++ b/svx/source/svdraw/svdsnpv.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svdsnpv.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:01:26 $
+ * last change: $Author: aw $ $Date: 2002-03-07 09:49:27 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -281,7 +281,11 @@ USHORT SdrSnapView::SnapPos(Point& rPnt, const SdrPageView* pPV) const
if (bOFrmSnap || bOPntSnap /*|| (bConnVisible && bOConSnap)*/) {
ULONG nMaxPointSnapCount=200;
ULONG nMaxFrameSnapCount=200;
- SdrObjListIter aIter(*pPV->GetPage(),IM_FLAT/*IM_DEEPNOGROUPS*/,TRUE);
+
+ // #97981# go back to IM_DEEPNOGROUPS runthrough for snap to object comparisons
+ // SdrObjListIter aIter(*pPV->GetPage(),IM_FLAT/*IM_DEEPNOGROUPS*/,TRUE);
+ SdrObjListIter aIter(*pPV->GetPage(),/*IM_FLAT*/IM_DEEPNOGROUPS,TRUE);
+
while (aIter.IsMore() && (nMaxPointSnapCount>0 || nMaxFrameSnapCount>0)) {
SdrObject* pO=aIter.Next();
Rectangle aRect(pO->GetBoundRect());