diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-10-06 17:39:28 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-10-06 17:39:28 +0000 |
commit | 910c9378cb7e7f5dcc185ddcd726a026a22b29c0 (patch) | |
tree | ecdbdceb259a766f31a734dd14138ca442963765 /svx | |
parent | 75c6c6598574523b6d6c2b0d6354f2981a46a334 (diff) |
INTEGRATION: CWS net2003 (1.15.46); FILE MERGED
2003/08/13 08:34:11 obo 1.15.46.1: #11136# .net 2003
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdmrkv.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx index 7cf2d0d4ccfc..5224d3fe50a1 100644 --- a/svx/source/svdraw/svdmrkv.cxx +++ b/svx/source/svdraw/svdmrkv.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svdmrkv.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: vg $ $Date: 2003-07-04 13:29:48 $ + * last change: $Author: vg $ $Date: 2003-10-06 18:39:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -931,9 +931,10 @@ void SdrMarkView::SetMarkHandles() USHORT nAnz=(USHORT)pMrkGlue->GetCount(); for (USHORT nNum=0; nNum<nAnz; nNum++) { USHORT nId=pMrkGlue->GetObject(nNum); - USHORT nNum=pGPL->FindGluePoint(nId); - if (nNum!=SDRGLUEPOINT_NOTFOUND) { - const SdrGluePoint& rGP=(*pGPL)[nNum]; + //nNum changed to nNumGP because already used in for loop + USHORT nNumGP=pGPL->FindGluePoint(nId); + if (nNumGP!=SDRGLUEPOINT_NOTFOUND) { + const SdrGluePoint& rGP=(*pGPL)[nNumGP]; Point aPos(rGP.GetAbsolutePos(*pObj)); SdrHdl* pGlueHdl=new SdrHdl(aPos,HDL_GLUE); pGlueHdl->SetObj(pObj); |