summaryrefslogtreecommitdiff
path: root/svx/source/xoutdev/_xpoly.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 16:05:41 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 16:05:41 +0000
commit2e0ecb9b7c0096be5830c5be9cf343e2f78c13ba (patch)
tree11ccd6f45eaf881a99631eb789bc123907ca37ee /svx/source/xoutdev/_xpoly.cxx
parent0d9b497f918e77a358b277f76a0918d7d360bd13 (diff)
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
Diffstat (limited to 'svx/source/xoutdev/_xpoly.cxx')
-rw-r--r--svx/source/xoutdev/_xpoly.cxx14
1 files changed, 5 insertions, 9 deletions
diff --git a/svx/source/xoutdev/_xpoly.cxx b/svx/source/xoutdev/_xpoly.cxx
index 87df801975e6..2c2830f7014d 100644
--- a/svx/source/xoutdev/_xpoly.cxx
+++ b/svx/source/xoutdev/_xpoly.cxx
@@ -4,9 +4,9 @@
*
* $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 terms of GNU Lesser General Public License Version 2.1.
@@ -42,8 +42,6 @@
#include <tools/debug.hxx>
#include <tools/poly.hxx>
-#pragma hdrstop
-
#include "xoutx.hxx"
#include "xpoly.hxx"
#include "xpolyimp.hxx"
@@ -87,13 +85,13 @@ DBG_NAME(XPolyPolygon);
|*
*************************************************************************/
-ImpXPolygon::ImpXPolygon( USHORT nInitSize, USHORT nResize )
+ImpXPolygon::ImpXPolygon( USHORT nInitSize, USHORT _nResize )
{
pPointAry = NULL;
pFlagAry = NULL;
bDeleteOldPoints = FALSE;
nSize = 0;
- ImpXPolygon::nResize = nResize;
+ nResize = _nResize;
nPoints = 0;
nRefCount = 1;
@@ -245,8 +243,6 @@ void ImpXPolygon::Resize( USHORT nNewSize, BOOL bDeletePoints )
void ImpXPolygon::InsertSpace( USHORT nPos, USHORT nCount )
{
- USHORT nOldSize = nSize;
-
CheckPointDelete();
if ( nPos > nPoints )
@@ -1111,7 +1107,7 @@ void XPolygon::CalcSmoothJoin(USHORT nCenter, USHORT nDrag, USHORT nPnt)
{
CheckReference();
- USHORT nMaxPnt = pImpXPolygon->nPoints - 1;
+// USHORT nMaxPnt = pImpXPolygon->nPoints - 1;
// if ( nCenter == nMaxPnt ) nPnt = 1;
// else if ( nCenter == 0 ) nPnt = nMaxPnt - 1;