summaryrefslogtreecommitdiff
path: root/svx/source/xoutdev
diff options
context:
space:
mode:
authorChris Laplante <mostthingsweb@gmail.com>2014-08-18 16:57:11 -0400
committerNoel Grandin <noelgrandin@gmail.com>2014-08-19 01:28:24 -0500
commit7b33dbb25394a88b8eb2c826d951ce578605e895 (patch)
treed99485092601a2f21a143049569daee0fd4e8a76 /svx/source/xoutdev
parent23b49f2390b3d551a52caf06496d8aadf1920bf8 (diff)
svx: Cleanup ASCII art and useless comments
Change-Id: I5399362056276f324fd43eda05d3f606dc6f8c71 Reviewed-on: https://gerrit.libreoffice.org/11011 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/xoutdev')
-rw-r--r--svx/source/xoutdev/xattr.cxx62
-rw-r--r--svx/source/xoutdev/xattr2.cxx18
-rw-r--r--svx/source/xoutdev/xattrbmp.cxx2
-rw-r--r--svx/source/xoutdev/xtable.cxx12
4 files changed, 0 insertions, 94 deletions
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx
index 50d9555c48c2..28e034b12a9a 100644
--- a/svx/source/xoutdev/xattr.cxx
+++ b/svx/source/xoutdev/xattr.cxx
@@ -260,8 +260,6 @@ OUString NameOrIndex::CheckNamedItem( const NameOrIndex* pCheckItem, const sal_u
return aUniqueName;
}
-// class XColorItem
-
TYPEINIT1_AUTOFACTORY(XColorItem, NameOrIndex);
XColorItem::XColorItem(sal_uInt16 _nWhich, sal_Int32 nIndex, const Color& rTheColor) :
@@ -351,8 +349,6 @@ bool XColorItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_uInt8 /*n
// --- line attributes ---
-// class XLineStyleItem
-
TYPEINIT1_AUTOFACTORY(XLineStyleItem, SfxEnumItem);
XLineStyleItem::XLineStyleItem(XLineStyle eTheLineStyle) :
@@ -430,8 +426,6 @@ sal_uInt16 XLineStyleItem::GetValueCount() const
return 3;
}
-// class XDash
-
XDash::XDash(XDashStyle eTheDash, sal_uInt16 nTheDots, sal_uIntPtr nTheDotLen,
sal_uInt16 nTheDashes, sal_uIntPtr nTheDashLen, sal_uIntPtr nTheDistance) :
eDash(eTheDash),
@@ -646,8 +640,6 @@ double XDash::CreateDotDashArray(::std::vector< double >& rDotDashArray, double
return fFullDotDashLen;
}
-// class XLineDashItem
-
TYPEINIT1_AUTOFACTORY(XLineDashItem, NameOrIndex);
XLineDashItem::XLineDashItem(const OUString& rName, const XDash& rTheDash) :
@@ -1014,8 +1006,6 @@ XLineDashItem* XLineDashItem::checkForUniqueItem( SdrModel* pModel ) const
return NULL;
}
-// class XLineWidthItem
-
TYPEINIT1_AUTOFACTORY(XLineWidthItem, SfxMetricItem);
XLineWidthItem::XLineWidthItem(long nWidth) :
@@ -1073,8 +1063,6 @@ bool XLineWidthItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_uInt8
return true;
}
-// class XLineColorItem
-
TYPEINIT1_AUTOFACTORY(XLineColorItem, XColorItem);
XLineColorItem::XLineColorItem(sal_Int32 nIndex, const Color& rTheColor) :
@@ -1226,8 +1214,6 @@ namespace
}
}
-// class XLineStartItem
-
TYPEINIT1_AUTOFACTORY(XLineStartItem, NameOrIndex);
XLineStartItem::XLineStartItem(sal_Int32 nIndex)
@@ -1570,8 +1556,6 @@ XLineStartItem* XLineStartItem::checkForUniqueItem( SdrModel* pModel ) const
return NULL;
}
-// class XLineEndItem
-
TYPEINIT1_AUTOFACTORY(XLineEndItem, NameOrIndex);
XLineEndItem::XLineEndItem(sal_Int32 nIndex)
@@ -1913,8 +1897,6 @@ bool XLineEndItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_uInt8 n
return true;
}
-// class XLineStartWidthItem
-
TYPEINIT1_AUTOFACTORY(XLineStartWidthItem, SfxMetricItem);
XLineStartWidthItem::XLineStartWidthItem(long nWidth) :
@@ -1965,8 +1947,6 @@ bool XLineStartWidthItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_
return true;
}
-// class XLineEndWidthItem
-
TYPEINIT1_AUTOFACTORY(XLineEndWidthItem, SfxMetricItem);
XLineEndWidthItem::XLineEndWidthItem(long nWidth) :
@@ -2017,8 +1997,6 @@ bool XLineEndWidthItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_uI
return true;
}
-// class XLineStartCenterItem
-
TYPEINIT1_AUTOFACTORY(XLineStartCenterItem, SfxBoolItem);
XLineStartCenterItem::XLineStartCenterItem(bool bStartCenter) :
@@ -2070,8 +2048,6 @@ bool XLineStartCenterItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal
return true;
}
-// class XLineEndCenterItem
-
TYPEINIT1_AUTOFACTORY(XLineEndCenterItem, SfxBoolItem);
XLineEndCenterItem::XLineEndCenterItem(bool bEndCenter) :
@@ -2125,8 +2101,6 @@ bool XLineEndCenterItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_u
// --- fill attributes ---
-// class XFillStyleItem
-
TYPEINIT1_AUTOFACTORY(XFillStyleItem, SfxEnumItem);
XFillStyleItem::XFillStyleItem(drawing::FillStyle eFillStyle) :
@@ -2216,8 +2190,6 @@ bool XFillStyleItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_uInt8
return true;
}
-// class XFillColorItem
-
TYPEINIT1_AUTOFACTORY(XFillColorItem, XColorItem);
XFillColorItem::XFillColorItem(sal_Int32 nIndex, const Color& rTheColor) :
@@ -2274,8 +2246,6 @@ bool XFillColorItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_uInt8
return true;
}
-// class XSecondaryFillColorItem
-
TYPEINIT1_AUTOFACTORY(XSecondaryFillColorItem, XColorItem);
XSecondaryFillColorItem::XSecondaryFillColorItem(const OUString& rName, const Color& rTheColor) :
@@ -2318,8 +2288,6 @@ bool XSecondaryFillColorItem::GetPresentation
return true;
}
-// class XGradient
-
XGradient::XGradient() :
eStyle( XGRAD_LINEAR ),
aStartColor( Color( COL_BLACK ) ),
@@ -2366,8 +2334,6 @@ bool XGradient::operator==(const XGradient& rGradient) const
nStepCount == rGradient.nStepCount );
}
-// class XFillGradientItem
-
TYPEINIT1_AUTOFACTORY(XFillGradientItem, NameOrIndex);
XFillGradientItem::XFillGradientItem(sal_Int32 nIndex,
@@ -2753,8 +2719,6 @@ XFillGradientItem* XFillGradientItem::checkForUniqueItem( SdrModel* pModel ) con
return NULL;
}
-// class XFillFloatTransparenceItem -
-
TYPEINIT1_AUTOFACTORY( XFillFloatTransparenceItem, XFillGradientItem );
XFillFloatTransparenceItem::XFillFloatTransparenceItem() :
@@ -2861,8 +2825,6 @@ XFillFloatTransparenceItem* XFillFloatTransparenceItem::checkForUniqueItem( SdrM
return NULL;
}
-// class XHatch
-
XHatch::XHatch(const Color& rCol, XHatchStyle eTheStyle, long nTheDistance,
long nTheAngle) :
eStyle(eTheStyle),
@@ -2880,8 +2842,6 @@ bool XHatch::operator==(const XHatch& rHatch) const
nAngle == rHatch.nAngle );
}
-// class XFillHatchItem
-
TYPEINIT1_AUTOFACTORY(XFillHatchItem, NameOrIndex);
XFillHatchItem::XFillHatchItem(const OUString& rName,
@@ -3168,8 +3128,6 @@ XFillHatchItem* XFillHatchItem::checkForUniqueItem( SdrModel* pModel ) const
// --- form text attributes ---
-// class XFormTextStyleItem
-
TYPEINIT1_AUTOFACTORY(XFormTextStyleItem, SfxEnumItem);
XFormTextStyleItem::XFormTextStyleItem(XFormTextStyle eTheStyle) :
@@ -3212,8 +3170,6 @@ bool XFormTextStyleItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*/
return true;
}
-// class XFormTextAdjustItem
-
TYPEINIT1_AUTOFACTORY(XFormTextAdjustItem, SfxEnumItem);
XFormTextAdjustItem::XFormTextAdjustItem(XFormTextAdjust eTheAdjust) :
@@ -3256,8 +3212,6 @@ bool XFormTextAdjustItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*
return true;
}
-// class XFormTextDistanceItem
-
TYPEINIT1_AUTOFACTORY(XFormTextDistanceItem, SfxMetricItem);
XFormTextDistanceItem::XFormTextDistanceItem(long nDist) :
@@ -3280,8 +3234,6 @@ SfxPoolItem* XFormTextDistanceItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/) c
return new XFormTextDistanceItem(rIn);
}
-// class XFormTextStartItem
-
TYPEINIT1_AUTOFACTORY(XFormTextStartItem, SfxMetricItem);
XFormTextStartItem::XFormTextStartItem(long nStart) :
@@ -3304,8 +3256,6 @@ SfxPoolItem* XFormTextStartItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/) cons
return new XFormTextStartItem(rIn);
}
-// class XFormTextMirrorItem
-
TYPEINIT1_AUTOFACTORY(XFormTextMirrorItem, SfxBoolItem);
XFormTextMirrorItem::XFormTextMirrorItem(bool bMirror) :
@@ -3328,8 +3278,6 @@ SfxPoolItem* XFormTextMirrorItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/) con
return new XFormTextMirrorItem(rIn);
}
-// class XFormTextOutlineItem
-
TYPEINIT1_AUTOFACTORY(XFormTextOutlineItem, SfxBoolItem);
XFormTextOutlineItem::XFormTextOutlineItem(bool bOutline) :
@@ -3352,8 +3300,6 @@ SfxPoolItem* XFormTextOutlineItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/) co
return new XFormTextOutlineItem(rIn);
}
-// class XFormTextShadowItem
-
TYPEINIT1_AUTOFACTORY(XFormTextShadowItem, SfxEnumItem);
XFormTextShadowItem::XFormTextShadowItem(XFormTextShadow eFormTextShadow) :
@@ -3397,8 +3343,6 @@ bool XFormTextShadowItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*
return true;
}
-// class XFormTextShadowColorItem
-
TYPEINIT1_AUTOFACTORY(XFormTextShadowColorItem, XColorItem);
XFormTextShadowColorItem::XFormTextShadowColorItem(const OUString& rName,
@@ -3422,8 +3366,6 @@ SfxPoolItem* XFormTextShadowColorItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/
return new XFormTextShadowColorItem(rIn);
}
-// class XFormTextShadowXValItem
-
TYPEINIT1_AUTOFACTORY(XFormTextShadowXValItem, SfxMetricItem);
XFormTextShadowXValItem::XFormTextShadowXValItem(long nVal) :
@@ -3446,8 +3388,6 @@ SfxPoolItem* XFormTextShadowXValItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/)
return new XFormTextShadowXValItem(rIn);
}
-// class XFormTextShadowYValItem
-
TYPEINIT1_AUTOFACTORY(XFormTextShadowYValItem, SfxMetricItem);
XFormTextShadowYValItem::XFormTextShadowYValItem(long nVal) :
@@ -3470,8 +3410,6 @@ SfxPoolItem* XFormTextShadowYValItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/)
return new XFormTextShadowYValItem(rIn);
}
-// class XFormTextHideFormItem
-
TYPEINIT1_AUTOFACTORY(XFormTextHideFormItem, SfxBoolItem);
XFormTextHideFormItem::XFormTextHideFormItem(bool bHide) :
diff --git a/svx/source/xoutdev/xattr2.cxx b/svx/source/xoutdev/xattr2.cxx
index cd03b2b08e7e..eb478fef5142 100644
--- a/svx/source/xoutdev/xattr2.cxx
+++ b/svx/source/xoutdev/xattr2.cxx
@@ -32,8 +32,6 @@
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
-// class XLineTransparenceItem
-
TYPEINIT1_AUTOFACTORY(XLineTransparenceItem, SfxUInt16Item);
XLineTransparenceItem::XLineTransparenceItem(sal_uInt16 nLineTransparence) :
@@ -79,8 +77,6 @@ bool XLineTransparenceItem::GetPresentation
}
}
-// class XLineJointItem -
-
TYPEINIT1_AUTOFACTORY(XLineJointItem, SfxEnumItem);
XLineJointItem::XLineJointItem( com::sun::star::drawing::LineJoint eLineJoint ) :
@@ -184,8 +180,6 @@ sal_uInt16 XLineJointItem::GetValueCount() const
return 5;
}
-// class AffineMatrixItem
-
TYPEINIT1_AUTOFACTORY(AffineMatrixItem, SfxPoolItem);
AffineMatrixItem::AffineMatrixItem(const com::sun::star::geometry::AffineMatrix2D* pMatrix)
@@ -287,8 +281,6 @@ bool AffineMatrixItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8
return false;
}
-// class XLineCapItem -
-
TYPEINIT1_AUTOFACTORY(XLineCapItem, SfxEnumItem);
XLineCapItem::XLineCapItem(com::sun::star::drawing::LineCap eLineCap)
@@ -398,8 +390,6 @@ com::sun::star::drawing::LineCap XLineCapItem::GetValue() const
return eRetval;
}
-// class XFillTransparenceItem
-
TYPEINIT1_AUTOFACTORY(XFillTransparenceItem, SfxUInt16Item);
XFillTransparenceItem::XFillTransparenceItem(sal_uInt16 nFillTransparence) :
@@ -445,8 +435,6 @@ bool XFillTransparenceItem::GetPresentation
}
}
-// class XFormTextShadowTranspItem
-
TYPEINIT1_AUTOFACTORY(XFormTextShadowTranspItem, SfxUInt16Item);
XFormTextShadowTranspItem::XFormTextShadowTranspItem(sal_uInt16 nShdwTransparence) :
@@ -507,8 +495,6 @@ bool XGradientStepCountItem::GetPresentation
return true;
}
-// class XFillBmpTileItem
-
TYPEINIT1_AUTOFACTORY( XFillBmpTileItem, SfxBoolItem );
XFillBmpTileItem::XFillBmpTileItem( bool bTile ) :
@@ -774,8 +760,6 @@ bool XFillBmpTileOffsetYItem::GetPresentation
return true;
}
-// class XFillBmpStretchItem
-
TYPEINIT1_AUTOFACTORY( XFillBmpStretchItem, SfxBoolItem );
XFillBmpStretchItem::XFillBmpStretchItem( bool bStretch ) :
@@ -882,8 +866,6 @@ bool XFillBmpPosOffsetYItem::GetPresentation
return true;
}
-// class XFillBackgroundItem
-
TYPEINIT1_AUTOFACTORY(XFillBackgroundItem, SfxBoolItem);
XFillBackgroundItem::XFillBackgroundItem( bool bFill ) :
diff --git a/svx/source/xoutdev/xattrbmp.cxx b/svx/source/xoutdev/xattrbmp.cxx
index 00466318171d..10bc9525791f 100644
--- a/svx/source/xoutdev/xattrbmp.cxx
+++ b/svx/source/xoutdev/xattrbmp.cxx
@@ -197,8 +197,6 @@ void XOBitmap::Array2Bitmap()
bGraphicDirty = false;
}
-// class XFillBitmapItem
-
TYPEINIT1_AUTOFACTORY(XFillBitmapItem, NameOrIndex);
XFillBitmapItem::XFillBitmapItem(const OUString& rName, const GraphicObject& rGraphicObject)
diff --git a/svx/source/xoutdev/xtable.cxx b/svx/source/xoutdev/xtable.cxx
index 755a7038228a..166c873f27da 100644
--- a/svx/source/xoutdev/xtable.cxx
+++ b/svx/source/xoutdev/xtable.cxx
@@ -36,8 +36,6 @@ Color RGB_Color( ColorData nColorName )
return aRGBColor;
}
-// class XColorEntry
-
XColorEntry::XColorEntry(const Color& rColor, const OUString& rName)
: XPropertyEntry(rName),
aColor(rColor)
@@ -50,8 +48,6 @@ aColor(rOther.aColor)
{
}
-// class XLineEndEntry
-
XLineEndEntry::XLineEndEntry(const basegfx::B2DPolyPolygon& rB2DPolyPolygon, const OUString& rName)
: XPropertyEntry(rName),
aB2DPolyPolygon(rB2DPolyPolygon)
@@ -64,8 +60,6 @@ XLineEndEntry::XLineEndEntry(const XLineEndEntry& rOther)
{
}
-// class XDashEntry
-
XDashEntry::XDashEntry(const XDash& rDash, const OUString& rName)
: XPropertyEntry(rName),
aDash(rDash)
@@ -78,8 +72,6 @@ aDash(rOther.aDash)
{
}
-// class XHatchEntry
-
XHatchEntry::XHatchEntry(const XHatch& rHatch, const OUString& rName)
: XPropertyEntry(rName),
aHatch(rHatch)
@@ -92,8 +84,6 @@ XHatchEntry::XHatchEntry(const XHatchEntry& rOther)
{
}
-// class XGradientEntry
-
XGradientEntry::XGradientEntry(const XGradient& rGradient, const OUString& rName)
: XPropertyEntry(rName),
aGradient(rGradient)
@@ -106,8 +96,6 @@ XGradientEntry::XGradientEntry(const XGradientEntry& rOther)
{
}
-// class XBitmapEntry
-
XBitmapEntry::XBitmapEntry(const GraphicObject& rGraphicObject, const OUString& rName)
: XPropertyEntry(rName),
maGraphicObject(rGraphicObject)