Kaydet (Commit) 9d2fc6b6 authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

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
üst 08622eab
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: svdsnpv.cxx,v $ * $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 Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -96,8 +96,8 @@ SdrSnapView::SdrSnapView(SdrModel* pModel1, OutputDevice* pOut): ...@@ -96,8 +96,8 @@ SdrSnapView::SdrSnapView(SdrModel* pModel1, OutputDevice* pOut):
ClearVars(); ClearVars();
} }
SdrSnapView::SdrSnapView(SdrModel* pModel1, XOutputDevice* pXOut): SdrSnapView::SdrSnapView(SdrModel* pModel1, XOutputDevice* _pXOut):
SdrPaintView(pModel1,pXOut) SdrPaintView(pModel1,_pXOut)
{ {
ClearVars(); ClearVars();
} }
...@@ -548,7 +548,7 @@ BOOL SdrSnapView::BegDragHelpLine(const Point& rPnt, SdrHelpLineKind eNewKind, O ...@@ -548,7 +548,7 @@ BOOL SdrSnapView::BegDragHelpLine(const Point& rPnt, SdrHelpLineKind eNewKind, O
void SdrSnapView::SetDraggedHelpLineKind(SdrHelpLineKind eNewKind) void SdrSnapView::SetDraggedHelpLineKind(SdrHelpLineKind eNewKind)
{ {
if (bDragHelpLine) { if (bDragHelpLine) {
BOOL bVis=aDragStat.IsShown(); //BOOL bVis=aDragStat.IsShown();
HideDragHelpLine(pDragWin); HideDragHelpLine(pDragWin);
aDragHelpLine.SetKind(eNewKind); aDragHelpLine.SetKind(eNewKind);
aDragStat.SetMinMoved(); aDragStat.SetMinMoved();
...@@ -649,11 +649,11 @@ void SdrSnapView::DrawDragHelpLine(OutputDevice* pOut) const ...@@ -649,11 +649,11 @@ void SdrSnapView::DrawDragHelpLine(OutputDevice* pOut) const
if (pPV!=NULL) if (pPV!=NULL)
{ {
const SdrHelpLineList& rList = pPV->GetHelpLines(); 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 // check if we already drawn a help line like this one
if( aDragHelpLine.IsVisibleEqual( rHelpLine, *pO) ) if( aDragHelpLine.IsVisibleEqual( rHelpLine, *pO) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment