diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 15:47:11 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 15:47:11 +0000 |
commit | 9d2fc6b6ac9571f2e3a36da466e70ca80fbd3da4 (patch) | |
tree | 1a78c5a69989d6c35558ab4e12b1cbfd6a345f10 /svx/source/svdraw/svdsnpv.cxx | |
parent | 08622eab0be228e0d34e584a3357364fa5d1798b (diff) |
INTEGRATION: CWS warnings01 (1.8.220); FILE MERGED
2006/02/23 19:32:23 aw 1.8.220.1: #i55991# Adaptions to warning free code
Diffstat (limited to 'svx/source/svdraw/svdsnpv.cxx')
-rw-r--r-- | svx/source/svdraw/svdsnpv.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/svdraw/svdsnpv.cxx b/svx/source/svdraw/svdsnpv.cxx index ce8b2b9a5907..99823c36fcb4 100644 --- a/svx/source/svdraw/svdsnpv.cxx +++ b/svx/source/svdraw/svdsnpv.cxx @@ -4,9 +4,9 @@ * * $RCSfile: svdsnpv.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: rt $ $Date: 2005-09-09 00:40:04 $ + * last change: $Author: hr $ $Date: 2006-06-19 16:47:11 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -96,8 +96,8 @@ SdrSnapView::SdrSnapView(SdrModel* pModel1, OutputDevice* pOut): ClearVars(); } -SdrSnapView::SdrSnapView(SdrModel* pModel1, XOutputDevice* pXOut): - SdrPaintView(pModel1,pXOut) +SdrSnapView::SdrSnapView(SdrModel* pModel1, XOutputDevice* _pXOut): + SdrPaintView(pModel1,_pXOut) { ClearVars(); } @@ -548,7 +548,7 @@ BOOL SdrSnapView::BegDragHelpLine(const Point& rPnt, SdrHelpLineKind eNewKind, O void SdrSnapView::SetDraggedHelpLineKind(SdrHelpLineKind eNewKind) { if (bDragHelpLine) { - BOOL bVis=aDragStat.IsShown(); + //BOOL bVis=aDragStat.IsShown(); HideDragHelpLine(pDragWin); aDragHelpLine.SetKind(eNewKind); aDragStat.SetMinMoved(); @@ -649,11 +649,11 @@ void SdrSnapView::DrawDragHelpLine(OutputDevice* pOut) const if (pPV!=NULL) { const SdrHelpLineList& rList = pPV->GetHelpLines(); - sal_uInt16 nAnz = rList.GetCount(),i; + sal_uInt16 nAnz = rList.GetCount(),j; - for(i=0; i<nAnz; i++) + for(j=0; j<nAnz; j++) { - const SdrHelpLine rHelpLine = rList[i]; + const SdrHelpLine rHelpLine = rList[j]; // check if we already drawn a help line like this one if( aDragHelpLine.IsVisibleEqual( rHelpLine, *pO) ) |