Kaydet (Commit) 2e0ecb9b authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS warnings01 (1.10.220); FILE MERGED

2006/04/19 17:33:06 cl 1.10.220.2: warning free code changes
2006/03/10 17:42:57 aw 1.10.220.1: #i55991# warning free changes for unxsol
üst 0d9b497f
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: _xpoly.cxx,v $ * $RCSfile: _xpoly.cxx,v $
* *
* $Revision: 1.10 $ * $Revision: 1.11 $
* *
* last change: $Author: rt $ $Date: 2005-09-09 01:18:08 $ * last change: $Author: hr $ $Date: 2006-06-19 17:05:41 $
* *
* 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.
...@@ -42,8 +42,6 @@ ...@@ -42,8 +42,6 @@
#include <tools/debug.hxx> #include <tools/debug.hxx>
#include <tools/poly.hxx> #include <tools/poly.hxx>
#pragma hdrstop
#include "xoutx.hxx" #include "xoutx.hxx"
#include "xpoly.hxx" #include "xpoly.hxx"
#include "xpolyimp.hxx" #include "xpolyimp.hxx"
...@@ -87,13 +85,13 @@ DBG_NAME(XPolyPolygon); ...@@ -87,13 +85,13 @@ DBG_NAME(XPolyPolygon);
|* |*
*************************************************************************/ *************************************************************************/
ImpXPolygon::ImpXPolygon( USHORT nInitSize, USHORT nResize ) ImpXPolygon::ImpXPolygon( USHORT nInitSize, USHORT _nResize )
{ {
pPointAry = NULL; pPointAry = NULL;
pFlagAry = NULL; pFlagAry = NULL;
bDeleteOldPoints = FALSE; bDeleteOldPoints = FALSE;
nSize = 0; nSize = 0;
ImpXPolygon::nResize = nResize; nResize = _nResize;
nPoints = 0; nPoints = 0;
nRefCount = 1; nRefCount = 1;
...@@ -245,8 +243,6 @@ void ImpXPolygon::Resize( USHORT nNewSize, BOOL bDeletePoints ) ...@@ -245,8 +243,6 @@ void ImpXPolygon::Resize( USHORT nNewSize, BOOL bDeletePoints )
void ImpXPolygon::InsertSpace( USHORT nPos, USHORT nCount ) void ImpXPolygon::InsertSpace( USHORT nPos, USHORT nCount )
{ {
USHORT nOldSize = nSize;
CheckPointDelete(); CheckPointDelete();
if ( nPos > nPoints ) if ( nPos > nPoints )
...@@ -1111,7 +1107,7 @@ void XPolygon::CalcSmoothJoin(USHORT nCenter, USHORT nDrag, USHORT nPnt) ...@@ -1111,7 +1107,7 @@ void XPolygon::CalcSmoothJoin(USHORT nCenter, USHORT nDrag, USHORT nPnt)
{ {
CheckReference(); CheckReference();
USHORT nMaxPnt = pImpXPolygon->nPoints - 1; // USHORT nMaxPnt = pImpXPolygon->nPoints - 1;
// if ( nCenter == nMaxPnt ) nPnt = 1; // if ( nCenter == nMaxPnt ) nPnt = 1;
// else if ( nCenter == 0 ) nPnt = nMaxPnt - 1; // else if ( nCenter == 0 ) nPnt = nMaxPnt - 1;
......
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