summaryrefslogtreecommitdiff
path: root/svx/source/xoutdev
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/xoutdev')
-rw-r--r--svx/source/xoutdev/_xoutbmp.cxx3
-rw-r--r--svx/source/xoutdev/_xpoly.cxx377
-rw-r--r--svx/source/xoutdev/xattr.cxx838
-rw-r--r--svx/source/xoutdev/xattr2.cxx655
-rw-r--r--svx/source/xoutdev/xattrbmp.cxx97
-rw-r--r--svx/source/xoutdev/xexch.cxx3
-rw-r--r--svx/source/xoutdev/xpool.cxx3
-rw-r--r--svx/source/xoutdev/xtabbtmp.cxx3
-rw-r--r--svx/source/xoutdev/xtabcolr.cxx7
-rw-r--r--svx/source/xoutdev/xtabdash.cxx3
-rw-r--r--svx/source/xoutdev/xtabgrdt.cxx3
-rw-r--r--svx/source/xoutdev/xtabhtch.cxx3
-rw-r--r--svx/source/xoutdev/xtable.cxx4
-rw-r--r--svx/source/xoutdev/xtablend.cxx4
14 files changed, 260 insertions, 1743 deletions
diff --git a/svx/source/xoutdev/_xoutbmp.cxx b/svx/source/xoutdev/_xoutbmp.cxx
index 6862f33fb7..5ad4aff8e1 100644
--- a/svx/source/xoutdev/_xoutbmp.cxx
+++ b/svx/source/xoutdev/_xoutbmp.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -766,3 +767,5 @@ BOOL DitherBitmap( Bitmap& rBitmap )
return bRet;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/xoutdev/_xpoly.cxx b/svx/source/xoutdev/_xpoly.cxx
index db8d644fd0..d8eeca127d 100644
--- a/svx/source/xoutdev/_xpoly.cxx
+++ b/svx/source/xoutdev/_xpoly.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -51,10 +52,6 @@ DBG_NAME(XPolyPolygon);
|*
|* ImpXPolygon::ImpXPolygon()
|*
-|* Beschreibung
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung 12.01.95 ESO
-|*
*************************************************************************/
ImpXPolygon::ImpXPolygon( USHORT nInitSize, USHORT _nResize )
@@ -74,10 +71,6 @@ ImpXPolygon::ImpXPolygon( USHORT nInitSize, USHORT _nResize )
|*
|* ImpXPolygon::ImpXPolygon()
|*
-|* Beschreibung
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung 12.01.95 ESO
-|*
*************************************************************************/
ImpXPolygon::ImpXPolygon( const ImpXPolygon& rImpXPoly )
@@ -104,10 +97,6 @@ ImpXPolygon::ImpXPolygon( const ImpXPolygon& rImpXPoly )
|*
|* ImpXPolygon::~ImpXPolygon()
|*
-|* Beschreibung
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung 12.01.95 ESO
-|*
*************************************************************************/
ImpXPolygon::~ImpXPolygon()
@@ -122,9 +111,6 @@ ImpXPolygon::~ImpXPolygon()
|*
|* ImpXPolygon::operator==()
|*
-|* Ersterstellung Joe 26-09-95
-|* Letzte Aenderung
-|*
*************************************************************************/
@@ -147,8 +133,6 @@ bool ImpXPolygon::operator==(const ImpXPolygon& rImpXPoly) const
|* Damit wird verhindert, dass bei XPoly[n] = XPoly[0] durch ein
|* Resize der fuer den rechten Ausdruck verwendete Point-Array
|* vorzeitig geloescht wird.
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung 12.01.95 ESO
|*
*************************************************************************/
@@ -207,10 +191,6 @@ void ImpXPolygon::Resize( USHORT nNewSize, BOOL bDeletePoints )
|*
|* ImpXPolygon::InsertSpace()
|*
-|* Beschreibung
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung 29.03.95 ESO
-|*
*************************************************************************/
void ImpXPolygon::InsertSpace( USHORT nPos, USHORT nCount )
@@ -244,10 +224,6 @@ void ImpXPolygon::InsertSpace( USHORT nPos, USHORT nCount )
|*
|* ImpXPolygon::Remove()
|*
-|* Beschreibung
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung 12.01.94 ESO
-|*
*************************************************************************/
void ImpXPolygon::Remove( USHORT nPos, USHORT nCount )
@@ -275,10 +251,6 @@ void ImpXPolygon::Remove( USHORT nPos, USHORT nCount )
|*
|* XPolygon::XPolygon()
|*
-|* Beschreibung
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung 08.11.94
-|*
*************************************************************************/
XPolygon::XPolygon( USHORT nSize, USHORT nResize )
@@ -291,10 +263,6 @@ XPolygon::XPolygon( USHORT nSize, USHORT nResize )
|*
|* XPolygon::XPolygon()
|*
-|* Beschreibung
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung 08.11.94
-|*
*************************************************************************/
XPolygon::XPolygon( const XPolygon& rXPoly )
@@ -309,8 +277,6 @@ XPolygon::XPolygon( const XPolygon& rXPoly )
|* XPolygon::XPolygon()
|*
|* XPolygon aus einem Standardpolygon erstellen
-|* Ersterstellung 18.01.95 ESO
-|* Letzte Aenderung 18.01.95 ESO
|*
*************************************************************************/
@@ -334,8 +300,6 @@ XPolygon::XPolygon( const Polygon& rPoly )
|* XPolygon::XPolygon()
|*
|* Rechteck (auch mit abgerundeten Ecken) als Bezierpolygon erzeugen
-|* Ersterstellung 09.01.95 ESO
-|* Letzte Aenderung 09.01.95 ESO
|*
*************************************************************************/
@@ -404,8 +368,6 @@ XPolygon::XPolygon(const Rectangle& rRect, long nRx, long nRy)
|* XPolygon::XPolygon()
|*
|* Ellipsen(bogen) als Bezierpolygon erzeugen
-|* Ersterstellung 09.01.95
-|* Letzte Aenderung 09.01.95
|*
*************************************************************************/
@@ -454,10 +416,6 @@ XPolygon::XPolygon(const Point& rCenter, long nRx, long nRy,
|*
|* XPolygon::~XPolygon()
|*
-|* Beschreibung
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung 08.11.94
-|*
*************************************************************************/
XPolygon::~XPolygon()
@@ -474,8 +432,6 @@ XPolygon::~XPolygon()
|* XPolygon::CheckReference()
|*
|* Referenzzaehler desImpXPoly pruefen und ggf. von diesem abkoppeln
-|* Ersterstellung 17.01.95 ESO
-|* Letzte Aenderung 17.01.95 ESO
|*
*************************************************************************/
@@ -492,10 +448,6 @@ void XPolygon::CheckReference()
|*
|* XPolygon::SetSize()
|*
-|* Beschreibung
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung 08.11.94
-|*
*************************************************************************/
void XPolygon::SetSize( USHORT nNewSize )
@@ -508,10 +460,6 @@ void XPolygon::SetSize( USHORT nNewSize )
|*
|* XPolygon::GetSize()
|*
-|* Beschreibung
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung 12.01.95 ESO
-|*
*************************************************************************/
USHORT XPolygon::GetSize() const
@@ -524,10 +472,6 @@ USHORT XPolygon::GetSize() const
|*
|* XPolygon::SetPointCount()
|*
-|* Beschreibung
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung 12.01.95 ESO
-|*
*************************************************************************/
void XPolygon::SetPointCount( USHORT nPoints )
@@ -551,10 +495,6 @@ void XPolygon::SetPointCount( USHORT nPoints )
|*
|* XPolygon::GetPointCount()
|*
-|* Beschreibung
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung 12.01.95 ESO
-|*
*************************************************************************/
USHORT XPolygon::GetPointCount() const
@@ -567,10 +507,6 @@ USHORT XPolygon::GetPointCount() const
|*
|* XPolygon::Insert()
|*
-|* Beschreibung
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung 08.11.94
-|*
*************************************************************************/
void XPolygon::Insert( USHORT nPos, const Point& rPt, XPolyFlags eFlags )
@@ -586,10 +522,6 @@ void XPolygon::Insert( USHORT nPos, const Point& rPt, XPolyFlags eFlags )
|*
|* XPolygon::Insert()
|*
-|* Beschreibung
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung 08.11.94
-|*
*************************************************************************/
void XPolygon::Insert( USHORT nPos, const XPolygon& rXPoly )
@@ -613,10 +545,6 @@ void XPolygon::Insert( USHORT nPos, const XPolygon& rXPoly )
|*
|* XPolygon::Insert()
|*
-|* Beschreibung
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung 08.11.94
-|*
*************************************************************************/
void XPolygon::Insert( USHORT nPos, const Polygon& rPoly )
@@ -639,10 +567,6 @@ void XPolygon::Insert( USHORT nPos, const Polygon& rPoly )
|*
|* XPolygon::Remove()
|*
-|* Beschreibung
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung 08.11.94
-|*
*************************************************************************/
void XPolygon::Remove( USHORT nPos, USHORT nCount )
@@ -655,10 +579,6 @@ void XPolygon::Remove( USHORT nPos, USHORT nCount )
|*
|* XPolygon::Move()
|*
-|* Beschreibung
-|* Ersterstellung 09.11.94
-|* Letzte Aenderung 09.11.94
-|*
*************************************************************************/
void XPolygon::Move( long nHorzMove, long nVertMove )
@@ -682,10 +602,6 @@ void XPolygon::Move( long nHorzMove, long nVertMove )
|*
|* XPolygon::GetBoundRect()
|*
-|* Beschreibung
-|* Ersterstellung 09.11.94
-|* Letzte Aenderung 12.01.95 ESO
-|*
*************************************************************************/
Rectangle XPolygon::GetBoundRect() const
@@ -714,10 +630,6 @@ Rectangle XPolygon::GetBoundRect() const
|*
|* XPolygon::operator[]()
|*
-|* Beschreibung
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung 12.01.95
-|*
*************************************************************************/
const Point& XPolygon::operator[]( USHORT nPos ) const
@@ -732,10 +644,6 @@ const Point& XPolygon::operator[]( USHORT nPos ) const
|*
|* XPolygon::operator[]()
|*
-|* Beschreibung
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung 12.01.95 ESO
-|*
*************************************************************************/
Point& XPolygon::operator[]( USHORT nPos )
@@ -759,8 +667,6 @@ Point& XPolygon::operator[]( USHORT nPos )
|* XPolygon::operator=()
|*
|* Beschreibung Zuweisungsoperator
-|* Ersterstellung ESO 22.11.94
-|* Letzte Aenderung ESO 12.01.95
|*
*************************************************************************/
@@ -784,8 +690,6 @@ XPolygon& XPolygon::operator=( const XPolygon& rXPoly )
|* XPolygon::operator==()
|*
|* Beschreibung Gleichheitsoperator
-|* Ersterstellung ESO 22.11.94
-|* Letzte Aenderung Joe 26.09.95
|*
*************************************************************************/
@@ -801,8 +705,6 @@ BOOL XPolygon::operator==( const XPolygon& rXPoly ) const
|* XPolygon::operator!=()
|*
|* Beschreibung Ungleichheitsoperator
-|* Ersterstellung ESO 22.11.94
-|* Letzte Aenderung Joe 26.09.95
|*
*************************************************************************/
@@ -818,8 +720,6 @@ BOOL XPolygon::operator!=( const XPolygon& rXPoly ) const
|* XPolygon::GetFlags()
|*
|* Flags fuer den Punkt an der Position nPos zurueckgeben
-|* Ersterstellung ESO 11.11.94
-|* Letzte Aenderung ESO 12.01.95
|*
*************************************************************************/
@@ -834,8 +734,6 @@ XPolyFlags XPolygon::GetFlags( USHORT nPos ) const
|* XPolygon::SetFlags()
|*
|* Flags fuer den Punkt an der Position nPos setzen
-|* Ersterstellung ESO 11.11.94
-|* Letzte Aenderung ESO 12.01.95
|*
*************************************************************************/
@@ -851,8 +749,6 @@ void XPolygon::SetFlags( USHORT nPos, XPolyFlags eFlags )
|* XPolygon::IsControl()
|*
|* Kurzform zur Abfrage des CONTROL-Flags
-|* Ersterstellung ESO 09.01.95
-|* Letzte Aenderung ESO 12.01.95
|*
*************************************************************************/
@@ -866,8 +762,6 @@ BOOL XPolygon::IsControl(USHORT nPos) const
|* XPolygon::IsSmooth()
|*
|* Kurzform zur Abfrage von SMOOTH- und SYMMTR-Flag
-|* Ersterstellung ESO 18.04.95
-|* Letzte Aenderung ESO 18.04.95
|*
*************************************************************************/
@@ -882,8 +776,6 @@ BOOL XPolygon::IsSmooth(USHORT nPos) const
|* XPolygon::CalcDistance()
|*
|* Abstand zwischen zwei Punkten berechnen
-|* Ersterstellung ESO 09.01.95
-|* Letzte Aenderung ESO 09.01.95
|*
*************************************************************************/
@@ -901,8 +793,6 @@ double XPolygon::CalcDistance(USHORT nP1, USHORT nP2)
|* XPolygon::SubdivideBezier()
|*
|* Bezierkurve unterteilen
-|* Ersterstellung ESO 09.01.95
-|* Letzte Aenderung ESO 09.01.95
|*
*************************************************************************/
@@ -1029,8 +919,6 @@ BOOL XPolygon::CheckAngles(USHORT& nStart, USHORT nEnd, USHORT& nA1, USHORT& nA2
|* Pnt = der zu modifizierende Punkt
|* Wenn Center am Anfang bzw. Ende des Polygons liegt, wird Pnt
|* auf die entgegengesetzte Seite verlegt
-|* Ersterstellung ESO 09.01.95
-|* Letzte Aenderung ESO 18.04.95
|*
\************************************************************************/
@@ -1076,8 +964,6 @@ void XPolygon::CalcSmoothJoin(USHORT nCenter, USHORT nDrag, USHORT nPnt)
|* Center = End- bzw. Anfangspunkt der Bezierkurven
|* Prev = vorheriger Zugpunkt
|* Next = naechster Zugpunkt
-|* Ersterstellung ESO 09.01.95
-|* Letzte Aenderung ESO 18.04.95
|*
\************************************************************************/
@@ -1114,8 +1000,6 @@ void XPolygon::CalcTangent(USHORT nCenter, USHORT nPrev, USHORT nNext)
|* XPolygon::PointsToBezier()
|*
|* wandelt vier Polygonpunkte in eine Bezierkurve durch diese Punkte um
-|* Ersterstellung ESO 09.01.95
-|* Letzte Aenderung ESO 09.01.95
|*
\************************************************************************/
@@ -1192,8 +1076,6 @@ void XPolygon::PointsToBezier(USHORT nFirst)
|* XPolygon::Translate()
|*
|* Polygon auf den uebergebenen Punkt verschieben
-|* Ersterstellung ESO 17.01.95
-|* Letzte Aenderung ESO 17.01.95
|*
*************************************************************************/
@@ -1214,8 +1096,6 @@ void XPolygon::Translate(const Point& rTrans)
|*
|* Alle Punkte um den Punkt rCenter drehen, Sinus und Cosinus
|* muessen uebergeben werden
-|* Ersterstellung ESO 09.01.95
-|* Letzte Aenderung ESO 17.01.95
|*
*************************************************************************/
@@ -1265,8 +1145,6 @@ void XPolygon::Rotate(const Point& rCenter, double fSin, double fCos)
|*
|* Alle Punkte um den Punkt rCenter mit dem Winkel nAngle drehen
|* Winkel in 10tel Grad, Wertebereich 0 - 3600
-|* Ersterstellung ESO 17.01.95
-|* Letzte Aenderung ESO 17.01.95
|*
*************************************************************************/
@@ -1288,8 +1166,6 @@ void XPolygon::Rotate(const Point& rCenter, USHORT nAngle)
|* XPolygon::Scale()
|*
|* XPolygon in X- und/oder Y-Richtung skalieren
-|* Ersterstellung ESO 01.02.95
-|* Letzte Aenderung ESO 01.02.95
|*
*************************************************************************/
@@ -1314,8 +1190,6 @@ void XPolygon::Scale(double fSx, double fSy)
|*
|* XPolygon in X-Richtung um einen beliebigen Winkel kippen,
|* bezogen auf eine Referenz-Y-Koordinate
-|* Ersterstellung ESO 01.02.95
-|* Letzte Aenderung ESO 01.02.95
|*
*************************************************************************/
@@ -1341,8 +1215,6 @@ void XPolygon::SlantX(long nYRef, double fSin, double fCos)
|*
|* XPolygon in Y-Richtung um einen beliebigen Winkel kippen,
|* bezogen auf eine Referenz-X-Koordinate
-|* Ersterstellung ESO 01.02.95
-|* Letzte Aenderung ESO 01.02.95
|*
*************************************************************************/
@@ -1373,8 +1245,6 @@ void XPolygon::SlantY(long nXRef, double fSin, double fCos)
|* 1: rechts oben | |
|* 2: rechts unten 3----2
|* 3: links unten
-|* Ersterstellung ESO 07.07.95
-|* Letzte Aenderung ESO 07.07.95
|*
*************************************************************************/
@@ -1384,9 +1254,8 @@ void XPolygon::Distort(const Rectangle& rRefRect,
pImpXPolygon->CheckPointDelete();
CheckReference();
- long Xr, Wr, X1, X2, X3, X4;
- long Yr, Hr, Y1, Y2, Y3, Y4;
- double fTx, fTy, fUx, fUy;
+ long Xr, Wr;
+ long Yr, Hr;
Xr = rRefRect.Left();
Yr = rRefRect.Top();
@@ -1395,6 +1264,8 @@ void XPolygon::Distort(const Rectangle& rRefRect,
if ( Wr && Hr )
{
+ long X1, X2, X3, X4;
+ long Y1, Y2, Y3, Y4;
DBG_ASSERT(rDistortedRect.pImpXPolygon->nPoints >= 4,
"Distort-Rechteck zu klein");
@@ -1411,6 +1282,7 @@ void XPolygon::Distort(const Rectangle& rRefRect,
for (USHORT i = 0; i < nPntCnt; i++)
{
+ double fTx, fTy, fUx, fUy;
Point& rPnt = pImpXPolygon->pPointAry[i];
fTx = (double)(rPnt.X() - Xr) / Wr;
@@ -1443,17 +1315,14 @@ void XPolygon::Rotate20()
long nPntCnt = pImpXPolygon->nPoints;
long nIndex0 = 0;
- for (long nPoints = 1;
- nPoints < nPntCnt;
- nPoints ++)
+ for (long nPoints = 1; nPoints < nPntCnt; ++nPoints)
{
- Point &rPnt = pImpXPolygon->pPointAry[nPoints];
+ const Point &rPnt = pImpXPolygon->pPointAry[nPoints];
- if ((rPnt.X () < fMinX) || (fMinX == rPnt.X ()) &&
- (fMinY >= rPnt.Y ()))
+ if ( (rPnt.X() < fMinX) || (fMinX == rPnt.X() && fMinY >= rPnt.Y()) )
{
- fMinX = rPnt.X ();
- fMinY = rPnt.Y ();
+ fMinX = rPnt.X();
+ fMinY = rPnt.Y();
nIndex0 = nPoints;
}
}
@@ -1475,7 +1344,7 @@ basegfx::B2DPolygon XPolygon::getB2DPolygon() const
// the long run
DBG_ASSERT(pImpXPolygon != 0, "XPolygon::getB2DPolygon(): XPolygon has no implementation incarnated (!)");
const Polygon aSource(GetPointCount(), pImpXPolygon->pPointAry, pImpXPolygon->pFlagAry);
-
+
return aSource.getB2DPolygon();
}
@@ -1507,8 +1376,6 @@ XPolygon::XPolygon(const basegfx::B2DPolygon& rPolygon)
|* ImpXPolyPolygon::ImpXPolyPolygon()
|*
|* Beschreibung Erzeugt das XPolygon-Array
-|* Ersterstellung CL 09.11.94
-|* Letzte Aenderung MM 09.11.94
|*
*************************************************************************/
@@ -1518,12 +1385,8 @@ ImpXPolyPolygon::ImpXPolyPolygon( const ImpXPolyPolygon& rImpXPolyPoly ) :
nRefCount = 1;
// Einzelne Elemente duplizieren
- XPolygon* pXPoly = aXPolyList.First();
- while ( pXPoly )
- {
- aXPolyList.Replace( new XPolygon( *(aXPolyList.GetCurObject()) ) );
- pXPoly = aXPolyList.Next();
- }
+ for ( size_t i = 0, n = aXPolyList.size(); i < n; ++i )
+ aXPolyList[ i ] = new XPolygon( *aXPolyList[ i ] );
}
@@ -1532,40 +1395,32 @@ ImpXPolyPolygon::ImpXPolyPolygon( const ImpXPolyPolygon& rImpXPolyPoly ) :
|* ImpXPolyPolygon::~ImpXPolyPolygon()
|*
|* Beschreibung Loescht das Polygon-Array
-|* Ersterstellung CL 09.06.93
-|* Letzte Aenderung CL 09.06.93
|*
*************************************************************************/
ImpXPolyPolygon::~ImpXPolyPolygon()
{
- XPolygon* pXPoly = aXPolyList.First();
- while( pXPoly )
- {
- delete pXPoly;
- pXPoly = aXPolyList.Next();
- }
+ for ( size_t i = 0, n = aXPolyList.size(); i < n; ++i )
+ delete aXPolyList[ i ];
+ aXPolyList.clear();
}
/*************************************************************************
|*
|* ImpXPolyPolygon::operator==()
|*
-|* Ersterstellung Joe 26-09-95
-|* Letzte Aenderung
-|*
*************************************************************************/
-
bool ImpXPolyPolygon::operator==(const ImpXPolyPolygon& rImpXPolyPoly) const
{
- USHORT nAnz=(USHORT)aXPolyList.Count();
- const XPolygonList& rCmpList=rImpXPolyPoly.aXPolyList;
- if (nAnz!=(USHORT)rCmpList.Count()) return FALSE;
+ size_t nAnz = aXPolyList.size();
+ const XPolygonList& rCmpList = rImpXPolyPoly.aXPolyList;
+ if ( nAnz != rCmpList.size() ) return FALSE;
bool bEq=true;
- for (USHORT i=nAnz; i>0 && bEq;) {
+ for ( size_t i = nAnz; i > 0 && bEq; )
+ {
i--;
- bEq= *aXPolyList.GetObject(i) == *rCmpList.GetObject(i);
+ bEq = ( *aXPolyList[ i ] == *rCmpList[ i ] );
}
return bEq;
}
@@ -1574,16 +1429,12 @@ bool ImpXPolyPolygon::operator==(const ImpXPolyPolygon& rImpXPolyPoly) const
|*
|* XPolyPolygon::XPolyPolygon()
|*
-|* Beschreibung POLY.SDW
-|* Ersterstellung CL 27.01.93
-|* Letzte Aenderung CL 27.01.93
-|*
*************************************************************************/
-XPolyPolygon::XPolyPolygon( USHORT nInitSize, USHORT nResize )
+XPolyPolygon::XPolyPolygon( USHORT /* nInitSize */, USHORT /* nResize */ )
{
DBG_CTOR(XPolyPolygon,NULL);
- pImpXPolyPolygon = new ImpXPolyPolygon( nInitSize, nResize );
+ pImpXPolyPolygon = new ImpXPolyPolygon();
}
@@ -1591,27 +1442,19 @@ XPolyPolygon::XPolyPolygon( USHORT nInitSize, USHORT nResize )
|*
|* XPolyPolygon::XPolyPolygon()
|*
-|* Beschreibung POLY.SDW
-|* Ersterstellung CL 27.01.93
-|* Letzte Aenderung CL 27.01.93
-|*
*************************************************************************/
XPolyPolygon::XPolyPolygon( const XPolygon& rXPoly )
{
DBG_CTOR(XPolyPolygon,NULL);
- pImpXPolyPolygon = new ImpXPolyPolygon;
- pImpXPolyPolygon->aXPolyList.Insert( new XPolygon( rXPoly ) );
+ pImpXPolyPolygon = new ImpXPolyPolygon();
+ pImpXPolyPolygon->aXPolyList.push_back( new XPolygon( rXPoly ) );
}
/*************************************************************************
|*
|* XPolyPolygon::XPolyPolygon()
|*
-|* Beschreibung POLY.SDW
-|* Ersterstellung CL 27.01.93
-|* Letzte Aenderung CL 27.01.93
-|*
*************************************************************************/
XPolyPolygon::XPolyPolygon( const XPolyPolygon& rXPolyPoly )
@@ -1626,8 +1469,6 @@ XPolyPolygon::XPolyPolygon( const XPolyPolygon& rXPolyPoly )
|* XPolyPolygon::XPolyPolygon()
|*
|* XPolyPolygon aus einen Standard-PolyPolygon erzeugen
-|* Ersterstellung 18.01.95 ESO
-|* Letzte Aenderung 18.01.95 ESO
|*
*************************************************************************/
@@ -1637,7 +1478,7 @@ XPolyPolygon::XPolyPolygon( const PolyPolygon& rPolyPoly )
pImpXPolyPolygon = new ImpXPolyPolygon;
for (USHORT i = 0; i < rPolyPoly.Count(); i++)
- pImpXPolyPolygon->aXPolyList.Insert(
+ pImpXPolyPolygon->aXPolyList.push_back(
new XPolygon(rPolyPoly.GetObject(i)) );
}
@@ -1645,10 +1486,6 @@ XPolyPolygon::XPolyPolygon( const PolyPolygon& rPolyPoly )
|*
|* XPolyPolygon::~XPolyPolygon()
|*
-|* Beschreibung POLY.SDW
-|* Ersterstellung CL 27.01.93
-|* Letzte Aenderung CL 27.01.93
-|*
*************************************************************************/
XPolyPolygon::~XPolyPolygon()
@@ -1665,8 +1502,6 @@ XPolyPolygon::~XPolyPolygon()
|* XPolygon::CheckReference()
|*
|* Referenzzaehler desImpXPolyPoly pruefen und ggf. von diesem abkoppeln
-|* Ersterstellung 18.01.95 ESO
-|* Letzte Aenderung 18.01.95 ESO
|*
*************************************************************************/
@@ -1683,17 +1518,20 @@ void XPolyPolygon::CheckReference()
|*
|* XPolyPolygon::Insert()
|*
-|* Beschreibung POLY.SDW
-|* Ersterstellung CL 27.01.93
-|* Letzte Aenderung CL 27.01.93
-|*
*************************************************************************/
void XPolyPolygon::Insert( const XPolygon& rXPoly, USHORT nPos )
{
CheckReference();
XPolygon* pXPoly = new XPolygon( rXPoly );
- pImpXPolyPolygon->aXPolyList.Insert( pXPoly, nPos );
+ if ( nPos < pImpXPolyPolygon->aXPolyList.size() )
+ {
+ XPolygonList::iterator it = pImpXPolyPolygon->aXPolyList.begin();
+ ::std::advance( it, nPos );
+ pImpXPolyPolygon->aXPolyList.insert( it, pXPoly );
+ }
+ else
+ pImpXPolyPolygon->aXPolyList.push_back( pXPoly );
}
/*************************************************************************
@@ -1701,8 +1539,6 @@ void XPolyPolygon::Insert( const XPolygon& rXPoly, USHORT nPos )
|* XPolyPolygon::Insert()
|*
|* saemtliche XPolygone aus einem XPolyPolygon einfuegen
-|* Ersterstellung 18.01.95 ESO
-|* Letzte Aenderung 18.01.95 ESO
|*
*************************************************************************/
@@ -1710,12 +1546,19 @@ void XPolyPolygon::Insert( const XPolyPolygon& rXPolyPoly, USHORT nPos )
{
CheckReference();
- for (USHORT i = 0; i < rXPolyPoly.Count(); i++)
+ for ( size_t i = 0; i < rXPolyPoly.Count(); i++)
{
- XPolygon* pXPoly = new XPolygon(rXPolyPoly[i]);
- pImpXPolyPolygon->aXPolyList.Insert(pXPoly, nPos);
- if ( nPos != XPOLYPOLY_APPEND )
+ XPolygon* pXPoly = new XPolygon( rXPolyPoly[i] );
+
+ if ( nPos < pImpXPolyPolygon->aXPolyList.size() )
+ {
+ XPolygonList::iterator it = pImpXPolyPolygon->aXPolyList.begin();
+ ::std::advance( it, nPos );
+ pImpXPolyPolygon->aXPolyList.insert( it, pXPoly );
nPos++;
+ }
+ else
+ pImpXPolyPolygon->aXPolyList.push_back( pXPoly );
}
}
@@ -1723,16 +1566,15 @@ void XPolyPolygon::Insert( const XPolyPolygon& rXPolyPoly, USHORT nPos )
|*
|* XPolyPolygon::Remove()
|*
-|* Beschreibung POLY.SDW
-|* Ersterstellung CL 27.01.93
-|* Letzte Aenderung CL 27.01.93
-|*
*************************************************************************/
XPolygon XPolyPolygon::Remove( USHORT nPos )
{
CheckReference();
- XPolygon* pTmpXPoly = pImpXPolyPolygon->aXPolyList.Remove( nPos );
+ XPolygonList::iterator it = pImpXPolyPolygon->aXPolyList.begin();
+ ::std::advance( it, nPos );
+ XPolygon* pTmpXPoly = *it;
+ pImpXPolyPolygon->aXPolyList.erase( it );
XPolygon aXPoly( *pTmpXPoly );
delete pTmpXPoly;
return aXPoly;
@@ -1743,17 +1585,14 @@ XPolygon XPolyPolygon::Remove( USHORT nPos )
|*
|* XPolyPolygon::Replace()
|*
-|* Beschreibung POLY.SDW
-|* Ersterstellung CL 27.01.93
-|* Letzte Aenderung CL 27.01.93
-|*
*************************************************************************/
XPolygon XPolyPolygon::Replace( const XPolygon& rXPoly, USHORT nPos )
{
CheckReference();
XPolygon* pXPoly = new XPolygon( rXPoly );
- XPolygon* pTmpXPoly = pImpXPolyPolygon->aXPolyList.Replace( pXPoly, nPos );
+ XPolygon* pTmpXPoly = pImpXPolyPolygon->aXPolyList[ nPos ];
+ pImpXPolyPolygon->aXPolyList[ nPos ] = pXPoly;
XPolygon aXPoly( *pTmpXPoly );
delete pTmpXPoly;
return aXPoly;
@@ -1764,15 +1603,11 @@ XPolygon XPolyPolygon::Replace( const XPolygon& rXPoly, USHORT nPos )
|*
|* XPolyPolygon::GetObject()
|*
-|* Beschreibung POLY.SDW
-|* Ersterstellung CL 27.01.93
-|* Letzte Aenderung CL 27.01.93
-|*
*************************************************************************/
const XPolygon& XPolyPolygon::GetObject( USHORT nPos ) const
{
- return *(pImpXPolyPolygon->aXPolyList.GetObject( nPos ));
+ return *(pImpXPolyPolygon->aXPolyList[ nPos ]);
}
@@ -1780,10 +1615,6 @@ const XPolygon& XPolyPolygon::GetObject( USHORT nPos ) const
|*
|* XPolyPolygon::Clear()
|*
-|* Beschreibung POLY.SDW
-|* Ersterstellung CL 27.01.93
-|* Letzte Aenderung TH 17.10.94
-|*
*************************************************************************/
void XPolyPolygon::Clear()
@@ -1795,13 +1626,9 @@ void XPolyPolygon::Clear()
}
else
{
- XPolygon* pXPoly = pImpXPolyPolygon->aXPolyList.First();
- while( pXPoly )
- {
- delete pXPoly;
- pXPoly = pImpXPolyPolygon->aXPolyList.Next();
- }
- pImpXPolyPolygon->aXPolyList.Clear();
+ for( size_t i = 0, n = pImpXPolyPolygon->aXPolyList.size(); i < n; ++i )
+ delete pImpXPolyPolygon->aXPolyList[ i ];
+ pImpXPolyPolygon->aXPolyList.clear();
}
}
@@ -1810,15 +1637,11 @@ void XPolyPolygon::Clear()
|*
|* XPolyPolygon::Count()
|*
-|* Beschreibung
-|* Ersterstellung CL 27.01.93
-|* Letzte Aenderung CL 27.01.93
-|*
*************************************************************************/
USHORT XPolyPolygon::Count() const
{
- return (USHORT)(pImpXPolyPolygon->aXPolyList.Count());
+ return (USHORT)( pImpXPolyPolygon->aXPolyList.size() );
}
@@ -1826,10 +1649,6 @@ USHORT XPolyPolygon::Count() const
|*
|* XPolyPolygon::Move()
|*
-|* Beschreibung POLY.SDW
-|* Ersterstellung TH 04.10.94
-|* Letzte Aenderung TH 04.10.94
-|*
*************************************************************************/
void XPolyPolygon::Move( long nHorzMove, long nVertMove )
@@ -1842,11 +1661,10 @@ void XPolyPolygon::Move( long nHorzMove, long nVertMove )
CheckReference();
// Punkte verschieben
- XPolygon* pXPoly = pImpXPolyPolygon->aXPolyList.First();
- while( pXPoly )
+ for ( size_t i = 0, n = pImpXPolyPolygon->aXPolyList.size(); i < n; ++i )
{
+ XPolygon* pXPoly = pImpXPolyPolygon->aXPolyList[ i ];
pXPoly->Move( nHorzMove, nVertMove );
- pXPoly = pImpXPolyPolygon->aXPolyList.Next();
}
}
@@ -1854,20 +1672,16 @@ void XPolyPolygon::Move( long nHorzMove, long nVertMove )
|*
|* XPolyPolygon::GetBoundRect()
|*
-|* Beschreibung POLY.SDW
-|* Ersterstellung TH 04.10.94
-|* Letzte Aenderung TH 04.10.94
-|*
*************************************************************************/
Rectangle XPolyPolygon::GetBoundRect() const
{
- USHORT nXPoly = (USHORT)pImpXPolyPolygon->aXPolyList.Count();
+ size_t nXPoly = pImpXPolyPolygon->aXPolyList.size();
Rectangle aRect;
- for ( USHORT n = 0; n < nXPoly; n++ )
+ for ( size_t n = 0; n < nXPoly; n++ )
{
- const XPolygon* pXPoly = pImpXPolyPolygon->aXPolyList.GetObject( n );
+ const XPolygon* pXPoly = pImpXPolyPolygon->aXPolyList[ n ];
aRect.Union( pXPoly->GetBoundRect() );
}
@@ -1879,26 +1693,18 @@ Rectangle XPolyPolygon::GetBoundRect() const
|*
|* XPolyPolygon::operator[]()
|*
-|* Beschreibung POLY.SDW
-|* Ersterstellung TH 28.10.94
-|* Letzte Aenderung TH 28.10.94
-|*
*************************************************************************/
XPolygon& XPolyPolygon::operator[]( USHORT nPos )
{
CheckReference();
- return *(pImpXPolyPolygon->aXPolyList.GetObject( nPos ));
+ return *( pImpXPolyPolygon->aXPolyList[ nPos ] );
}
/*************************************************************************
|*
|* XPolyPolygon::operator=()
|*
-|* Beschreibung POLY.SDW
-|* Ersterstellung CL 27.01.93
-|* Letzte Aenderung CL 27.01.93
-|*
*************************************************************************/
XPolyPolygon& XPolyPolygon::operator=( const XPolyPolygon& rXPolyPoly )
@@ -1919,10 +1725,6 @@ XPolyPolygon& XPolyPolygon::operator=( const XPolyPolygon& rXPolyPoly )
|*
|* XPolyPolygon::operator==()
|*
-|* Beschreibung POLY.SDW
-|* Ersterstellung CL 27.01.93
-|* Letzte Aenderung Joe 27.01.93
-|*
*************************************************************************/
BOOL XPolyPolygon::operator==( const XPolyPolygon& rXPolyPoly ) const
@@ -1936,10 +1738,6 @@ BOOL XPolyPolygon::operator==( const XPolyPolygon& rXPolyPoly ) const
|*
|* XPolyPolygon::operator!=()
|*
-|* Beschreibung POLY.SDW
-|* Ersterstellung CL 27.01.93
-|* Letzte Aenderung Joe 27.01.93
-|*
*************************************************************************/
BOOL XPolyPolygon::operator!=( const XPolyPolygon& rXPolyPoly ) const
@@ -1953,8 +1751,6 @@ BOOL XPolyPolygon::operator!=( const XPolyPolygon& rXPolyPoly ) const
|* XPolyPolygon::Translate()
|*
|* Alle Polygone auf den uebergebenen Punkt verschieben
-|* Ersterstellung ESO 25.01.95
-|* Letzte Aenderung ESO 25.01.95
|*
*************************************************************************/
@@ -1962,8 +1758,8 @@ void XPolyPolygon::Translate(const Point& rTrans)
{
CheckReference();
- for (USHORT i = 0; i < Count(); i++)
- pImpXPolyPolygon->aXPolyList.GetObject(i)->Translate(rTrans);
+ for (size_t i = 0; i < Count(); i++)
+ pImpXPolyPolygon->aXPolyList[ i ]->Translate(rTrans);
}
/*************************************************************************
@@ -1972,8 +1768,6 @@ void XPolyPolygon::Translate(const Point& rTrans)
|*
|* Alle Polygone um den Punkt rCenter drehen, Sinus und Cosinus
|* muessen uebergeben werden
-|* Ersterstellung ESO 25.01.95
-|* Letzte Aenderung ESO 25.01.95
|*
*************************************************************************/
@@ -1981,8 +1775,8 @@ void XPolyPolygon::Rotate(const Point& rCenter, double fSin, double fCos)
{
CheckReference();
- for (USHORT i = 0; i < Count(); i++)
- pImpXPolyPolygon->aXPolyList.GetObject(i)->Rotate(rCenter, fSin, fCos);
+ for (size_t i = 0; i < Count(); i++)
+ pImpXPolyPolygon->aXPolyList[ i ]->Rotate(rCenter, fSin, fCos);
}
/*************************************************************************
@@ -1996,8 +1790,8 @@ void XPolyPolygon::Rotate20()
{
CheckReference();
- for (USHORT i = 0; i < Count(); i++)
- pImpXPolyPolygon->aXPolyList.GetObject(i)->Rotate20();
+ for (size_t i = 0; i < Count(); i++)
+ pImpXPolyPolygon->aXPolyList[ i ]->Rotate20();
}
/*************************************************************************
@@ -2006,8 +1800,6 @@ void XPolyPolygon::Rotate20()
|*
|* Alle Poylgone um den Punkt rCenter mit dem Winkel nAngle drehen
|* Winkel in 10tel Grad, Wertebereich 0 - 3600
-|* Ersterstellung ESO 25.01.95
-|* Letzte Aenderung ESO 25.01.95
|*
*************************************************************************/
@@ -2029,8 +1821,6 @@ void XPolyPolygon::Rotate(const Point& rCenter, USHORT nAngle)
|* XPolyPolygon::Scale()
|*
|* Alle Polygone in X- und/oder Y-Richtung skalieren
-|* Ersterstellung ESO 01.02.95
-|* Letzte Aenderung ESO 01.02.95
|*
*************************************************************************/
@@ -2038,8 +1828,8 @@ void XPolyPolygon::Scale(double fSx, double fSy)
{
CheckReference();
- for (USHORT i = 0; i < Count(); i++)
- pImpXPolyPolygon->aXPolyList.GetObject(i)->Scale(fSx, fSy);
+ for (size_t i = 0; i < Count(); i++)
+ pImpXPolyPolygon->aXPolyList[ i ]->Scale(fSx, fSy);
}
/*************************************************************************
@@ -2048,8 +1838,6 @@ void XPolyPolygon::Scale(double fSx, double fSy)
|*
|* Alle Polygone in X-Richtung um einen beliebigen Winkel kippen,
|* bezogen auf eine Referenz-Y-Koordinate
-|* Ersterstellung ESO 01.02.95
-|* Letzte Aenderung ESO 01.02.95
|*
*************************************************************************/
@@ -2057,8 +1845,8 @@ void XPolyPolygon::SlantX(long nYRef, double fSin, double fCos)
{
CheckReference();
- for (USHORT i = 0; i < Count(); i++)
- pImpXPolyPolygon->aXPolyList.GetObject(i)->SlantX(nYRef, fSin, fCos);
+ for (size_t i = 0; i < Count(); i++)
+ pImpXPolyPolygon->aXPolyList[ i ]->SlantX(nYRef, fSin, fCos);
}
/*************************************************************************
@@ -2067,8 +1855,6 @@ void XPolyPolygon::SlantX(long nYRef, double fSin, double fCos)
|*
|* Alle Polygone in Y-Richtung um einen beliebigen Winkel kippen,
|* bezogen auf eine Referenz-X-Koordinate
-|* Ersterstellung ESO 01.02.95
-|* Letzte Aenderung ESO 01.02.95
|*
*************************************************************************/
@@ -2076,8 +1862,8 @@ void XPolyPolygon::SlantY(long nXRef, double fSin, double fCos)
{
CheckReference();
- for (USHORT i = 0; i < Count(); i++)
- pImpXPolyPolygon->aXPolyList.GetObject(i)->SlantY(nXRef, fSin, fCos);
+ for (size_t i = 0; i < Count(); i++)
+ pImpXPolyPolygon->aXPolyList[ i ]->SlantY(nXRef, fSin, fCos);
}
/*************************************************************************
@@ -2091,8 +1877,6 @@ void XPolyPolygon::SlantY(long nXRef, double fSin, double fCos)
|* 1: rechts oben | |
|* 2: rechts unten 3----2
|* 3: links unten
-|* Ersterstellung ESO 07.07.95
-|* Letzte Aenderung ESO 07.07.95
|*
*************************************************************************/
@@ -2101,9 +1885,8 @@ void XPolyPolygon::Distort(const Rectangle& rRefRect,
{
CheckReference();
- for (USHORT i = 0; i < Count(); i++)
- pImpXPolyPolygon->aXPolyList.GetObject(i)->Distort(rRefRect,
- rDistortedRect);
+ for (size_t i = 0; i < Count(); i++)
+ pImpXPolyPolygon->aXPolyList[ i ]->Distort(rRefRect, rDistortedRect);
}
basegfx::B2DPolyPolygon XPolyPolygon::getB2DPolyPolygon() const
@@ -2122,7 +1905,7 @@ basegfx::B2DPolyPolygon XPolyPolygon::getB2DPolyPolygon() const
XPolyPolygon::XPolyPolygon(const basegfx::B2DPolyPolygon& rPolyPolygon)
{
DBG_CTOR(XPolyPolygon,NULL);
- pImpXPolyPolygon = new ImpXPolyPolygon( 16, 16 );
+ pImpXPolyPolygon = new ImpXPolyPolygon();
for(sal_uInt32 a(0L); a < rPolyPolygon.count(); a++)
{
@@ -2133,3 +1916,5 @@ XPolyPolygon::XPolyPolygon(const basegfx::B2DPolyPolygon& rPolyPolygon)
}
// eof
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx
index c8629bc834..31c455088a 100644
--- a/svx/source/xoutdev/xattr.cxx
+++ b/svx/source/xoutdev/xattr.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109,10 +110,6 @@ long ScaleMetricValue( long nVal, long nMul, long nDiv )
|*
|* NameOrIndex::NameOrIndex(USHORT nWhich, INT32 nIndex)
|*
-|* Beschreibung
-|* Ersterstellung 14.11.94
-|* Letzte Aenderung 14.11.94
-|*
*************************************************************************/
NameOrIndex::NameOrIndex(USHORT _nWhich, INT32 nIndex) :
@@ -125,10 +122,6 @@ NameOrIndex::NameOrIndex(USHORT _nWhich, INT32 nIndex) :
|*
|* NameOrIndex::NameOrIndex(USHORT nWhich, const String& rName)
|*
-|* Beschreibung
-|* Ersterstellung 14.11.94
-|* Letzte Aenderung 14.11.94
-|*
*************************************************************************/
NameOrIndex::NameOrIndex(USHORT _nWhich, const XubString& rName) :
@@ -141,10 +134,6 @@ NameOrIndex::NameOrIndex(USHORT _nWhich, const XubString& rName) :
|*
|* NameOrIndex::NameOrIndex(USHORT nWhich, SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 14.11.94
-|* Letzte Aenderung 14.11.94
-|*
*************************************************************************/
NameOrIndex::NameOrIndex(USHORT _nWhich, SvStream& rIn) :
@@ -157,10 +146,6 @@ NameOrIndex::NameOrIndex(USHORT _nWhich, SvStream& rIn) :
|*
|* NameOrIndex::NameOrIndex(const NameOrIndex& rNameOrIndex)
|*
-|* Beschreibung
-|* Ersterstellung 14.11.94
-|* Letzte Aenderung 14.11.94
-|*
*************************************************************************/
NameOrIndex::NameOrIndex(const NameOrIndex& rNameOrIndex) :
@@ -173,10 +158,6 @@ NameOrIndex::NameOrIndex(const NameOrIndex& rNameOrIndex) :
|*
|* int NameOrIndex::operator==(const SfxPoolItem& rItem) const
|*
-|* Beschreibung
-|* Ersterstellung 14.11.94
-|* Letzte Aenderung 14.11.94
-|*
*************************************************************************/
int NameOrIndex::operator==(const SfxPoolItem& rItem) const
@@ -189,10 +170,6 @@ int NameOrIndex::operator==(const SfxPoolItem& rItem) const
|*
|* SfxPoolItem* NameOrIndex::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 14.11.94
-|* Letzte Aenderung 14.11.94
-|*
*************************************************************************/
SfxPoolItem* NameOrIndex::Clone(SfxItemPool* /*pPool*/) const
@@ -205,10 +182,6 @@ SfxPoolItem* NameOrIndex::Clone(SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* NameOrIndex::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 14.11.94
-|* Letzte Aenderung 14.11.94
-|*
*************************************************************************/
SfxPoolItem* NameOrIndex::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -220,10 +193,6 @@ SfxPoolItem* NameOrIndex::Create(SvStream& rIn, USHORT /*nVer*/) const
|*
|* SvStream* NameOrIndex::Store(SvStream& rIn) const
|*
-|* Beschreibung
-|* Ersterstellung 14.11.94
-|* Letzte Aenderung 14.11.94
-|*
*************************************************************************/
SvStream& NameOrIndex::Store( SvStream& rOut, USHORT nItemVersion ) const
@@ -484,19 +453,19 @@ const Color& XColorItem::GetColorValue(const XColorTable* pTable) const
}
-sal_Bool XColorItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/) const
+bool XColorItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/) const
{
rVal <<= (sal_Int32)GetColorValue().GetRGBColor();
- return sal_True;
+ return true;
}
-sal_Bool XColorItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/)
+bool XColorItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/)
{
sal_Int32 nValue = 0;
rVal >>= nValue;
SetColorValue( nValue );
- return sal_True;
+ return true;
}
@@ -513,10 +482,6 @@ TYPEINIT1_AUTOFACTORY(XLineStyleItem, SfxEnumItem);
|*
|* XLineStyleItem::XLineStyleItem(XLineStyle eTheLineStyle)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 18.11.94
-|*
*************************************************************************/
XLineStyleItem::XLineStyleItem(XLineStyle eTheLineStyle) :
@@ -528,10 +493,6 @@ XLineStyleItem::XLineStyleItem(XLineStyle eTheLineStyle) :
|*
|* XLineStyleItem::XLineStyleItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XLineStyleItem::XLineStyleItem(SvStream& rIn) :
@@ -543,10 +504,6 @@ XLineStyleItem::XLineStyleItem(SvStream& rIn) :
|*
|* XLineStyleItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 09.11.94
-|* Letzte Aenderung 09.11.94
-|*
*************************************************************************/
SfxPoolItem* XLineStyleItem::Clone(SfxItemPool* /*pPool*/) const
@@ -558,10 +515,6 @@ SfxPoolItem* XLineStyleItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* XLineStyleItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XLineStyleItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -609,14 +562,14 @@ SfxItemPresentation XLineStyleItem::GetPresentation
}
}
-sal_Bool XLineStyleItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/) const
+bool XLineStyleItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/) const
{
::com::sun::star::drawing::LineStyle eLS = (::com::sun::star::drawing::LineStyle)GetValue();
rVal <<= eLS;
- return sal_True;
+ return true;
}
-sal_Bool XLineStyleItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/)
+bool XLineStyleItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/)
{
::com::sun::star::drawing::LineStyle eLS;
if(!(rVal >>= eLS ))
@@ -624,12 +577,12 @@ sal_Bool XLineStyleItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE
// also try an int (for Basic)
sal_Int32 nLS = 0;
if(!(rVal >>= nLS))
- return sal_False;
+ return false;
eLS = (::com::sun::star::drawing::LineStyle)nLS;
}
SetValue( sal::static_int_cast< USHORT >( eLS ) );
- return sal_True;
+ return true;
}
//------------------------------------------------------------------------
@@ -647,10 +600,6 @@ USHORT XLineStyleItem::GetValueCount() const
|*
|* XDash::XDash(XDashStyle, USHORT, ULONG, USHORT, ULONG, ULONG)
|*
-|* Beschreibung
-|* Ersterstellung 21.11.94
-|* Letzte Aenderung 21.11.94
-|*
*************************************************************************/
XDash::XDash(XDashStyle eTheDash, USHORT nTheDots, ULONG nTheDotLen,
@@ -668,10 +617,6 @@ XDash::XDash(XDashStyle eTheDash, USHORT nTheDots, ULONG nTheDotLen,
|*
|* int XDash::operator==(const SfxPoolItem& rItem) const
|*
-|* Beschreibung
-|* Ersterstellung 29.11.94
-|* Letzte Aenderung 29.11.94
-|*
*************************************************************************/
bool XDash::operator==(const XDash& rDash) const
@@ -885,10 +830,6 @@ TYPEINIT1_AUTOFACTORY(XLineDashItem, NameOrIndex);
|*
|* XLineDashItem::XLineDashItem(INT32 nIndex, const XDash& rTheDash)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XLineDashItem::XLineDashItem(INT32 nIndex, const XDash& rTheDash) :
@@ -901,10 +842,6 @@ XLineDashItem::XLineDashItem(INT32 nIndex, const XDash& rTheDash) :
|*
|* XLineDashItem::XLineDashItem(const String& rName, const XDash& rTheDash)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XLineDashItem::XLineDashItem(const XubString& rName, const XDash& rTheDash) :
@@ -917,10 +854,6 @@ XLineDashItem::XLineDashItem(const XubString& rName, const XDash& rTheDash) :
|*
|* XLineDashItem::XLineDashItem(const XLineDashItem& rItem)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XLineDashItem::XLineDashItem(const XLineDashItem& rItem) :
@@ -933,10 +866,6 @@ XLineDashItem::XLineDashItem(const XLineDashItem& rItem) :
|*
|* XLineDashItem::XLineDashItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XLineDashItem::XLineDashItem(SvStream& rIn) :
@@ -976,10 +905,6 @@ XLineDashItem::XLineDashItem(SfxItemPool* /*pPool*/)
|*
|* XLineDashItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XLineDashItem::Clone(SfxItemPool* /*pPool*/) const
@@ -991,10 +916,6 @@ SfxPoolItem* XLineDashItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* int XLineDashItem::operator==(const SfxPoolItem& rItem) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
int XLineDashItem::operator==(const SfxPoolItem& rItem) const
@@ -1007,10 +928,6 @@ int XLineDashItem::operator==(const SfxPoolItem& rItem) const
|*
|* SfxPoolItem* XLineDashItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XLineDashItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -1022,10 +939,6 @@ SfxPoolItem* XLineDashItem::Create(SvStream& rIn, USHORT /*nVer*/) const
|*
|* SfxPoolItem* XLineDashItem::Store(SvStream& rOut) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SvStream& XLineDashItem::Store( SvStream& rOut, USHORT nItemVersion ) const
@@ -1049,10 +962,6 @@ SvStream& XLineDashItem::Store( SvStream& rOut, USHORT nItemVersion ) const
|*
|* const XDash& XLineDashItem::GetValue(const XDashTable* pTable) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 18.11.94
-|*
*************************************************************************/
const XDash& XLineDashItem::GetDashValue(const XDashTable* pTable) const // GetValue -> GetDashValue
@@ -1089,22 +998,22 @@ SfxItemPresentation XLineDashItem::GetPresentation
//------------------------------------------------------------------------
-FASTBOOL XLineDashItem::HasMetrics() const
+bool XLineDashItem::HasMetrics() const
{
- return TRUE;
+ return true;
}
//------------------------------------------------------------------------
-FASTBOOL XLineDashItem::ScaleMetrics(long nMul, long nDiv)
+bool XLineDashItem::ScaleMetrics(long nMul, long nDiv)
{
aDash.SetDotLen( ScaleMetricValue( aDash.GetDotLen(), nMul, nDiv ) );
aDash.SetDashLen( ScaleMetricValue( aDash.GetDashLen(), nMul, nDiv ) );
aDash.SetDistance( ScaleMetricValue( aDash.GetDistance(), nMul, nDiv ) );
- return TRUE;
+ return true;
}
-sal_Bool XLineDashItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
+bool XLineDashItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS;
@@ -1202,13 +1111,13 @@ sal_Bool XLineDashItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMemb
break;
}
- default: DBG_ERROR("Wrong MemberId!"); return sal_False;
+ default: DBG_ERROR("Wrong MemberId!"); return false;
}
-
- return sal_True;
+
+ return true;
}
-sal_Bool XLineDashItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nMemberId )
+bool XLineDashItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nMemberId )
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS;
@@ -1231,7 +1140,7 @@ sal_Bool XLineDashItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE n
else if ( aPropSeq[n].Name.equalsAsciiL( "LineDash", 8 ))
{
if ( aPropSeq[n].Value >>= aLineDash )
- bLineDash = sal_True;
+ bLineDash = true;
}
}
@@ -1253,17 +1162,17 @@ sal_Bool XLineDashItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE n
SetDashValue( aXDash );
}
- return sal_True;
+ return true;
}
- return sal_False;
+ return false;
}
case MID_NAME:
{
rtl::OUString aName;
if (!(rVal >>= aName))
- return sal_False;
+ return false;
SetName( aName );
break;
}
@@ -1272,7 +1181,7 @@ sal_Bool XLineDashItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE n
{
::com::sun::star::drawing::LineDash aLineDash;
if(!(rVal >>= aLineDash))
- return sal_False;
+ return false;
XDash aXDash;
@@ -1294,7 +1203,7 @@ sal_Bool XLineDashItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE n
{
sal_Int16 nVal = sal_Int16();
if(!(rVal >>= nVal))
- return sal_False;
+ return false;
XDash aXDash = GetDashValue();
aXDash.SetDashStyle((XDashStyle)((UINT16)(nVal)));
@@ -1312,7 +1221,7 @@ sal_Bool XLineDashItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE n
{
sal_Int16 nVal = sal_Int16();
if(!(rVal >>= nVal))
- return sal_False;
+ return false;
XDash aXDash = GetDashValue();
if ( nMemberId == MID_LINEDASH_DOTS )
@@ -1333,7 +1242,7 @@ sal_Bool XLineDashItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE n
{
sal_Int32 nVal = 0;
if(!(rVal >>= nVal))
- return sal_False;
+ return false;
XDash aXDash = GetDashValue();
if ( nMemberId == MID_LINEDASH_DOTLEN )
@@ -1351,7 +1260,7 @@ sal_Bool XLineDashItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE n
}
}
- return sal_True;
+ return true;
}
BOOL XLineDashItem::CompareValueFunc( const NameOrIndex* p1, const NameOrIndex* p2 )
@@ -1390,10 +1299,6 @@ TYPEINIT1_AUTOFACTORY(XLineWidthItem, SfxMetricItem);
|*
|* XLineWidthItem::XLineWidthItem(long nWidth)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 18.11.94
-|*
*************************************************************************/
XLineWidthItem::XLineWidthItem(long nWidth) :
@@ -1405,10 +1310,6 @@ XLineWidthItem::XLineWidthItem(long nWidth) :
|*
|* XLineWidthItem::XLineWidthItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XLineWidthItem::XLineWidthItem(SvStream& rIn) :
@@ -1420,10 +1321,6 @@ XLineWidthItem::XLineWidthItem(SvStream& rIn) :
|*
|* XLineWidthItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XLineWidthItem::Clone(SfxItemPool* /*pPool*/) const
@@ -1435,10 +1332,6 @@ SfxPoolItem* XLineWidthItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* XLineWidthItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XLineWidthItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -1472,17 +1365,17 @@ SfxItemPresentation XLineWidthItem::GetPresentation
}
}
-sal_Bool XLineWidthItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
+bool XLineWidthItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
{
sal_Int32 nValue = GetValue();
if( 0 != (nMemberId&CONVERT_TWIPS) )
nValue = TWIP_TO_MM100(nValue);
rVal <<= nValue;
- return sal_True;
+ return true;
}
-sal_Bool XLineWidthItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nMemberId )
+bool XLineWidthItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nMemberId )
{
sal_Int32 nValue = 0;
rVal >>= nValue;
@@ -1490,7 +1383,7 @@ sal_Bool XLineWidthItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE
nValue = MM100_TO_TWIP(nValue);
SetValue( nValue );
- return sal_True;
+ return true;
}
// -------------------
@@ -1502,10 +1395,6 @@ TYPEINIT1_AUTOFACTORY(XLineColorItem, XColorItem);
|*
|* XLineColorItem::XLineColorItem(INT32 nIndex, const Color& rTheColor)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XLineColorItem::XLineColorItem(INT32 nIndex, const Color& rTheColor) :
@@ -1517,10 +1406,6 @@ XLineColorItem::XLineColorItem(INT32 nIndex, const Color& rTheColor) :
|*
|* XLineColorItem::XLineColorItem(const XubString& rName, const Color& rTheColor)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XLineColorItem::XLineColorItem(const XubString& rName, const Color& rTheColor) :
@@ -1532,10 +1417,6 @@ XLineColorItem::XLineColorItem(const XubString& rName, const Color& rTheColor) :
|*
|* XLineColorItem::XLineColorItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XLineColorItem::XLineColorItem(SvStream& rIn) :
@@ -1547,10 +1428,6 @@ XLineColorItem::XLineColorItem(SvStream& rIn) :
|*
|* XLineColorItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XLineColorItem::Clone(SfxItemPool* /*pPool*/) const
@@ -1562,10 +1439,6 @@ SfxPoolItem* XLineColorItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* XLineColorItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XLineColorItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -1597,20 +1470,20 @@ SfxItemPresentation XLineColorItem::GetPresentation
}
}
-sal_Bool XLineColorItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/) const
+bool XLineColorItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/) const
{
rVal <<= (sal_Int32)GetColorValue().GetRGBColor();
- return sal_True;
+ return true;
}
-sal_Bool XLineColorItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/)
+bool XLineColorItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/)
{
sal_Int32 nValue = 0;
if(!(rVal >>= nValue))
- return sal_False;
+ return false;
SetColorValue( nValue );
- return sal_True;
+ return true;
}
//////////////////////////////////////////////////////////////////////////////
@@ -1721,10 +1594,6 @@ TYPEINIT1_AUTOFACTORY(XLineStartItem, NameOrIndex);
|*
|* XLineStartItem::XLineStartItem(INT32 nIndex)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 18.11.94
-|*
*************************************************************************/
XLineStartItem::XLineStartItem(INT32 nIndex)
@@ -1737,10 +1606,6 @@ XLineStartItem::XLineStartItem(INT32 nIndex)
|* XLineStartItem::XLineStartItem(const XubString& rName,
|* const basegfx::B2DPolyPolygon& rXPolygon)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 18.11.94
-|*
*************************************************************************/
XLineStartItem::XLineStartItem(const XubString& rName, const basegfx::B2DPolyPolygon& rPolyPolygon)
@@ -1753,10 +1618,6 @@ XLineStartItem::XLineStartItem(const XubString& rName, const basegfx::B2DPolyPol
|*
|* XLineStartItem::XLineStartItem(const XLineStartItem& rItem)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 17.11.94
-|*
*************************************************************************/
XLineStartItem::XLineStartItem(const XLineStartItem& rItem)
@@ -1769,10 +1630,6 @@ XLineStartItem::XLineStartItem(const XLineStartItem& rItem)
|*
|* XLineStartItem::XLineStartItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 17.11.94
-|*
*************************************************************************/
XLineStartItem::XLineStartItem(SvStream& rIn) :
@@ -1803,10 +1660,6 @@ XLineStartItem::XLineStartItem(SfxItemPool* /*pPool*/)
|*
|* XLineStartItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XLineStartItem::Clone(SfxItemPool* /*pPool*/) const
@@ -1818,10 +1671,6 @@ SfxPoolItem* XLineStartItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* int XLineStartItem::operator==(const SfxPoolItem& rItem) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 18.11.94
-|*
*************************************************************************/
int XLineStartItem::operator==(const SfxPoolItem& rItem) const
@@ -1833,10 +1682,6 @@ int XLineStartItem::operator==(const SfxPoolItem& rItem) const
|*
|* SfxPoolItem* XLineStartItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XLineStartItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -1848,10 +1693,6 @@ SfxPoolItem* XLineStartItem::Create(SvStream& rIn, USHORT /*nVer*/) const
|*
|* SfxPoolItem* XLineStartItem::Store(SvStream& rOut) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 18.11.94
-|*
*************************************************************************/
SvStream& XLineStartItem::Store( SvStream& rOut, USHORT nItemVersion ) const
@@ -1871,10 +1712,6 @@ SvStream& XLineStartItem::Store( SvStream& rOut, USHORT nItemVersion ) const
|* const basegfx::B2DPolyPolygon& XLineStartItem::GetValue(const XLineEndTable* pTable)
|* const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 18.11.94
-|*
*************************************************************************/
basegfx::B2DPolyPolygon XLineStartItem::GetLineStartValue(const XLineEndTable* pTable) const
@@ -1913,7 +1750,7 @@ SfxItemPresentation XLineStartItem::GetPresentation
}
}
-sal_Bool XLineStartItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
+bool XLineStartItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS;
@@ -1930,16 +1767,16 @@ sal_Bool XLineStartItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMem
rVal <<= aBezier;
}
- return sal_True;
+ return true;
}
-sal_Bool XLineStartItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nMemberId )
+bool XLineStartItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nMemberId )
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS;
if( nMemberId == MID_NAME )
{
- return sal_False;
+ return false;
}
else
{
@@ -1948,7 +1785,7 @@ sal_Bool XLineStartItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE
if( rVal.hasValue() && rVal.getValue() )
{
if( rVal.getValueType() != ::getCppuType((const com::sun::star::drawing::PolyPolygonBezierCoords*)0) )
- return sal_False;
+ return false;
com::sun::star::drawing::PolyPolygonBezierCoords* pCoords = (com::sun::star::drawing::PolyPolygonBezierCoords*)rVal.getValue();
if( pCoords->Coordinates.getLength() > 0 )
@@ -1960,7 +1797,7 @@ sal_Bool XLineStartItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE
}
}
- return sal_True;
+ return true;
}
/** this function searches in both the models pool and the styles pool for XLineStartItem
@@ -2193,10 +2030,6 @@ TYPEINIT1_AUTOFACTORY(XLineEndItem, NameOrIndex);
|*
|* XLineEndItem::XLineEndItem(INT32 nIndex)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 18.11.94
-|*
*************************************************************************/
XLineEndItem::XLineEndItem(INT32 nIndex)
@@ -2209,10 +2042,6 @@ XLineEndItem::XLineEndItem(INT32 nIndex)
|* XLineEndItem::XLineEndItem(const XubString& rName,
|* const basegfx::B2DPolyPolygon& rXPolygon)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 18.11.94
-|*
*************************************************************************/
XLineEndItem::XLineEndItem(const XubString& rName, const basegfx::B2DPolyPolygon& rPolyPolygon)
@@ -2225,10 +2054,6 @@ XLineEndItem::XLineEndItem(const XubString& rName, const basegfx::B2DPolyPolygon
|*
|* XLineEndItem::XLineEndItem(const XLineEndItem& rItem)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 18.11.94
-|*
*************************************************************************/
XLineEndItem::XLineEndItem(const XLineEndItem& rItem)
@@ -2241,10 +2066,6 @@ XLineEndItem::XLineEndItem(const XLineEndItem& rItem)
|*
|* XLineEndItem::XLineEndItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 17.11.94
-|*
*************************************************************************/
XLineEndItem::XLineEndItem(SvStream& rIn) :
@@ -2275,10 +2096,6 @@ XLineEndItem::XLineEndItem(SfxItemPool* /*pPool*/)
|*
|* XLineEndItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XLineEndItem::Clone(SfxItemPool* /*pPool*/) const
@@ -2290,10 +2107,6 @@ SfxPoolItem* XLineEndItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* int XLineEndItem::operator==(const SfxPoolItem& rItem) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 17.11.94
-|*
*************************************************************************/
int XLineEndItem::operator==(const SfxPoolItem& rItem) const
@@ -2305,10 +2118,6 @@ int XLineEndItem::operator==(const SfxPoolItem& rItem) const
|*
|* SfxPoolItem* XLineEndItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XLineEndItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -2320,10 +2129,6 @@ SfxPoolItem* XLineEndItem::Create(SvStream& rIn, USHORT /*nVer*/) const
|*
|* SfxPoolItem* XLineEndItem::Store(SvStream& rOut) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 17.11.94
-|*
*************************************************************************/
SvStream& XLineEndItem::Store( SvStream& rOut, USHORT nItemVersion ) const
@@ -2342,10 +2147,6 @@ SvStream& XLineEndItem::Store( SvStream& rOut, USHORT nItemVersion ) const
|*
|* const basegfx::B2DPolyPolygon& XLineEndItem::GetValue(const XLineEndTable* pTable) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 18.11.94
-|*
*************************************************************************/
basegfx::B2DPolyPolygon XLineEndItem::GetLineEndValue(const XLineEndTable* pTable) const
@@ -2607,7 +2408,7 @@ SfxItemPresentation XLineEndItem::GetPresentation
}
}
-sal_Bool XLineEndItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
+bool XLineEndItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS;
@@ -2623,16 +2424,16 @@ sal_Bool XLineEndItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMembe
SvxConvertB2DPolyPolygonToPolyPolygonBezier( maPolyPolygon, aBezier );
rVal <<= aBezier;
}
- return sal_True;
+ return true;
}
-sal_Bool XLineEndItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nMemberId )
+bool XLineEndItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nMemberId )
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS;
if( nMemberId == MID_NAME )
{
- return sal_False;
+ return false;
}
else
{
@@ -2641,7 +2442,7 @@ sal_Bool XLineEndItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nM
if( rVal.hasValue() && rVal.getValue() )
{
if( rVal.getValueType() != ::getCppuType((const com::sun::star::drawing::PolyPolygonBezierCoords*)0) )
- return sal_False;
+ return false;
com::sun::star::drawing::PolyPolygonBezierCoords* pCoords = (com::sun::star::drawing::PolyPolygonBezierCoords*)rVal.getValue();
if( pCoords->Coordinates.getLength() > 0 )
@@ -2653,7 +2454,7 @@ sal_Bool XLineEndItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nM
}
}
- return sal_True;
+ return true;
}
// ----------------------------
@@ -2665,10 +2466,6 @@ TYPEINIT1_AUTOFACTORY(XLineStartWidthItem, SfxMetricItem);
|*
|* XLineStartWidthItem::XLineStartWidthItem(INT32 nWidth)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 18.11.94
-|*
*************************************************************************/
XLineStartWidthItem::XLineStartWidthItem(long nWidth) :
@@ -2680,10 +2477,6 @@ XLineStartWidthItem::XLineStartWidthItem(long nWidth) :
|*
|* XLineStartWidthItem::XLineStartWidthItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XLineStartWidthItem::XLineStartWidthItem(SvStream& rIn) :
@@ -2695,10 +2488,6 @@ XLineStartWidthItem::XLineStartWidthItem(SvStream& rIn) :
|*
|* XLineStartWidthItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XLineStartWidthItem::Clone(SfxItemPool* /*pPool*/) const
@@ -2711,10 +2500,6 @@ SfxPoolItem* XLineStartWidthItem::Clone(SfxItemPool* /*pPool*/) const
|* SfxPoolItem* XLineStartWidthItem::Create(SvStream& rIn, USHORT nVer)
|* const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XLineStartWidthItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -2748,18 +2533,18 @@ SfxItemPresentation XLineStartWidthItem::GetPresentation
}
}
-sal_Bool XLineStartWidthItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/) const
+bool XLineStartWidthItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/) const
{
rVal <<= (sal_Int32)GetValue();
- return sal_True;
+ return true;
}
-sal_Bool XLineStartWidthItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/)
+bool XLineStartWidthItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/)
{
sal_Int32 nValue = 0;
rVal >>= nValue;
SetValue( nValue );
- return sal_True;
+ return true;
}
@@ -2773,10 +2558,6 @@ TYPEINIT1_AUTOFACTORY(XLineEndWidthItem, SfxMetricItem);
|*
|* XLineEndWidthItem::XLineEndWidthItem(long nWidth)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XLineEndWidthItem::XLineEndWidthItem(long nWidth) :
@@ -2788,10 +2569,6 @@ XLineEndWidthItem::XLineEndWidthItem(long nWidth) :
|*
|* XLineEndWidthItem::XLineEndWidthItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XLineEndWidthItem::XLineEndWidthItem(SvStream& rIn) :
@@ -2803,10 +2580,6 @@ XLineEndWidthItem::XLineEndWidthItem(SvStream& rIn) :
|*
|* XLineEndWidthItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XLineEndWidthItem::Clone(SfxItemPool* /*pPool*/) const
@@ -2818,10 +2591,6 @@ SfxPoolItem* XLineEndWidthItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* XLineEndWidthItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XLineEndWidthItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -2855,18 +2624,18 @@ SfxItemPresentation XLineEndWidthItem::GetPresentation
}
}
-sal_Bool XLineEndWidthItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/) const
+bool XLineEndWidthItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/) const
{
rVal <<= (sal_Int32)GetValue();
- return sal_True;
+ return true;
}
-sal_Bool XLineEndWidthItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/)
+bool XLineEndWidthItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/)
{
sal_Int32 nValue = 0;
rVal >>= nValue;
SetValue( nValue );
- return sal_True;
+ return true;
}
@@ -2879,10 +2648,6 @@ TYPEINIT1_AUTOFACTORY(XLineStartCenterItem, SfxBoolItem);
|*
|* XLineStartCenterItem::XLineStartCenterItem(BOOL bStartCenter)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XLineStartCenterItem::XLineStartCenterItem(BOOL bStartCenter) :
@@ -2894,10 +2659,6 @@ XLineStartCenterItem::XLineStartCenterItem(BOOL bStartCenter) :
|*
|* XLineStartCenterItem::XLineStartCenterItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XLineStartCenterItem::XLineStartCenterItem(SvStream& rIn) :
@@ -2909,10 +2670,6 @@ XLineStartCenterItem::XLineStartCenterItem(SvStream& rIn) :
|*
|* XLineStartCenterItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XLineStartCenterItem::Clone(SfxItemPool* /*pPool*/) const
@@ -2925,10 +2682,6 @@ SfxPoolItem* XLineStartCenterItem::Clone(SfxItemPool* /*pPool*/) const
|* SfxPoolItem* XLineStartCenterItem::Create(SvStream& rIn, USHORT nVer)
|* const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XLineStartCenterItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -2961,20 +2714,20 @@ SfxItemPresentation XLineStartCenterItem::GetPresentation
}
}
-sal_Bool XLineStartCenterItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/) const
+bool XLineStartCenterItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/) const
{
sal_Bool bValue = GetValue();
rVal.setValue( &bValue, ::getCppuBooleanType() );
- return sal_True;
+ return true;
}
-sal_Bool XLineStartCenterItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/)
+bool XLineStartCenterItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/)
{
if( !rVal.hasValue() || rVal.getValueType() != ::getCppuBooleanType() )
- return sal_False;
+ return false;
SetValue( *(sal_Bool*)rVal.getValue() );
- return sal_True;
+ return true;
}
@@ -2987,10 +2740,6 @@ TYPEINIT1_AUTOFACTORY(XLineEndCenterItem, SfxBoolItem);
|*
|* XLineEndCenterItem::XLineEndCenterItem(BOOL bEndCenter)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XLineEndCenterItem::XLineEndCenterItem(BOOL bEndCenter) :
@@ -3002,10 +2751,6 @@ XLineEndCenterItem::XLineEndCenterItem(BOOL bEndCenter) :
|*
|* XLineEndCenterItem::XLineEndCenterItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XLineEndCenterItem::XLineEndCenterItem(SvStream& rIn) :
@@ -3017,10 +2762,6 @@ XLineEndCenterItem::XLineEndCenterItem(SvStream& rIn) :
|*
|* XLineEndCenterItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XLineEndCenterItem::Clone(SfxItemPool* /*pPool*/) const
@@ -3033,10 +2774,6 @@ SfxPoolItem* XLineEndCenterItem::Clone(SfxItemPool* /*pPool*/) const
|* SfxPoolItem* XLineEndCenterItem::Create(SvStream& rIn, USHORT nVer)
|* const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XLineEndCenterItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -3069,20 +2806,20 @@ SfxItemPresentation XLineEndCenterItem::GetPresentation
}
}
-sal_Bool XLineEndCenterItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/) const
+bool XLineEndCenterItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/) const
{
sal_Bool bValue = GetValue();
rVal.setValue( &bValue, ::getCppuBooleanType() );
- return sal_True;
+ return true;
}
-BOOL XLineEndCenterItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/)
+bool XLineEndCenterItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/)
{
if( !rVal.hasValue() || rVal.getValueType() != ::getCppuBooleanType() )
- return sal_False;
+ return false;
SetValue( *(sal_Bool*)rVal.getValue() );
- return sal_True;
+ return true;
}
@@ -3099,10 +2836,6 @@ TYPEINIT1_AUTOFACTORY(XFillStyleItem, SfxEnumItem);
|*
|* XFillStyleItem::XFillStyleItem(XFillStyle eFillStyle)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XFillStyleItem::XFillStyleItem(XFillStyle eFillStyle) :
@@ -3114,10 +2847,6 @@ XFillStyleItem::XFillStyleItem(XFillStyle eFillStyle) :
|*
|* XFillStyleItem::XFillStyleItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XFillStyleItem::XFillStyleItem(SvStream& rIn) :
@@ -3129,10 +2858,6 @@ XFillStyleItem::XFillStyleItem(SvStream& rIn) :
|*
|* XFillStyleItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 09.11.94
-|* Letzte Aenderung 09.11.94
-|*
*************************************************************************/
SfxPoolItem* XFillStyleItem::Clone(SfxItemPool* /*pPool*/) const
@@ -3144,10 +2869,6 @@ SfxPoolItem* XFillStyleItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* XFillStyleItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XFillStyleItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -3213,17 +2934,17 @@ USHORT XFillStyleItem::GetValueCount() const
}
// -----------------------------------------------------------------------
-sal_Bool XFillStyleItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/) const
+bool XFillStyleItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/) const
{
::com::sun::star::drawing::FillStyle eFS = (::com::sun::star::drawing::FillStyle)GetValue();
rVal <<= eFS;
- return sal_True;
+ return true;
}
// -----------------------------------------------------------------------
-sal_Bool XFillStyleItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/)
+bool XFillStyleItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/)
{
::com::sun::star::drawing::FillStyle eFS;
if(!(rVal >>= eFS))
@@ -3231,13 +2952,13 @@ sal_Bool XFillStyleItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE
// also try an int (for Basic)
sal_Int32 nFS = 0;
if(!(rVal >>= nFS))
- return sal_False;
+ return false;
eFS = (::com::sun::star::drawing::FillStyle)nFS;
}
SetValue( sal::static_int_cast< USHORT >( eFS ) );
- return sal_True;
+ return true;
}
@@ -3250,10 +2971,6 @@ TYPEINIT1_AUTOFACTORY(XFillColorItem, XColorItem);
|*
|* XFillColorItem::XFillColorItem(INT32 nIndex, const Color& rTheColor)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XFillColorItem::XFillColorItem(INT32 nIndex, const Color& rTheColor) :
@@ -3265,10 +2982,6 @@ XFillColorItem::XFillColorItem(INT32 nIndex, const Color& rTheColor) :
|*
|* XFillColorItem::XFillColorItem(const XubString& rName, const Color& rTheColor)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XFillColorItem::XFillColorItem(const XubString& rName, const Color& rTheColor) :
@@ -3280,10 +2993,6 @@ XFillColorItem::XFillColorItem(const XubString& rName, const Color& rTheColor) :
|*
|* XFillColorItem::XFillColorItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XFillColorItem::XFillColorItem(SvStream& rIn) :
@@ -3295,10 +3004,6 @@ XFillColorItem::XFillColorItem(SvStream& rIn) :
|*
|* XFillColorItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XFillColorItem::Clone(SfxItemPool* /*pPool*/) const
@@ -3310,10 +3015,6 @@ SfxPoolItem* XFillColorItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* XFillColorItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XFillColorItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -3347,23 +3048,23 @@ SfxItemPresentation XFillColorItem::GetPresentation
// -----------------------------------------------------------------------
-sal_Bool XFillColorItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/) const
+bool XFillColorItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/) const
{
rVal <<= (sal_Int32)GetColorValue().GetRGBColor();
- return sal_True;
+ return true;
}
// -----------------------------------------------------------------------
-sal_Bool XFillColorItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/)
+bool XFillColorItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/)
{
sal_Int32 nValue = 0;
if(!(rVal >>= nValue ))
- return sal_False;
+ return false;
SetColorValue( nValue );
- return sal_True;
+ return true;
}
// -----------------------------
@@ -3453,10 +3154,6 @@ XGradient::XGradient() :
|* XGradient::XGradient(XGradientStyle, const Color&, const Color&,
|* long, USHORT, USHORT, USHORT)
|*
-|* Beschreibung
-|* Ersterstellung 21.11.94
-|* Letzte Aenderung 21.11.94
-|*
*************************************************************************/
XGradient::XGradient(const Color& rStart, const Color& rEnd,
@@ -3481,10 +3178,6 @@ XGradient::XGradient(const Color& rStart, const Color& rEnd,
|*
|* int XGradient::operator==(const SfxPoolItem& rItem) const
|*
-|* Beschreibung
-|* Ersterstellung 29.11.94
-|* Letzte Aenderung 29.11.94
-|*
*************************************************************************/
bool XGradient::operator==(const XGradient& rGradient) const
@@ -3512,10 +3205,6 @@ TYPEINIT1_AUTOFACTORY(XFillGradientItem, NameOrIndex);
|* XFillGradientItem::XFillGradientItem(INT32 nIndex,
|* const XGradient& rTheGradient)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XFillGradientItem::XFillGradientItem(INT32 nIndex,
@@ -3530,10 +3219,6 @@ XFillGradientItem::XFillGradientItem(INT32 nIndex,
|* XFillGradientItem::XFillGradientItem(const XubString& rName,
|* const XGradient& rTheGradient)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XFillGradientItem::XFillGradientItem(const XubString& rName,
@@ -3547,10 +3232,6 @@ XFillGradientItem::XFillGradientItem(const XubString& rName,
|*
|* XFillGradientItem::XFillGradientItem(const XFillGradientItem& rItem)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XFillGradientItem::XFillGradientItem(const XFillGradientItem& rItem) :
@@ -3563,10 +3244,6 @@ XFillGradientItem::XFillGradientItem(const XFillGradientItem& rItem) :
|*
|* XFillGradientItem::XFillGradientItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XFillGradientItem::XFillGradientItem(SvStream& rIn, USHORT nVer) :
@@ -3630,10 +3307,6 @@ XFillGradientItem::XFillGradientItem(SfxItemPool* /*pPool*/)
|*
|* XFillGradientItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XFillGradientItem::Clone(SfxItemPool* /*pPool*/) const
@@ -3645,10 +3318,6 @@ SfxPoolItem* XFillGradientItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* int XFillGradientItem::operator==(const SfxPoolItem& rItem) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
int XFillGradientItem::operator==(const SfxPoolItem& rItem) const
@@ -3661,10 +3330,6 @@ int XFillGradientItem::operator==(const SfxPoolItem& rItem) const
|*
|* SfxPoolItem* XFillGradientItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XFillGradientItem::Create(SvStream& rIn, USHORT nVer) const
@@ -3676,10 +3341,6 @@ SfxPoolItem* XFillGradientItem::Create(SvStream& rIn, USHORT nVer) const
|*
|* SfxPoolItem* XFillGradientItem::Store(SvStream& rOut) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SvStream& XFillGradientItem::Store( SvStream& rOut, USHORT nItemVersion ) const
@@ -3716,10 +3377,6 @@ SvStream& XFillGradientItem::Store( SvStream& rOut, USHORT nItemVersion ) const
|* const XGradient& XFillGradientItem::GetValue(const XGradientTable* pTable)
|* const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 18.11.94
-|*
*************************************************************************/
const XGradient& XFillGradientItem::GetGradientValue(const XGradientTable* pTable) const // GetValue -> GetGradientValue
@@ -3735,10 +3392,6 @@ const XGradient& XFillGradientItem::GetGradientValue(const XGradientTable* pTabl
|*
|* USHORT XFillGradientItem::GetVersion() const
|*
-|* Beschreibung
-|* Ersterstellung 01.11.95
-|* Letzte Aenderung 01.11.95
-|*
*************************************************************************/
USHORT XFillGradientItem::GetVersion( USHORT /*nFileFormatVersion*/) const
@@ -3774,7 +3427,7 @@ SfxItemPresentation XFillGradientItem::GetPresentation
}
// -----------------------------------------------------------------------
-sal_Bool XFillGradientItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
+bool XFillGradientItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
{
//sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS;
@@ -3827,7 +3480,7 @@ sal_Bool XFillGradientItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE n
rVal <<= aGradient2;
break;
}
-
+
case MID_NAME:
{
rtl::OUString aApiName;
@@ -3835,7 +3488,7 @@ sal_Bool XFillGradientItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE n
rVal <<= aApiName;
break;
}
-
+
case MID_GRADIENT_STYLE: rVal <<= (sal_Int16)GetGradientValue().GetGradientStyle(); break;
case MID_GRADIENT_STARTCOLOR: rVal <<= (sal_Int32)GetGradientValue().GetStartColor().GetColor(); break;
case MID_GRADIENT_ENDCOLOR: rVal <<= (sal_Int32)GetGradientValue().GetEndColor().GetColor(); break;
@@ -3846,15 +3499,15 @@ sal_Bool XFillGradientItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE n
case MID_GRADIENT_STARTINTENSITY: rVal <<= GetGradientValue().GetStartIntens(); break;
case MID_GRADIENT_ENDINTENSITY: rVal <<= GetGradientValue().GetEndIntens(); break;
case MID_GRADIENT_STEPCOUNT: rVal <<= GetGradientValue().GetSteps(); break;
-
- default: DBG_ERROR("Wrong MemberId!"); return sal_False;
+
+ default: DBG_ERROR("Wrong MemberId!"); return false;
}
- return sal_True;
+ return true;
}
// -----------------------------------------------------------------------
-sal_Bool XFillGradientItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nMemberId )
+bool XFillGradientItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nMemberId )
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS;
@@ -3900,17 +3553,17 @@ sal_Bool XFillGradientItem::PutValue( const ::com::sun::star::uno::Any& rVal, BY
SetGradientValue( aXGradient );
}
- return sal_True;
+ return true;
}
- return sal_False;
+ return false;
}
case MID_NAME:
{
rtl::OUString aName;
if (!(rVal >>= aName ))
- return sal_False;
+ return false;
SetName( aName );
break;
}
@@ -3919,7 +3572,7 @@ sal_Bool XFillGradientItem::PutValue( const ::com::sun::star::uno::Any& rVal, BY
{
::com::sun::star::awt::Gradient aGradient2;
if(!(rVal >>= aGradient2))
- return sal_False;
+ return false;
XGradient aXGradient;
@@ -3943,10 +3596,10 @@ sal_Bool XFillGradientItem::PutValue( const ::com::sun::star::uno::Any& rVal, BY
{
sal_Int32 nVal = 0;
if(!(rVal >>= nVal ))
- return sal_False;
-
+ return false;
+
XGradient aXGradient = GetGradientValue();
-
+
if ( nMemberId == MID_GRADIENT_STARTCOLOR )
aXGradient.SetStartColor( nVal );
else
@@ -3966,10 +3619,10 @@ sal_Bool XFillGradientItem::PutValue( const ::com::sun::star::uno::Any& rVal, BY
{
sal_Int16 nVal = sal_Int16();
if(!(rVal >>= nVal ))
- return sal_False;
+ return false;
XGradient aXGradient = GetGradientValue();
-
+
switch ( nMemberId )
{
case MID_GRADIENT_STYLE:
@@ -3989,13 +3642,13 @@ sal_Bool XFillGradientItem::PutValue( const ::com::sun::star::uno::Any& rVal, BY
case MID_GRADIENT_YOFFSET:
aXGradient.SetYOffset( nVal ); break;
}
-
+
SetGradientValue( aXGradient );
break;
}
}
-
- return sal_True;
+
+ return true;
}
BOOL XFillGradientItem::CompareValueFunc( const NameOrIndex* p1, const NameOrIndex* p2 )
@@ -4134,14 +3787,14 @@ USHORT XFillFloatTransparenceItem::GetVersion( USHORT nFileFormatVersion ) const
//------------------------------------------------------------------------
-sal_Bool XFillFloatTransparenceItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
+bool XFillFloatTransparenceItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
{
return XFillGradientItem::QueryValue( rVal, nMemberId );
}
//------------------------------------------------------------------------
-sal_Bool XFillFloatTransparenceItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nMemberId )
+bool XFillFloatTransparenceItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nMemberId )
{
return XFillGradientItem::PutValue( rVal, nMemberId );
}
@@ -4204,10 +3857,6 @@ XFillFloatTransparenceItem* XFillFloatTransparenceItem::checkForUniqueItem( SdrM
|*
|* XHatch::XHatch(XHatchStyle, const Color&, long, long)
|*
-|* Beschreibung
-|* Ersterstellung 21.11.94
-|* Letzte Aenderung 21.11.94
-|*
*************************************************************************/
XHatch::XHatch(const Color& rCol, XHatchStyle eTheStyle, long nTheDistance,
@@ -4223,10 +3872,6 @@ XHatch::XHatch(const Color& rCol, XHatchStyle eTheStyle, long nTheDistance,
|*
|* int XHatch::operator==(const SfxPoolItem& rItem) const
|*
-|* Beschreibung
-|* Ersterstellung 29.11.94
-|* Letzte Aenderung 29.11.94
-|*
*************************************************************************/
bool XHatch::operator==(const XHatch& rHatch) const
@@ -4248,10 +3893,6 @@ TYPEINIT1_AUTOFACTORY(XFillHatchItem, NameOrIndex);
|* XFillHatchItem::XFillHatchItem(INT32 nIndex,
|* const XHatch& rTheHatch)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XFillHatchItem::XFillHatchItem(INT32 nIndex,
@@ -4266,10 +3907,6 @@ XFillHatchItem::XFillHatchItem(INT32 nIndex,
|* XFillHatchItem::XFillHatchItem(const XubString& rName,
|* const XHatch& rTheHatch)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XFillHatchItem::XFillHatchItem(const XubString& rName,
@@ -4283,10 +3920,6 @@ XFillHatchItem::XFillHatchItem(const XubString& rName,
|*
|* XFillHatchItem::XFillHatchItem(const XFillHatchItem& rItem)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XFillHatchItem::XFillHatchItem(const XFillHatchItem& rItem) :
@@ -4299,10 +3932,6 @@ XFillHatchItem::XFillHatchItem(const XFillHatchItem& rItem) :
|*
|* XFillHatchItem::XFillHatchItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
XFillHatchItem::XFillHatchItem(SvStream& rIn) :
@@ -4349,10 +3978,6 @@ XFillHatchItem::XFillHatchItem(SfxItemPool* /*pPool*/)
|*
|* XFillHatchItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XFillHatchItem::Clone(SfxItemPool* /*pPool*/) const
@@ -4364,10 +3989,6 @@ SfxPoolItem* XFillHatchItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* int XFillHatchItem::operator==(const SfxPoolItem& rItem) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
int XFillHatchItem::operator==(const SfxPoolItem& rItem) const
@@ -4380,10 +4001,6 @@ int XFillHatchItem::operator==(const SfxPoolItem& rItem) const
|*
|* SfxPoolItem* XFillHatchItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SfxPoolItem* XFillHatchItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -4395,10 +4012,6 @@ SfxPoolItem* XFillHatchItem::Create(SvStream& rIn, USHORT /*nVer*/) const
|*
|* SfxPoolItem* XFillHatchItem::Store(SvStream& rOut) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 15.11.94
-|*
*************************************************************************/
SvStream& XFillHatchItem::Store( SvStream& rOut, USHORT nItemVersion ) const
@@ -4425,10 +4038,6 @@ SvStream& XFillHatchItem::Store( SvStream& rOut, USHORT nItemVersion ) const
|*
|* const XHatch& XFillHatchItem::GetValue(const XHatchTable* pTable) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 18.11.94
-|*
*************************************************************************/
const XHatch& XFillHatchItem::GetHatchValue(const XHatchTable* pTable) const // GetValue -> GetHatchValue
@@ -4465,21 +4074,21 @@ SfxItemPresentation XFillHatchItem::GetPresentation
//------------------------------------------------------------------------
-FASTBOOL XFillHatchItem::HasMetrics() const
+bool XFillHatchItem::HasMetrics() const
{
- return TRUE;
+ return true;
}
//------------------------------------------------------------------------
-FASTBOOL XFillHatchItem::ScaleMetrics(long nMul, long nDiv)
+bool XFillHatchItem::ScaleMetrics(long nMul, long nDiv)
{
aHatch.SetDistance( ScaleMetricValue( aHatch.GetDistance(), nMul, nDiv ) );
- return TRUE;
+ return true;
}
// -----------------------------------------------------------------------
-sal_Bool XFillHatchItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
+bool XFillHatchItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS;
@@ -4536,14 +4145,14 @@ sal_Bool XFillHatchItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMem
case MID_HATCH_ANGLE:
rVal <<= aHatch.GetAngle(); break;
- default: DBG_ERROR("Wrong MemberId!"); return sal_False;
+ default: DBG_ERROR("Wrong MemberId!"); return false;
}
- return sal_True;
+ return true;
}
// -----------------------------------------------------------------------
-sal_Bool XFillHatchItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nMemberId )
+bool XFillHatchItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nMemberId )
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS;
@@ -4579,17 +4188,17 @@ sal_Bool XFillHatchItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE
aHatch.SetAngle( aUnoHatch.Angle );
}
- return sal_True;
+ return true;
}
- return sal_False;
+ return false;
}
case MID_FILLHATCH:
{
::com::sun::star::drawing::Hatch aUnoHatch;
if(!(rVal >>= aUnoHatch))
- return sal_False;
+ return false;
aHatch.SetHatchStyle( (XHatchStyle)aUnoHatch.Style );
aHatch.SetColor( aUnoHatch.Color );
@@ -4602,7 +4211,7 @@ sal_Bool XFillHatchItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE
{
rtl::OUString aName;
if (!(rVal >>= aName ))
- return sal_False;
+ return false;
SetName( aName );
break;
}
@@ -4611,7 +4220,7 @@ sal_Bool XFillHatchItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE
{
sal_Int16 nVal = sal_Int16();
if (!(rVal >>= nVal ))
- return sal_False;
+ return false;
aHatch.SetHatchStyle( (XHatchStyle)nVal );
break;
}
@@ -4622,7 +4231,7 @@ sal_Bool XFillHatchItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE
{
sal_Int32 nVal = 0;
if (!(rVal >>= nVal ))
- return sal_False;
+ return false;
if ( nMemberId == MID_HATCH_COLOR )
aHatch.SetColor( nVal );
@@ -4632,11 +4241,11 @@ sal_Bool XFillHatchItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE
aHatch.SetAngle( nVal );
break;
}
-
- default: DBG_ERROR("Wrong MemberId!"); return sal_False;
+
+ default: DBG_ERROR("Wrong MemberId!"); return false;
}
- return sal_True;
+ return true;
}
BOOL XFillHatchItem::CompareValueFunc( const NameOrIndex* p1, const NameOrIndex* p2 )
@@ -4679,10 +4288,6 @@ TYPEINIT1_AUTOFACTORY(XFormTextStyleItem, SfxEnumItem);
|*
|* XFormTextStyleItem::XFormTextStyleItem()
|*
-|* Beschreibung
-|* Ersterstellung 02.02.95 ESO
-|* Letzte Aenderung 02.02.95 ESO
-|*
*************************************************************************/
XFormTextStyleItem::XFormTextStyleItem(XFormTextStyle eTheStyle) :
@@ -4694,10 +4299,6 @@ XFormTextStyleItem::XFormTextStyleItem(XFormTextStyle eTheStyle) :
|*
|* XFormTextStyleItem::XFormTextStyleItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 02.02.95 ESO
-|* Letzte Aenderung 02.02.95 ESO
-|*
*************************************************************************/
XFormTextStyleItem::XFormTextStyleItem(SvStream& rIn) :
@@ -4709,10 +4310,6 @@ XFormTextStyleItem::XFormTextStyleItem(SvStream& rIn) :
|*
|* XFormTextStyleItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 02.02.95 ESO
-|* Letzte Aenderung 02.02.95 ESO
-|*
*************************************************************************/
SfxPoolItem* XFormTextStyleItem::Clone(SfxItemPool* /*pPool*/) const
@@ -4724,10 +4321,6 @@ SfxPoolItem* XFormTextStyleItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* XFormTextStyleItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 02.02.95 ESO
-|* Letzte Aenderung 02.02.95 ESO
-|*
*************************************************************************/
SfxPoolItem* XFormTextStyleItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -4753,10 +4346,10 @@ USHORT XFormTextStyleItem::GetValueCount() const
\*************************************************************************/
// #FontWork#
-sal_Bool XFormTextStyleItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/) const
+bool XFormTextStyleItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/) const
{
rVal <<= (sal_Int32)GetValue();
- return sal_True;
+ return true;
}
/*************************************************************************
@@ -4766,13 +4359,13 @@ sal_Bool XFormTextStyleItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/) con
\*************************************************************************/
// #FontWork#
-sal_Bool XFormTextStyleItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/)
+bool XFormTextStyleItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/)
{
sal_Int32 nValue = 0;
rVal >>= nValue;
SetValue(sal::static_int_cast< USHORT >(nValue));
- return sal_True;
+ return true;
}
//-------------------------
@@ -4784,10 +4377,6 @@ TYPEINIT1_AUTOFACTORY(XFormTextAdjustItem, SfxEnumItem);
|*
|* XFormTextAdjustItem::XFormTextAdjustItem()
|*
-|* Beschreibung
-|* Ersterstellung 02.02.95 ESO
-|* Letzte Aenderung 02.02.95 ESO
-|*
*************************************************************************/
XFormTextAdjustItem::XFormTextAdjustItem(XFormTextAdjust eTheAdjust) :
@@ -4799,10 +4388,6 @@ XFormTextAdjustItem::XFormTextAdjustItem(XFormTextAdjust eTheAdjust) :
|*
|* XFormTextAdjustItem::XFormTextAdjustItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 02.02.95 ESO
-|* Letzte Aenderung 02.02.95 ESO
-|*
*************************************************************************/
XFormTextAdjustItem::XFormTextAdjustItem(SvStream& rIn) :
@@ -4814,10 +4399,6 @@ XFormTextAdjustItem::XFormTextAdjustItem(SvStream& rIn) :
|*
|* XFormTextAdjustItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 02.02.95 ESO
-|* Letzte Aenderung 02.02.95 ESO
-|*
*************************************************************************/
SfxPoolItem* XFormTextAdjustItem::Clone(SfxItemPool* /*pPool*/) const
@@ -4829,10 +4410,6 @@ SfxPoolItem* XFormTextAdjustItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* XFormTextAdjustItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 02.02.95 ESO
-|* Letzte Aenderung 02.02.95 ESO
-|*
*************************************************************************/
SfxPoolItem* XFormTextAdjustItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -4858,10 +4435,10 @@ USHORT XFormTextAdjustItem::GetValueCount() const
\*************************************************************************/
// #FontWork#
-sal_Bool XFormTextAdjustItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/) const
+bool XFormTextAdjustItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/) const
{
rVal <<= (sal_Int32)GetValue();
- return sal_True;
+ return true;
}
/*************************************************************************
@@ -4871,13 +4448,13 @@ sal_Bool XFormTextAdjustItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/) co
\*************************************************************************/
// #FontWork#
-sal_Bool XFormTextAdjustItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/)
+bool XFormTextAdjustItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/)
{
sal_Int32 nValue = 0;
rVal >>= nValue;
SetValue(sal::static_int_cast< USHORT >(nValue));
- return sal_True;
+ return true;
}
//----------------------------
@@ -4889,10 +4466,6 @@ TYPEINIT1_AUTOFACTORY(XFormTextDistanceItem, SfxMetricItem);
|*
|* XFormTextDistanceItem::XFormTextDistanceItem()
|*
-|* Beschreibung
-|* Ersterstellung 02.02.95 ESO
-|* Letzte Aenderung 02.02.95 ESO
-|*
*************************************************************************/
XFormTextDistanceItem::XFormTextDistanceItem(long nDist) :
@@ -4904,10 +4477,6 @@ XFormTextDistanceItem::XFormTextDistanceItem(long nDist) :
|*
|* XFormTextDistanceItem::XFormTextDistanceItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 02.02.95 ESO
-|* Letzte Aenderung 02.02.95 ESO
-|*
*************************************************************************/
XFormTextDistanceItem::XFormTextDistanceItem(SvStream& rIn) :
@@ -4919,10 +4488,6 @@ XFormTextDistanceItem::XFormTextDistanceItem(SvStream& rIn) :
|*
|* XFormTextDistanceItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 02.02.95 ESO
-|* Letzte Aenderung 02.02.95 ESO
-|*
*************************************************************************/
SfxPoolItem* XFormTextDistanceItem::Clone(SfxItemPool* /*pPool*/) const
@@ -4934,10 +4499,6 @@ SfxPoolItem* XFormTextDistanceItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* XFormTextDistanceItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 02.02.95 ESO
-|* Letzte Aenderung 02.02.95 ESO
-|*
*************************************************************************/
SfxPoolItem* XFormTextDistanceItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -4954,10 +4515,6 @@ TYPEINIT1_AUTOFACTORY(XFormTextStartItem, SfxMetricItem);
|*
|* XFormTextStartItem::XFormTextStartItem(long nStart)
|*
-|* Beschreibung
-|* Ersterstellung 02.02.95 ESO
-|* Letzte Aenderung 02.02.95 ESO
-|*
*************************************************************************/
XFormTextStartItem::XFormTextStartItem(long nStart) :
@@ -4969,10 +4526,6 @@ XFormTextStartItem::XFormTextStartItem(long nStart) :
|*
|* XFormTextStartItem::XFormTextStartItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 02.02.95 ESO
-|* Letzte Aenderung 02.02.95 ESO
-|*
*************************************************************************/
XFormTextStartItem::XFormTextStartItem(SvStream& rIn) :
@@ -4984,10 +4537,6 @@ XFormTextStartItem::XFormTextStartItem(SvStream& rIn) :
|*
|* XFormTextStartItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 02.02.95 ESO
-|* Letzte Aenderung 02.02.95 ESO
-|*
*************************************************************************/
SfxPoolItem* XFormTextStartItem::Clone(SfxItemPool* /*pPool*/) const
@@ -4999,10 +4548,6 @@ SfxPoolItem* XFormTextStartItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* XFormTextStartItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 02.02.95 ESO
-|* Letzte Aenderung 02.02.95 ESO
-|*
*************************************************************************/
SfxPoolItem* XFormTextStartItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -5019,9 +4564,6 @@ TYPEINIT1_AUTOFACTORY(XFormTextMirrorItem, SfxBoolItem);
|*
|* XFormTextMirrorItem::XFormTextMirrorItem(BOOL bMirror)
|*
-|* Ersterstellung 06.02.95 ESO
-|* Letzte Aenderung 06.02.95 ESO
-|*
*************************************************************************/
XFormTextMirrorItem::XFormTextMirrorItem(BOOL bMirror) :
@@ -5033,9 +4575,6 @@ XFormTextMirrorItem::XFormTextMirrorItem(BOOL bMirror) :
|*
|* XFormTextMirrorItem::XFormTextMirrorItem(SvStream& rIn)
|*
-|* Ersterstellung 06.02.95 ESO
-|* Letzte Aenderung 06.02.95 ESO
-|*
*************************************************************************/
XFormTextMirrorItem::XFormTextMirrorItem(SvStream& rIn) :
@@ -5047,9 +4586,6 @@ XFormTextMirrorItem::XFormTextMirrorItem(SvStream& rIn) :
|*
|* XFormTextMirrorItem::Clone(SfxItemPool* pPool) const
|*
-|* Ersterstellung 06.02.95 ESO
-|* Letzte Aenderung 06.02.95 ESO
-|*
*************************************************************************/
SfxPoolItem* XFormTextMirrorItem::Clone(SfxItemPool* /*pPool*/) const
@@ -5062,9 +4598,6 @@ SfxPoolItem* XFormTextMirrorItem::Clone(SfxItemPool* /*pPool*/) const
|* SfxPoolItem* XFormTextMirrorItem::Create(SvStream& rIn, USHORT nVer)
|* const
|*
-|* Ersterstellung 06.02.95 ESO
-|* Letzte Aenderung 06.02.95 ESO
-|*
*************************************************************************/
SfxPoolItem* XFormTextMirrorItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -5082,9 +4615,6 @@ TYPEINIT1_AUTOFACTORY(XFormTextOutlineItem, SfxBoolItem);
|*
|* XFormTextOutlineItem::XFormTextOutlineItem()
|*
-|* Ersterstellung 27.06.95 ESO
-|* Letzte Aenderung 27.06.95 ESO
-|*
*************************************************************************/
XFormTextOutlineItem::XFormTextOutlineItem(BOOL bOutline) :
@@ -5096,9 +4626,6 @@ XFormTextOutlineItem::XFormTextOutlineItem(BOOL bOutline) :
|*
|* XFormTextOutlineItem::XFormTextOutlineItem(SvStream& rIn)
|*
-|* Ersterstellung 27.06.95 ESO
-|* Letzte Aenderung 27.06.95 ESO
-|*
*************************************************************************/
XFormTextOutlineItem::XFormTextOutlineItem(SvStream& rIn) :
@@ -5110,9 +4637,6 @@ XFormTextOutlineItem::XFormTextOutlineItem(SvStream& rIn) :
|*
|* XFormTextOutlineItem::Clone(SfxItemPool* pPool) const
|*
-|* Ersterstellung 27.06.95 ESO
-|* Letzte Aenderung 27.06.95 ESO
-|*
*************************************************************************/
SfxPoolItem* XFormTextOutlineItem::Clone(SfxItemPool* /*pPool*/) const
@@ -5125,9 +4649,6 @@ SfxPoolItem* XFormTextOutlineItem::Clone(SfxItemPool* /*pPool*/) const
|* SfxPoolItem* XFormTextOutlineItem::Create(SvStream& rIn, USHORT nVer)
|* const
|*
-|* Ersterstellung 27.06.95 ESO
-|* Letzte Aenderung 27.06.95 ESO
-|*
*************************************************************************/
SfxPoolItem* XFormTextOutlineItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -5144,10 +4665,6 @@ TYPEINIT1_AUTOFACTORY(XFormTextShadowItem, SfxEnumItem);
|*
|* XFormTextShadowItem::XFormTextShadowItem()
|*
-|* Beschreibung
-|* Ersterstellung 27.06.95
-|* Letzte Aenderung 27.06.95
-|*
*************************************************************************/
XFormTextShadowItem::XFormTextShadowItem(XFormTextShadow eFormTextShadow) :
@@ -5160,10 +4677,6 @@ XFormTextShadowItem::XFormTextShadowItem(XFormTextShadow eFormTextShadow) :
|*
|* XFormTextShadowItem::XFormTextShadowItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 27.06.95
-|* Letzte Aenderung 27.06.95
-|*
*************************************************************************/
XFormTextShadowItem::XFormTextShadowItem(SvStream& rIn) :
@@ -5175,10 +4688,6 @@ XFormTextShadowItem::XFormTextShadowItem(SvStream& rIn) :
|*
|* XFormTextShadowItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 27.06.95
-|* Letzte Aenderung 27.06.95
-|*
*************************************************************************/
SfxPoolItem* XFormTextShadowItem::Clone(SfxItemPool* /*pPool*/) const
@@ -5190,10 +4699,6 @@ SfxPoolItem* XFormTextShadowItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* XFormTextShadowItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 27.06.95
-|* Letzte Aenderung 27.06.95
-|*
*************************************************************************/
SfxPoolItem* XFormTextShadowItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -5220,10 +4725,10 @@ USHORT XFormTextShadowItem::GetValueCount() const
\*************************************************************************/
// #FontWork#
-sal_Bool XFormTextShadowItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/) const
+bool XFormTextShadowItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/) const
{
rVal <<= (sal_Int32)GetValue();
- return sal_True;
+ return true;
}
/*************************************************************************
@@ -5233,13 +4738,13 @@ sal_Bool XFormTextShadowItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/) co
\*************************************************************************/
// #FontWork#
-sal_Bool XFormTextShadowItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/)
+bool XFormTextShadowItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/)
{
sal_Int32 nValue = 0;
rVal >>= nValue;
SetValue(sal::static_int_cast< USHORT >(nValue));
- return sal_True;
+ return true;
}
// -------------------------------
@@ -5251,10 +4756,6 @@ TYPEINIT1_AUTOFACTORY(XFormTextShadowColorItem, XColorItem);
|*
|* XFormTextShadowColorItem::XFormTextShadowColorItem()
|*
-|* Beschreibung
-|* Ersterstellung 27.06.95
-|* Letzte Aenderung 27.06.95
-|*
*************************************************************************/
XFormTextShadowColorItem::XFormTextShadowColorItem(INT32 nIndex,
@@ -5267,10 +4768,6 @@ XFormTextShadowColorItem::XFormTextShadowColorItem(INT32 nIndex,
|*
|* XFormTextShadowColorItem::XFormTextShadowColorItem(const XubString& rName, const Color& rTheColor)
|*
-|* Beschreibung
-|* Ersterstellung 27.06.95
-|* Letzte Aenderung 27.06.95
-|*
*************************************************************************/
XFormTextShadowColorItem::XFormTextShadowColorItem(const XubString& rName,
@@ -5283,10 +4780,6 @@ XFormTextShadowColorItem::XFormTextShadowColorItem(const XubString& rName,
|*
|* XFormTextShadowColorItem::XFormTextShadowColorItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 27.06.95
-|* Letzte Aenderung 27.06.95
-|*
*************************************************************************/
XFormTextShadowColorItem::XFormTextShadowColorItem(SvStream& rIn) :
@@ -5298,10 +4791,6 @@ XFormTextShadowColorItem::XFormTextShadowColorItem(SvStream& rIn) :
|*
|* XFormTextShadowColorItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 27.06.95
-|* Letzte Aenderung 27.06.95
-|*
*************************************************************************/
SfxPoolItem* XFormTextShadowColorItem::Clone(SfxItemPool* /*pPool*/) const
@@ -5313,10 +4802,6 @@ SfxPoolItem* XFormTextShadowColorItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* XFormTextShadowColorItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 27.06.95
-|* Letzte Aenderung 27.06.95
-|*
*************************************************************************/
SfxPoolItem* XFormTextShadowColorItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -5333,10 +4818,6 @@ TYPEINIT1_AUTOFACTORY(XFormTextShadowXValItem, SfxMetricItem);
|*
|* XFormTextShadowXValItem::XFormTextShadowXValItem(long)
|*
-|* Beschreibung
-|* Ersterstellung 28.06.95 ESO
-|* Letzte Aenderung 28.06.95 ESO
-|*
*************************************************************************/
XFormTextShadowXValItem::XFormTextShadowXValItem(long nVal) :
@@ -5348,10 +4829,6 @@ XFormTextShadowXValItem::XFormTextShadowXValItem(long nVal) :
|*
|* XFormTextShadowXValItem::XFormTextShadowXValItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 28.06.95 ESO
-|* Letzte Aenderung 28.06.95 ESO
-|*
*************************************************************************/
XFormTextShadowXValItem::XFormTextShadowXValItem(SvStream& rIn) :
@@ -5363,10 +4840,6 @@ XFormTextShadowXValItem::XFormTextShadowXValItem(SvStream& rIn) :
|*
|* XFormTextShadowXValItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 28.06.95 ESO
-|* Letzte Aenderung 28.06.95 ESO
-|*
*************************************************************************/
SfxPoolItem* XFormTextShadowXValItem::Clone(SfxItemPool* /*pPool*/) const
@@ -5378,10 +4851,6 @@ SfxPoolItem* XFormTextShadowXValItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* XFormTextShadowXValItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 28.06.95 ESO
-|* Letzte Aenderung 28.06.95 ESO
-|*
*************************************************************************/
SfxPoolItem* XFormTextShadowXValItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -5398,10 +4867,6 @@ TYPEINIT1_AUTOFACTORY(XFormTextShadowYValItem, SfxMetricItem);
|*
|* XFormTextShadowYValItem::XFormTextShadowYValItem(long)
|*
-|* Beschreibung
-|* Ersterstellung 28.06.95 ESO
-|* Letzte Aenderung 28.06.95 ESO
-|*
*************************************************************************/
XFormTextShadowYValItem::XFormTextShadowYValItem(long nVal) :
@@ -5413,10 +4878,6 @@ XFormTextShadowYValItem::XFormTextShadowYValItem(long nVal) :
|*
|* XFormTextShadowYValItem::XFormTextShadowYValItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 28.06.95 ESO
-|* Letzte Aenderung 28.06.95 ESO
-|*
*************************************************************************/
XFormTextShadowYValItem::XFormTextShadowYValItem(SvStream& rIn) :
@@ -5428,10 +4889,6 @@ XFormTextShadowYValItem::XFormTextShadowYValItem(SvStream& rIn) :
|*
|* XFormTextShadowYValItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 28.06.95 ESO
-|* Letzte Aenderung 28.06.95 ESO
-|*
*************************************************************************/
SfxPoolItem* XFormTextShadowYValItem::Clone(SfxItemPool* /*pPool*/) const
@@ -5443,10 +4900,6 @@ SfxPoolItem* XFormTextShadowYValItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* XFormTextShadowYValItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 28.06.95 ESO
-|* Letzte Aenderung 28.06.95 ESO
-|*
*************************************************************************/
SfxPoolItem* XFormTextShadowYValItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -5463,10 +4916,6 @@ TYPEINIT1_AUTOFACTORY(XFormTextStdFormItem, SfxEnumItem);
|*
|* XFormTextStdFormItem::XFormTextStdFormItem()
|*
-|* Beschreibung
-|* Ersterstellung 27.06.95
-|* Letzte Aenderung 27.06.95
-|*
*************************************************************************/
XFormTextStdFormItem::XFormTextStdFormItem(XFormTextStdForm eFormTextStdForm) :
@@ -5479,10 +4928,6 @@ XFormTextStdFormItem::XFormTextStdFormItem(XFormTextStdForm eFormTextStdForm) :
|*
|* XFormTextStdFormItem::XFormTextStdFormItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 27.06.95
-|* Letzte Aenderung 27.06.95
-|*
*************************************************************************/
XFormTextStdFormItem::XFormTextStdFormItem(SvStream& rIn) :
@@ -5494,10 +4939,6 @@ XFormTextStdFormItem::XFormTextStdFormItem(SvStream& rIn) :
|*
|* XFormTextStdFormItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 27.06.95
-|* Letzte Aenderung 27.06.95
-|*
*************************************************************************/
SfxPoolItem* XFormTextStdFormItem::Clone(SfxItemPool* /*pPool*/) const
@@ -5509,10 +4950,6 @@ SfxPoolItem* XFormTextStdFormItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* XFormTextStdFormItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 27.06.95
-|* Letzte Aenderung 27.06.95
-|*
*************************************************************************/
SfxPoolItem* XFormTextStdFormItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -5539,10 +4976,10 @@ USHORT XFormTextStdFormItem::GetValueCount() const
\*************************************************************************/
// #FontWork#
-sal_Bool XFormTextStdFormItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/) const
+bool XFormTextStdFormItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/) const
{
rVal <<= (sal_Int32)GetValue();
- return sal_True;
+ return true;
}
/*************************************************************************
@@ -5552,13 +4989,13 @@ sal_Bool XFormTextStdFormItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/) c
\*************************************************************************/
// #FontWork#
-sal_Bool XFormTextStdFormItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/)
+bool XFormTextStdFormItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/)
{
sal_Int32 nValue = 0;
rVal >>= nValue;
SetValue(sal::static_int_cast< USHORT >(nValue));
- return sal_True;
+ return true;
}
// --------------------------
@@ -5570,9 +5007,6 @@ TYPEINIT1_AUTOFACTORY(XFormTextHideFormItem, SfxBoolItem);
|*
|* XFormTextHideFormItem::XFormTextHideFormItem()
|*
-|* Ersterstellung 27.06.95 ESO
-|* Letzte Aenderung 27.06.95 ESO
-|*
*************************************************************************/
XFormTextHideFormItem::XFormTextHideFormItem(BOOL bHide) :
@@ -5584,9 +5018,6 @@ XFormTextHideFormItem::XFormTextHideFormItem(BOOL bHide) :
|*
|* XFormTextHideFormItem::XFormTextHideFormItem(SvStream& rIn)
|*
-|* Ersterstellung 27.06.95 ESO
-|* Letzte Aenderung 27.06.95 ESO
-|*
*************************************************************************/
XFormTextHideFormItem::XFormTextHideFormItem(SvStream& rIn) :
@@ -5598,9 +5029,6 @@ XFormTextHideFormItem::XFormTextHideFormItem(SvStream& rIn) :
|*
|* XFormTextHideFormItem::Clone(SfxItemPool* pPool) const
|*
-|* Ersterstellung 27.06.95 ESO
-|* Letzte Aenderung 27.06.95 ESO
-|*
*************************************************************************/
SfxPoolItem* XFormTextHideFormItem::Clone(SfxItemPool* /*pPool*/) const
@@ -5613,9 +5041,6 @@ SfxPoolItem* XFormTextHideFormItem::Clone(SfxItemPool* /*pPool*/) const
|* SfxPoolItem* XFormTextHideFormItem::Create(SvStream& rIn, USHORT nVer)
|* const
|*
-|* Ersterstellung 27.06.95 ESO
-|* Letzte Aenderung 27.06.95 ESO
-|*
*************************************************************************/
SfxPoolItem* XFormTextHideFormItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -5776,3 +5201,4 @@ SvStream& XFillAttrSetItem::Store( SvStream& rStream, USHORT nItemVersion ) cons
// eof
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/xoutdev/xattr2.cxx b/svx/source/xoutdev/xattr2.cxx
index 36c42ee191..fe303bed81 100644
--- a/svx/source/xoutdev/xattr2.cxx
+++ b/svx/source/xoutdev/xattr2.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -54,10 +55,6 @@ TYPEINIT1_AUTOFACTORY(XLineTransparenceItem, SfxUInt16Item);
|*
|* XLineTransparenceItem::XLineTransparenceItem(USHORT)
|*
-|* Beschreibung
-|* Ersterstellung 07.11.95 KA
-|* Letzte Aenderung 07.11.95 KA
-|*
*************************************************************************/
XLineTransparenceItem::XLineTransparenceItem(USHORT nLineTransparence) :
@@ -69,10 +66,6 @@ XLineTransparenceItem::XLineTransparenceItem(USHORT nLineTransparence) :
|*
|* XLineTransparenceItem::XLineTransparenceItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 07.11.95 KA
-|* Letzte Aenderung 07.11.95 KA
-|*
*************************************************************************/
XLineTransparenceItem::XLineTransparenceItem(SvStream& rIn) :
@@ -84,10 +77,6 @@ XLineTransparenceItem::XLineTransparenceItem(SvStream& rIn) :
|*
|* XLineTransparenceItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 07.11.95 KA
-|* Letzte Aenderung 07.11.95 KA
-|*
*************************************************************************/
SfxPoolItem* XLineTransparenceItem::Clone(SfxItemPool* /*pPool*/) const
@@ -99,10 +88,6 @@ SfxPoolItem* XLineTransparenceItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* XLineTransparenceItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 07.11.95 KA
-|* Letzte Aenderung 07.11.95 KA
-|*
*************************************************************************/
SfxPoolItem* XLineTransparenceItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -238,7 +223,7 @@ SfxItemPresentation XLineJointItem::GetPresentation( SfxItemPresentation ePres,
// -----------------------------------------------------------------------------
-sal_Bool XLineJointItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/) const
+bool XLineJointItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/) const
{
::com::sun::star::drawing::LineJoint eJoint = ::com::sun::star::drawing::LineJoint_NONE;
@@ -263,12 +248,12 @@ sal_Bool XLineJointItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE /*nM
}
rVal <<= eJoint;
- return sal_True;
+ return true;
}
// -----------------------------------------------------------------------------
-BOOL XLineJointItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/)
+bool XLineJointItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/)
{
XLineJoint eJoint = XLINEJOINT_NONE;
::com::sun::star::drawing::LineJoint eUnoJoint;
@@ -278,7 +263,7 @@ BOOL XLineJointItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nM
// also try an int (for Basic)
sal_Int32 nLJ = 0;
if(!(rVal >>= nLJ))
- return sal_False;
+ return false;
eUnoJoint = (::com::sun::star::drawing::LineJoint)nLJ;
}
@@ -302,7 +287,7 @@ BOOL XLineJointItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE /*nM
SetValue( sal::static_int_cast< USHORT >( eJoint ) );
- return sal_True;
+ return true;
}
// -----------------------------------------------------------------------------
@@ -322,10 +307,6 @@ TYPEINIT1_AUTOFACTORY(XFillTransparenceItem, SfxUInt16Item);
|*
|* XFillTransparenceItem::XFillTransparenceItem(USHORT)
|*
-|* Beschreibung
-|* Ersterstellung 07.11.95 KA
-|* Letzte Aenderung 07.11.95 KA
-|*
*************************************************************************/
XFillTransparenceItem::XFillTransparenceItem(USHORT nFillTransparence) :
@@ -337,10 +318,6 @@ XFillTransparenceItem::XFillTransparenceItem(USHORT nFillTransparence) :
|*
|* XFillTransparenceItem::XFillTransparenceItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 07.11.95 KA
-|* Letzte Aenderung 07.11.95 KA
-|*
*************************************************************************/
XFillTransparenceItem::XFillTransparenceItem(SvStream& rIn) :
@@ -352,10 +329,6 @@ XFillTransparenceItem::XFillTransparenceItem(SvStream& rIn) :
|*
|* XFillTransparenceItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 07.11.95 KA
-|* Letzte Aenderung 07.11.95 KA
-|*
*************************************************************************/
SfxPoolItem* XFillTransparenceItem::Clone(SfxItemPool* /*pPool*/) const
@@ -367,10 +340,6 @@ SfxPoolItem* XFillTransparenceItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* XFillTransparenceItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 07.11.95 KA
-|* Letzte Aenderung 07.11.95 KA
-|*
*************************************************************************/
SfxPoolItem* XFillTransparenceItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -415,10 +384,6 @@ TYPEINIT1_AUTOFACTORY(XFormTextShadowTranspItem, SfxUInt16Item);
|*
|* XFormTextShadowTranspItem::XFormTextShadowTranspItem(USHORT)
|*
-|* Beschreibung
-|* Ersterstellung 09.11.95 KA
-|* Letzte Aenderung 09.11.95 KA
-|*
*************************************************************************/
XFormTextShadowTranspItem::XFormTextShadowTranspItem(USHORT nShdwTransparence) :
@@ -430,10 +395,6 @@ XFormTextShadowTranspItem::XFormTextShadowTranspItem(USHORT nShdwTransparence) :
|*
|* XFormTextShadowTranspItem::XFormTextShadowTranspItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 09.11.95 KA
-|* Letzte Aenderung 09.11.95 KA
-|*
*************************************************************************/
XFormTextShadowTranspItem::XFormTextShadowTranspItem(SvStream& rIn) :
@@ -445,10 +406,6 @@ XFormTextShadowTranspItem::XFormTextShadowTranspItem(SvStream& rIn) :
|*
|* XFormTextShadowTranspItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 09.11.95 KA
-|* Letzte Aenderung 09.11.95 KA
-|*
*************************************************************************/
SfxPoolItem* XFormTextShadowTranspItem::Clone(SfxItemPool* /*pPool*/) const
@@ -460,10 +417,6 @@ SfxPoolItem* XFormTextShadowTranspItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* XFormTextShadowTranspItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 09.11.95 KA
-|* Letzte Aenderung 09.11.95 KA
-|*
*************************************************************************/
SfxPoolItem* XFormTextShadowTranspItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -481,10 +434,6 @@ TYPEINIT1_AUTOFACTORY(XGradientStepCountItem, SfxUInt16Item);
|*
|* XGradientStepCountItem::XGradientStepCountItem( USHORT )
|*
-|* Beschreibung
-|* Ersterstellung 23.01.96 KA
-|* Letzte Aenderung 23.01.96 KA
-|*
*************************************************************************/
XGradientStepCountItem::XGradientStepCountItem( USHORT nStepCount ) :
@@ -496,10 +445,6 @@ XGradientStepCountItem::XGradientStepCountItem( USHORT nStepCount ) :
|*
|* XGradientStepCountItem::XGradientStepCountItem( SvStream& rIn )
|*
-|* Beschreibung
-|* Ersterstellung 23.01.96 KA
-|* Letzte Aenderung 23.01.96 KA
-|*
*************************************************************************/
XGradientStepCountItem::XGradientStepCountItem( SvStream& rIn ) :
@@ -511,10 +456,6 @@ XGradientStepCountItem::XGradientStepCountItem( SvStream& rIn ) :
|*
|* XGradientStepCountItem::Clone( SfxItemPool* pPool ) const
|*
-|* Beschreibung
-|* Ersterstellung 23.01.96 KA
-|* Letzte Aenderung 23.01.96 KA
-|*
*************************************************************************/
SfxPoolItem* XGradientStepCountItem::Clone( SfxItemPool* /*pPool*/) const
@@ -526,10 +467,6 @@ SfxPoolItem* XGradientStepCountItem::Clone( SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* XGradientStepCountItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 23.01.96 KA
-|* Letzte Aenderung 23.01.96 KA
-|*
*************************************************************************/
SfxPoolItem* XGradientStepCountItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -570,80 +507,26 @@ SfxItemPresentation XGradientStepCountItem::GetPresentation
//------------------------------
TYPEINIT1_AUTOFACTORY( XFillBmpTileItem, SfxBoolItem );
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
XFillBmpTileItem::XFillBmpTileItem( BOOL bTile ) :
SfxBoolItem( XATTR_FILLBMP_TILE, bTile )
{
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
XFillBmpTileItem::XFillBmpTileItem( SvStream& rIn ) :
SfxBoolItem( XATTR_FILLBMP_TILE, rIn )
{
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxPoolItem* XFillBmpTileItem::Clone( SfxItemPool* /*pPool*/) const
{
return new XFillBmpTileItem( *this );
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxPoolItem* XFillBmpTileItem::Create( SvStream& rIn, USHORT /*nVer*/) const
{
return new XFillBmpTileItem( rIn );
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxItemPresentation XFillBmpTileItem::GetPresentation
(
SfxItemPresentation ePres,
@@ -672,80 +555,26 @@ SfxItemPresentation XFillBmpTileItem::GetPresentation
//------------------------------
TYPEINIT1_AUTOFACTORY( XFillBmpPosItem, SfxEnumItem );
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
XFillBmpPosItem::XFillBmpPosItem( RECT_POINT eRP ) :
SfxEnumItem( XATTR_FILLBMP_POS, sal::static_int_cast< USHORT >( eRP ) )
{
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
XFillBmpPosItem::XFillBmpPosItem( SvStream& rIn ) :
SfxEnumItem( XATTR_FILLBMP_POS, rIn )
{
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxPoolItem* XFillBmpPosItem::Clone( SfxItemPool* /*pPool*/) const
{
return new XFillBmpPosItem( *this );
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxPoolItem* XFillBmpPosItem::Create( SvStream& rIn, USHORT /*nVer*/) const
{
return new XFillBmpPosItem( rIn );
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxItemPresentation XFillBmpPosItem::GetPresentation
(
SfxItemPresentation ePres,
@@ -768,12 +597,6 @@ SfxItemPresentation XFillBmpPosItem::GetPresentation
}
}
-/******************************************************************************
-|*
-|*
-|*
-\******************************************************************************/
-
USHORT XFillBmpPosItem::GetValueCount() const
{
return 9;
@@ -785,80 +608,26 @@ USHORT XFillBmpPosItem::GetValueCount() const
//------------------------------
TYPEINIT1_AUTOFACTORY( XFillBmpSizeXItem, SfxMetricItem );
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
XFillBmpSizeXItem::XFillBmpSizeXItem( long nSizeX ) :
SfxMetricItem( XATTR_FILLBMP_SIZEX, nSizeX )
{
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
XFillBmpSizeXItem::XFillBmpSizeXItem( SvStream& rIn ) :
SfxMetricItem( XATTR_FILLBMP_SIZEX, rIn )
{
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxPoolItem* XFillBmpSizeXItem::Clone( SfxItemPool* /*pPool*/) const
{
return new XFillBmpSizeXItem( *this );
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxPoolItem* XFillBmpSizeXItem::Create( SvStream& rIn, USHORT /*nVer*/) const
{
return new XFillBmpSizeXItem( rIn );
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxItemPresentation XFillBmpSizeXItem::GetPresentation
(
SfxItemPresentation ePres,
@@ -881,16 +650,7 @@ SfxItemPresentation XFillBmpSizeXItem::GetPresentation
}
}
-
-/*************************************************************************
-|*
-|* Beschreibung
-|* Ersterstellung 05.11.96 KA
-|* Letzte Aenderung 05.11.96 KA
-|*
-\*************************************************************************/
-
-FASTBOOL XFillBmpSizeXItem::HasMetrics() const
+bool XFillBmpSizeXItem::HasMetrics() const
{
return GetValue() > 0L;
}
@@ -901,80 +661,26 @@ FASTBOOL XFillBmpSizeXItem::HasMetrics() const
//------------------------------
TYPEINIT1_AUTOFACTORY( XFillBmpSizeYItem, SfxMetricItem );
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
XFillBmpSizeYItem::XFillBmpSizeYItem( long nSizeY ) :
SfxMetricItem( XATTR_FILLBMP_SIZEY, nSizeY )
{
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
XFillBmpSizeYItem::XFillBmpSizeYItem( SvStream& rIn ) :
SfxMetricItem( XATTR_FILLBMP_SIZEY, rIn )
{
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxPoolItem* XFillBmpSizeYItem::Clone( SfxItemPool* /*pPool*/) const
{
return new XFillBmpSizeYItem( *this );
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxPoolItem* XFillBmpSizeYItem::Create( SvStream& rIn, USHORT /*nVer*/) const
{
return new XFillBmpSizeYItem( rIn );
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxItemPresentation XFillBmpSizeYItem::GetPresentation
(
SfxItemPresentation ePres,
@@ -1000,13 +706,9 @@ SfxItemPresentation XFillBmpSizeYItem::GetPresentation
/*************************************************************************
|*
-|* Beschreibung
-|* Ersterstellung 05.11.96 KA
-|* Letzte Aenderung 05.11.96 KA
-|*
\*************************************************************************/
-FASTBOOL XFillBmpSizeYItem::HasMetrics() const
+bool XFillBmpSizeYItem::HasMetrics() const
{
return GetValue() > 0L;
}
@@ -1017,80 +719,26 @@ FASTBOOL XFillBmpSizeYItem::HasMetrics() const
//------------------------------
TYPEINIT1_AUTOFACTORY( XFillBmpSizeLogItem, SfxBoolItem );
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
XFillBmpSizeLogItem::XFillBmpSizeLogItem( BOOL bLog ) :
SfxBoolItem( XATTR_FILLBMP_SIZELOG, bLog )
{
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
XFillBmpSizeLogItem::XFillBmpSizeLogItem( SvStream& rIn ) :
SfxBoolItem( XATTR_FILLBMP_SIZELOG, rIn )
{
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxPoolItem* XFillBmpSizeLogItem::Clone( SfxItemPool* /*pPool*/) const
{
return new XFillBmpSizeLogItem( *this );
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxPoolItem* XFillBmpSizeLogItem::Create( SvStream& rIn, USHORT /*nVer*/) const
{
return new XFillBmpSizeLogItem( rIn );
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxItemPresentation XFillBmpSizeLogItem::GetPresentation
(
SfxItemPresentation ePres,
@@ -1119,80 +767,26 @@ SfxItemPresentation XFillBmpSizeLogItem::GetPresentation
//------------------------------
TYPEINIT1_AUTOFACTORY( XFillBmpTileOffsetXItem, SfxUInt16Item );
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
XFillBmpTileOffsetXItem::XFillBmpTileOffsetXItem( USHORT nOffX ) :
SfxUInt16Item( XATTR_FILLBMP_TILEOFFSETX, nOffX )
{
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
XFillBmpTileOffsetXItem::XFillBmpTileOffsetXItem( SvStream& rIn ) :
SfxUInt16Item( XATTR_FILLBMP_TILEOFFSETX, rIn )
{
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxPoolItem* XFillBmpTileOffsetXItem::Clone( SfxItemPool* /*pPool*/) const
{
return new XFillBmpTileOffsetXItem( *this );
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxPoolItem* XFillBmpTileOffsetXItem::Create( SvStream& rIn, USHORT /*nVer*/) const
{
return new XFillBmpTileOffsetXItem( rIn );
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxItemPresentation XFillBmpTileOffsetXItem::GetPresentation
(
SfxItemPresentation ePres,
@@ -1221,80 +815,26 @@ SfxItemPresentation XFillBmpTileOffsetXItem::GetPresentation
//------------------------------
TYPEINIT1_AUTOFACTORY( XFillBmpTileOffsetYItem, SfxUInt16Item );
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
XFillBmpTileOffsetYItem::XFillBmpTileOffsetYItem( USHORT nOffY ) :
SfxUInt16Item( XATTR_FILLBMP_TILEOFFSETY, nOffY )
{
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
XFillBmpTileOffsetYItem::XFillBmpTileOffsetYItem( SvStream& rIn ) :
SfxUInt16Item( XATTR_FILLBMP_TILEOFFSETY, rIn )
{
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxPoolItem* XFillBmpTileOffsetYItem::Clone( SfxItemPool* /*pPool*/) const
{
return new XFillBmpTileOffsetYItem( *this );
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxPoolItem* XFillBmpTileOffsetYItem::Create( SvStream& rIn, USHORT /*nVer*/) const
{
return new XFillBmpTileOffsetYItem( rIn );
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxItemPresentation XFillBmpTileOffsetYItem::GetPresentation
(
SfxItemPresentation ePres,
@@ -1323,80 +863,26 @@ SfxItemPresentation XFillBmpTileOffsetYItem::GetPresentation
//------------------------------
TYPEINIT1_AUTOFACTORY( XFillBmpStretchItem, SfxBoolItem );
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
XFillBmpStretchItem::XFillBmpStretchItem( BOOL bStretch ) :
SfxBoolItem( XATTR_FILLBMP_STRETCH, bStretch )
{
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
XFillBmpStretchItem::XFillBmpStretchItem( SvStream& rIn ) :
SfxBoolItem( XATTR_FILLBMP_STRETCH, rIn )
{
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxPoolItem* XFillBmpStretchItem::Clone( SfxItemPool* /*pPool*/) const
{
return new XFillBmpStretchItem( *this );
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxPoolItem* XFillBmpStretchItem::Create( SvStream& rIn, USHORT /*nVer*/) const
{
return new XFillBmpStretchItem( rIn );
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung 28.02.96 KA
-|* Letzte Aenderung 28.02.96 KA
-|*
-*************************************************************************/
-
SfxItemPresentation XFillBmpStretchItem::GetPresentation
(
SfxItemPresentation ePres,
@@ -1425,80 +911,26 @@ SfxItemPresentation XFillBmpStretchItem::GetPresentation
//------------------------------
TYPEINIT1_AUTOFACTORY( XFillBmpPosOffsetXItem, SfxUInt16Item );
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung KA 29.04.96
-|* Letzte Aenderung KA 29.04.96
-|*
-*************************************************************************/
-
XFillBmpPosOffsetXItem::XFillBmpPosOffsetXItem( USHORT nOffPosX ) :
SfxUInt16Item( XATTR_FILLBMP_POSOFFSETX, nOffPosX )
{
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung KA 29.04.96
-|* Letzte Aenderung KA 29.04.96
-|*
-*************************************************************************/
-
XFillBmpPosOffsetXItem::XFillBmpPosOffsetXItem( SvStream& rIn ) :
SfxUInt16Item( XATTR_FILLBMP_POSOFFSETX, rIn )
{
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung KA 29.04.96
-|* Letzte Aenderung KA 29.04.96
-|*
-*************************************************************************/
-
SfxPoolItem* XFillBmpPosOffsetXItem::Clone( SfxItemPool* /*pPool*/) const
{
return new XFillBmpPosOffsetXItem( *this );
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung KA 29.04.96
-|* Letzte Aenderung KA 29.04.96
-|*
-*************************************************************************/
-
SfxPoolItem* XFillBmpPosOffsetXItem::Create( SvStream& rIn, USHORT /*nVer*/) const
{
return new XFillBmpPosOffsetXItem( rIn );
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung KA 29.04.96
-|* Letzte Aenderung KA 29.04.96
-|*
-*************************************************************************/
-
SfxItemPresentation XFillBmpPosOffsetXItem::GetPresentation
(
SfxItemPresentation ePres,
@@ -1527,80 +959,26 @@ SfxItemPresentation XFillBmpPosOffsetXItem::GetPresentation
//------------------------------
TYPEINIT1_AUTOFACTORY( XFillBmpPosOffsetYItem, SfxUInt16Item );
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung KA 29.04.96
-|* Letzte Aenderung KA 29.04.96
-|*
-*************************************************************************/
-
XFillBmpPosOffsetYItem::XFillBmpPosOffsetYItem( USHORT nOffPosY ) :
SfxUInt16Item( XATTR_FILLBMP_POSOFFSETY, nOffPosY )
{
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung KA 29.04.96
-|* Letzte Aenderung KA 29.04.96
-|*
-*************************************************************************/
-
XFillBmpPosOffsetYItem::XFillBmpPosOffsetYItem( SvStream& rIn ) :
SfxUInt16Item( XATTR_FILLBMP_POSOFFSETY, rIn )
{
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung KA 29.04.96
-|* Letzte Aenderung KA 29.04.96
-|*
-*************************************************************************/
-
SfxPoolItem* XFillBmpPosOffsetYItem::Clone( SfxItemPool* /*pPool*/) const
{
return new XFillBmpPosOffsetYItem( *this );
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung KA 29.04.96
-|* Letzte Aenderung KA 29.04.96
-|*
-*************************************************************************/
-
SfxPoolItem* XFillBmpPosOffsetYItem::Create( SvStream& rIn, USHORT /*nVer*/) const
{
return new XFillBmpPosOffsetYItem( rIn );
}
-
-/*************************************************************************
-|*
-|*
-|*
-|* Beschreibung
-|* Ersterstellung KA 29.04.96
-|* Letzte Aenderung KA 29.04.96
-|*
-*************************************************************************/
-
SfxItemPresentation XFillBmpPosOffsetYItem::GetPresentation
(
SfxItemPresentation ePres,
@@ -1632,10 +1010,6 @@ TYPEINIT1_AUTOFACTORY(XFillBackgroundItem, SfxBoolItem);
|*
|* XFillBackgroundItem::XFillBackgroundItem( BOOL )
|*
-|* Beschreibung
-|* Ersterstellung 19.11.96 KA
-|* Letzte Aenderung
-|*
*************************************************************************/
XFillBackgroundItem::XFillBackgroundItem( BOOL bFill ) :
@@ -1647,10 +1021,6 @@ XFillBackgroundItem::XFillBackgroundItem( BOOL bFill ) :
|*
|* XFillBackgroundItem::XFillBackgroundItem( SvStream& rIn )
|*
-|* Beschreibung
-|* Ersterstellung 23.01.96 KA
-|* Letzte Aenderung 23.01.96 KA
-|*
*************************************************************************/
XFillBackgroundItem::XFillBackgroundItem( SvStream& rIn ) :
@@ -1662,10 +1032,6 @@ XFillBackgroundItem::XFillBackgroundItem( SvStream& rIn ) :
|*
|* XFillBackgroundItem::Clone( SfxItemPool* pPool ) const
|*
-|* Beschreibung
-|* Ersterstellung 23.01.96 KA
-|* Letzte Aenderung 23.01.96 KA
-|*
*************************************************************************/
SfxPoolItem* XFillBackgroundItem::Clone( SfxItemPool* /*pPool*/) const
@@ -1677,10 +1043,6 @@ SfxPoolItem* XFillBackgroundItem::Clone( SfxItemPool* /*pPool*/) const
|*
|* SfxPoolItem* XFillBackgroundItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 23.01.96 KA
-|* Letzte Aenderung 23.01.96 KA
-|*
*************************************************************************/
SfxPoolItem* XFillBackgroundItem::Create(SvStream& rIn, USHORT /*nVer*/) const
@@ -1710,3 +1072,4 @@ SfxItemPresentation XFillBackgroundItem::GetPresentation( SfxItemPresentation eP
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/xoutdev/xattrbmp.cxx b/svx/source/xoutdev/xattrbmp.cxx
index a075419bda..0a1f1cc7a0 100644
--- a/svx/source/xoutdev/xattrbmp.cxx
+++ b/svx/source/xoutdev/xattrbmp.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -60,10 +61,6 @@ using namespace ::com::sun::star;
|*
|* XOBitmap::XOBitmap()
|*
-|* Beschreibung
-|* Ersterstellung 27.07.95
-|* Letzte Aenderung 27.07.95
-|*
*************************************************************************/
XOBitmap::XOBitmap() :
@@ -78,10 +75,6 @@ XOBitmap::XOBitmap() :
|*
|* XOBitmap::XOBitmap( Bitmap aBitmap, XBitmapStyle eStyle = XBITMAP_TILE )
|*
-|* Beschreibung
-|* Ersterstellung 26.07.95
-|* Letzte Aenderung 26.07.95
-|*
*************************************************************************/
XOBitmap::XOBitmap( const Bitmap& rBmp, XBitmapStyle eInStyle ) :
@@ -97,10 +90,6 @@ XOBitmap::XOBitmap( const Bitmap& rBmp, XBitmapStyle eInStyle ) :
|*
|* XOBitmap::XOBitmap( Bitmap aBitmap, XBitmapStyle eStyle = XBITMAP_TILE )
|*
-|* Beschreibung
-|* Ersterstellung 26.07.95
-|* Letzte Aenderung 26.07.95
-|*
*************************************************************************/
XOBitmap::XOBitmap( const GraphicObject& rGraphicObject, XBitmapStyle eInStyle ) :
@@ -118,10 +107,6 @@ XOBitmap::XOBitmap( const GraphicObject& rGraphicObject, XBitmapStyle eInStyle )
|* const Color& aBckgrColor, const Size& rSize = Size( 8, 8 ),
|* XBitmapStyle eStyle = XBITMAP_TILE )
|*
-|* Beschreibung
-|* Ersterstellung 26.07.95
-|* Letzte Aenderung 26.07.95
-|*
*************************************************************************/
XOBitmap::XOBitmap( const USHORT* pArray, const Color& rPixelColor,
@@ -153,10 +138,6 @@ XOBitmap::XOBitmap( const USHORT* pArray, const Color& rPixelColor,
|*
|* XOBitmap::XOBitmap( const XOBitmap& rXBmp )
|*
-|* Beschreibung
-|* Ersterstellung 27.07.95
-|* Letzte Aenderung 27.07.95
-|*
*************************************************************************/
XOBitmap::XOBitmap( const XOBitmap& rXBmp ) :
@@ -186,10 +167,6 @@ XOBitmap::XOBitmap( const XOBitmap& rXBmp ) :
|*
|* XOBitmap::XOBitmap( Bitmap aBitmap, XBitmapStyle eStyle = XBITMAP_TILE )
|*
-|* Beschreibung
-|* Ersterstellung 26.07.95
-|* Letzte Aenderung 26.07.95
-|*
*************************************************************************/
XOBitmap::~XOBitmap()
@@ -202,10 +179,6 @@ XOBitmap::~XOBitmap()
|*
|* XOBitmap& XOBitmap::operator=( const XOBitmap& rXBmp )
|*
-|* Beschreibung
-|* Ersterstellung 27.07.95
-|* Letzte Aenderung 27.07.95
-|*
*************************************************************************/
XOBitmap& XOBitmap::operator=( const XOBitmap& rXBmp )
@@ -235,10 +208,6 @@ XOBitmap& XOBitmap::operator=( const XOBitmap& rXBmp )
|*
|* int XOBitmap::operator==( const XOBitmap& rXOBitmap ) const
|*
-|* Beschreibung
-|* Ersterstellung 26.07.95
-|* Letzte Aenderung 26.07.95
-|*
*************************************************************************/
int XOBitmap::operator==( const XOBitmap& rXOBitmap ) const
@@ -270,10 +239,6 @@ int XOBitmap::operator==( const XOBitmap& rXOBitmap ) const
|*
|* void SetPixelArray( const USHORT* pArray )
|*
-|* Beschreibung
-|* Ersterstellung 27.07.95
-|* Letzte Aenderung 27.07.95
-|*
*************************************************************************/
void XOBitmap::SetPixelArray( const USHORT* pArray )
@@ -300,10 +265,6 @@ void XOBitmap::SetPixelArray( const USHORT* pArray )
|*
|* Bitmap XOBitmap::GetBitmap()
|*
-|* Beschreibung
-|* Ersterstellung 26.07.95
-|* Letzte Aenderung 26.07.95
-|*
*************************************************************************/
Bitmap XOBitmap::GetBitmap() const
@@ -315,10 +276,6 @@ Bitmap XOBitmap::GetBitmap() const
|*
|* Bitmap XOBitmap::GetGraphicObject()
|*
-|* Beschreibung
-|* Ersterstellung
-|* Letzte Aenderung
-|*
*************************************************************************/
const GraphicObject& XOBitmap::GetGraphicObject() const
@@ -335,8 +292,6 @@ const GraphicObject& XOBitmap::GetGraphicObject() const
|*
|* Beschreibung Umwandlung der Bitmap in Array, Hinter- u.
|* Vordergrundfarbe
-|* Ersterstellung 27.07.95
-|* Letzte Aenderung 27.07.95
|*
*************************************************************************/
@@ -381,8 +336,6 @@ void XOBitmap::Bitmap2Array()
|*
|* Beschreibung Umwandlung des Arrays, Hinter- u.
|* Vordergrundfarbe in eine Bitmap
-|* Ersterstellung 27.07.95
-|* Letzte Aenderung 27.07.95
|*
*************************************************************************/
@@ -422,10 +375,6 @@ TYPEINIT1_AUTOFACTORY(XFillBitmapItem, NameOrIndex);
|* XFillBitmapItem::XFillBitmapItem(long nIndex,
|* const Bitmap& rTheBitmap)
|*
-|* Beschreibung
-|* Ersterstellung 17.11.94
-|* Letzte Aenderung 17.11.94
-|*
*************************************************************************/
XFillBitmapItem::XFillBitmapItem(long nIndex,
@@ -440,10 +389,6 @@ XFillBitmapItem::XFillBitmapItem(long nIndex,
|* XFillBitmapItem::XFillBitmapItem(const XubString& rName,
|* const Bitmap& rTheBitmap)
|*
-|* Beschreibung
-|* Ersterstellung 17.11.94
-|* Letzte Aenderung 17.11.94
-|*
*************************************************************************/
XFillBitmapItem::XFillBitmapItem(const XubString& rName,
@@ -457,10 +402,6 @@ XFillBitmapItem::XFillBitmapItem(const XubString& rName,
|*
|* XFillBitmapItem::XFillBitmapItem(const XFillBitmapItem& rItem)
|*
-|* Beschreibung
-|* Ersterstellung 17.11.94
-|* Letzte Aenderung 17.11.94
-|*
*************************************************************************/
XFillBitmapItem::XFillBitmapItem(const XFillBitmapItem& rItem) :
@@ -473,10 +414,6 @@ XFillBitmapItem::XFillBitmapItem(const XFillBitmapItem& rItem) :
|*
|* XFillBitmapItem::XFillBitmapItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 17.11.94
-|* Letzte Aenderung 26.07.94
-|*
*************************************************************************/
XFillBitmapItem::XFillBitmapItem( SvStream& rIn, USHORT nVer ) :
@@ -562,10 +499,6 @@ XFillBitmapItem::XFillBitmapItem( SfxItemPool* /*pPool*/)
|*
|* XFillBitmapItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 17.11.94
-|* Letzte Aenderung 17.11.94
-|*
*************************************************************************/
SfxPoolItem* XFillBitmapItem::Clone(SfxItemPool* /*pPool*/) const
@@ -577,10 +510,6 @@ SfxPoolItem* XFillBitmapItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* int XFillBitmapItem::operator==(const SfxPoolItem& rItem) const
|*
-|* Beschreibung
-|* Ersterstellung 17.11.94
-|* Letzte Aenderung 26.07.95
-|*
*************************************************************************/
int XFillBitmapItem::operator==(const SfxPoolItem& rItem) const
@@ -593,10 +522,6 @@ int XFillBitmapItem::operator==(const SfxPoolItem& rItem) const
|*
|* SfxPoolItem* XFillBitmapItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 17.11.94
-|* Letzte Aenderung 17.11.94
-|*
*************************************************************************/
SfxPoolItem* XFillBitmapItem::Create(SvStream& rIn, USHORT nVer) const
@@ -608,10 +533,6 @@ SfxPoolItem* XFillBitmapItem::Create(SvStream& rIn, USHORT nVer) const
|*
|* SfxPoolItem* XFillBitmapItem::Store(SvStream& rOut) const
|*
-|* Beschreibung
-|* Ersterstellung 17.11.94
-|* Letzte Aenderung 26.07.94
-|*
*************************************************************************/
SvStream& XFillBitmapItem::Store( SvStream& rOut, USHORT nItemVersion ) const
@@ -659,10 +580,6 @@ SvStream& XFillBitmapItem::Store( SvStream& rOut, USHORT nItemVersion ) const
|*
|* const Bitmap& XFillBitmapItem::GetValue(const XBitmapTable* pTable) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 26.07.94
-|*
*************************************************************************/
const XOBitmap& XFillBitmapItem::GetBitmapValue(const XBitmapTable* pTable) const // GetValue -> GetBitmapValue
@@ -678,10 +595,6 @@ const XOBitmap& XFillBitmapItem::GetBitmapValue(const XBitmapTable* pTable) cons
|*
|* USHORT XFillBitmapItem::GetVersion() const
|*
-|* Beschreibung
-|* Ersterstellung 26.07.95
-|* Letzte Aenderung 26.07.95
-|*
*************************************************************************/
USHORT XFillBitmapItem::GetVersion( USHORT /*nFileFormatVersion*/) const
@@ -716,7 +629,7 @@ SfxItemPresentation XFillBitmapItem::GetPresentation
//------------------------------------------------------------------------
-sal_Bool XFillBitmapItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
+bool XFillBitmapItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS;
@@ -777,12 +690,12 @@ sal_Bool XFillBitmapItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMe
rVal <<= aPropSeq;
}
- return sal_True;
+ return true;
}
//------------------------------------------------------------------------
-sal_Bool XFillBitmapItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nMemberId )
+bool XFillBitmapItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nMemberId )
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS;
@@ -892,3 +805,5 @@ XFillBitmapItem* XFillBitmapItem::checkForUniqueItem( SdrModel* pModel ) const
return (XFillBitmapItem*)this;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/xoutdev/xexch.cxx b/svx/source/xoutdev/xexch.cxx
index 37864850c7..6be2ac1430 100644
--- a/svx/source/xoutdev/xexch.cxx
+++ b/svx/source/xoutdev/xexch.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -202,3 +203,5 @@ XFillExchangeData& XFillExchangeData::operator=( const XFillExchangeData& rData
return( *this );
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/xoutdev/xpool.cxx b/svx/source/xoutdev/xpool.cxx
index dc3b6e2ca9..69438a5093 100644
--- a/svx/source/xoutdev/xpool.cxx
+++ b/svx/source/xoutdev/xpool.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -233,3 +234,5 @@ XOutdevItemPool::~XOutdevItemPool()
}
// eof
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/xoutdev/xtabbtmp.cxx b/svx/source/xoutdev/xtabbtmp.cxx
index fb82ea168b..b5ae9e952e 100644
--- a/svx/source/xoutdev/xtabbtmp.cxx
+++ b/svx/source/xoutdev/xtabbtmp.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -292,3 +293,5 @@ Bitmap* XBitmapList::CreateBitmapForUI( long /*nIndex*/, BOOL /*bDelete*/)
}
// eof
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/xoutdev/xtabcolr.cxx b/svx/source/xoutdev/xtabcolr.cxx
index 3f3ccc1ccb..e6681161ec 100644
--- a/svx/source/xoutdev/xtabcolr.cxx
+++ b/svx/source/xoutdev/xtabcolr.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -170,7 +171,7 @@ BOOL XColorTable::Create()
xub_StrLen nLen;
ResMgr& rRes = DIALOG_MGR();
- static USHORT __READONLY_DATA aResId[] =
+ static USHORT const aResId[] =
{
RID_SVXSTR_BLACK,
RID_SVXSTR_BLUE,
@@ -199,7 +200,7 @@ BOOL XColorTable::Create()
// BM: ifndef VCL part removed (deprecated)
- static ColorData __READONLY_DATA aColTab[] =
+ static ColorData const aColTab[] =
{
COL_BLACK,
COL_BLUE,
@@ -546,3 +547,5 @@ Bitmap* XColorList::CreateBitmapForUI( long /*nIndex*/, BOOL /*bDelete*/)
}
// eof
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/xoutdev/xtabdash.cxx b/svx/source/xoutdev/xtabdash.cxx
index 0099dd948c..41e0cdb82a 100644
--- a/svx/source/xoutdev/xtabdash.cxx
+++ b/svx/source/xoutdev/xtabdash.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -376,3 +377,5 @@ Bitmap* XDashList::CreateBitmapForUI( long nIndex, BOOL bDelete )
//////////////////////////////////////////////////////////////////////////////
// eof
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/xoutdev/xtabgrdt.cxx b/svx/source/xoutdev/xtabgrdt.cxx
index 00d0a75779..b4ce642edb 100644
--- a/svx/source/xoutdev/xtabgrdt.cxx
+++ b/svx/source/xoutdev/xtabgrdt.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -370,3 +371,5 @@ Bitmap* XGradientList::CreateBitmapForUI( long nIndex, BOOL bDelete )
//////////////////////////////////////////////////////////////////////////////
// eof
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/xoutdev/xtabhtch.cxx b/svx/source/xoutdev/xtabhtch.cxx
index 8d1ddcf59a..d002baea1b 100644
--- a/svx/source/xoutdev/xtabhtch.cxx
+++ b/svx/source/xoutdev/xtabhtch.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -372,3 +373,5 @@ Bitmap* XHatchList::CreateBitmapForUI( long nIndex, BOOL bDelete )
//////////////////////////////////////////////////////////////////////////////
// eof
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/xoutdev/xtable.cxx b/svx/source/xoutdev/xtable.cxx
index 30d79d5afe..9feadc9e44 100644
--- a/svx/source/xoutdev/xtable.cxx
+++ b/svx/source/xoutdev/xtable.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -34,7 +35,7 @@
#define GLOBALOVERFLOW
// Vergleichsstrings
-sal_Unicode __FAR_DATA pszStandard[] = { 's', 't', 'a', 'n', 'd', 'a', 'r', 'd', 0 };
+sal_Unicode pszStandard[] = { 's', 't', 'a', 'n', 'd', 'a', 'r', 'd', 0 };
// Konvertiert in echte RGB-Farben, damit in den Listboxen
// endlich mal richtig selektiert werden kann.
@@ -509,3 +510,4 @@ void XPropertyList::SetName( const String& rString )
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/xoutdev/xtablend.cxx b/svx/source/xoutdev/xtablend.cxx
index f2f21efb08..8bf93e3147 100644
--- a/svx/source/xoutdev/xtablend.cxx
+++ b/svx/source/xoutdev/xtablend.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -43,7 +44,6 @@
#include <tools/urlobj.hxx>
#include <vcl/virdev.hxx>
-#ifndef _SV_APP_HXX
#include <vcl/svapp.hxx>
#endif
#include <svl/itemset.hxx>
@@ -393,3 +393,5 @@ Bitmap* XLineEndList::CreateBitmapForUI( long nIndex, BOOL bDelete )
//////////////////////////////////////////////////////////////////////////////
// eof
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */