summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/chart
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-22 21:20:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 03:38:49 +0000
commit0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch)
tree5024cba9f9ea5e3b23ea26025323f6aef39488d0 /oox/source/drawingml/chart
parentb81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff)
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'oox/source/drawingml/chart')
-rw-r--r--oox/source/drawingml/chart/converterbase.cxx8
-rw-r--r--oox/source/drawingml/chart/objectformatter.cxx24
-rw-r--r--oox/source/drawingml/chart/plotareaconverter.cxx2
3 files changed, 17 insertions, 17 deletions
diff --git a/oox/source/drawingml/chart/converterbase.cxx b/oox/source/drawingml/chart/converterbase.cxx
index cba883f84d00..01296719f69b 100644
--- a/oox/source/drawingml/chart/converterbase.cxx
+++ b/oox/source/drawingml/chart/converterbase.cxx
@@ -63,7 +63,7 @@ struct TitleKey : public ::std::pair< ObjectType, ::std::pair< sal_Int32, sal_In
{ first = eObjType; second.first = nMainIdx; second.second = nSubIdx; }
};
-// ----------------------------------------------------------------------------
+
/** A helper structure to store all data related to title objects. Needed for
the conversion of manual title positions that needs the old Chart1 API.
@@ -103,7 +103,7 @@ void TitleLayoutInfo::convertTitlePos( ConverterRoot& rRoot, const Reference< cs
}
}
-// ----------------------------------------------------------------------------
+
/* The following local functions implement getting the XShape interface of all
supported title objects (chart and axes). This needs some effort due to the
@@ -165,7 +165,7 @@ struct ConverterData
~ConverterData();
};
-// ----------------------------------------------------------------------------
+
ConverterData::ConverterData(
XmlFilterBase& rFilter,
@@ -350,7 +350,7 @@ double lclCalcRelSize( double fPos, double fSize, sal_Int32 nSizeMode )
} // namespace
-// ----------------------------------------------------------------------------
+
LayoutConverter::LayoutConverter( const ConverterRoot& rParent, LayoutModel& rModel ) :
ConverterBase< LayoutModel >( rParent, rModel )
diff --git a/oox/source/drawingml/chart/objectformatter.cxx b/oox/source/drawingml/chart/objectformatter.cxx
index a840381df2cc..1d21c74ed0d8 100644
--- a/oox/source/drawingml/chart/objectformatter.cxx
+++ b/oox/source/drawingml/chart/objectformatter.cxx
@@ -116,7 +116,7 @@ static const AutoFormatPatternEntry spAutoFormatPattern4[] =
#undef AUTOFORMAT_PATTERN_COLORMOD
#undef AUTOFORMAT_PATTERN_END
-// ----------------------------------------------------------------------------
+
struct AutoFormatEntry
{
@@ -409,7 +409,7 @@ const AutoFormatEntry* lclGetAutoFormatEntry( const AutoFormatEntry* pEntries, s
return 0;
}
-// ----------------------------------------------------------------------------
+
struct AutoTextEntry
{
@@ -460,7 +460,7 @@ const AutoTextEntry* lclGetAutoTextEntry( const AutoTextEntry* pEntries, sal_Int
return 0;
}
-// ----------------------------------------------------------------------------
+
/** Property identifiers for common chart objects, to be used in ShapePropertyInfo. */
static const sal_Int32 spnCommonPropIds[] =
@@ -499,7 +499,7 @@ static const ShapePropertyInfo saLinearPropInfo( spnLinearPropIds, false, true,
/** Property info for filled data series, to be used in ShapePropertyMap. */
static const ShapePropertyInfo saFilledPropInfo( spnFilledPropIds, false, true, true, true );
-// ----------------------------------------------------------------------------
+
/** Contains information about formatting of a specific chart object type. */
struct ObjectTypeFormatEntry
@@ -553,7 +553,7 @@ static const ObjectTypeFormatEntry spObjTypeFormatEntries[] =
#undef TYPEFORMAT_FRAME
#undef TYPEFORMAT_LINE
-// ----------------------------------------------------------------------------
+
void lclConvertPictureOptions( FillProperties& orFillProps, const PictureOptionsModel& rPicOptions )
{
@@ -567,7 +567,7 @@ void lclConvertPictureOptions( FillProperties& orFillProps, const PictureOptions
struct ObjectFormatterData;
-// ----------------------------------------------------------------------------
+
class DetailFormatterBase
{
@@ -595,7 +595,7 @@ protected:
ColorPatternVec maColorPattern; /// Different cycling colors for data series.
};
-// ----------------------------------------------------------------------------
+
class LineFormatter : public DetailFormatterBase
{
@@ -614,7 +614,7 @@ private:
LinePropertiesPtr mxAutoLine; /// Automatic line properties.
};
-// ----------------------------------------------------------------------------
+
class FillFormatter : public DetailFormatterBase
{
@@ -634,7 +634,7 @@ private:
FillPropertiesPtr mxAutoFill; /// Automatic fill properties.
};
-// ----------------------------------------------------------------------------
+
class EffectFormatter : public DetailFormatterBase
{
@@ -650,7 +650,7 @@ public:
sal_Int32 nSeriesIdx ) const;
};
-// ----------------------------------------------------------------------------
+
class TextFormatter : public DetailFormatterBase
{
@@ -673,7 +673,7 @@ private:
TextCharacterPropertiesPtr mxAutoText; /// Automatic text properties.
};
-// ----------------------------------------------------------------------------
+
/** Formatter for a specific object type. */
class ObjectTypeFormatter
@@ -721,7 +721,7 @@ private:
const ObjectTypeFormatEntry& mrEntry; /// Additional settings.
};
-// ----------------------------------------------------------------------------
+
struct ObjectFormatterData
{
diff --git a/oox/source/drawingml/chart/plotareaconverter.cxx b/oox/source/drawingml/chart/plotareaconverter.cxx
index 8fcb6253bb5f..7244b6035906 100644
--- a/oox/source/drawingml/chart/plotareaconverter.cxx
+++ b/oox/source/drawingml/chart/plotareaconverter.cxx
@@ -92,7 +92,7 @@ private:
bool mbPieChart;
};
-// ----------------------------------------------------------------------------
+
AxesSetConverter::AxesSetConverter( const ConverterRoot& rParent, AxesSetModel& rModel ) :
ConverterBase< AxesSetModel >( rParent, rModel ),