summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/chart/objectformatter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/drawingml/chart/objectformatter.cxx')
-rw-r--r--oox/source/drawingml/chart/objectformatter.cxx42
1 files changed, 21 insertions, 21 deletions
diff --git a/oox/source/drawingml/chart/objectformatter.cxx b/oox/source/drawingml/chart/objectformatter.cxx
index 5b5f67b39d5b..2e13a0416e6a 100644
--- a/oox/source/drawingml/chart/objectformatter.cxx
+++ b/oox/source/drawingml/chart/objectformatter.cxx
@@ -53,9 +53,9 @@ namespace {
struct AutoFormatPatternEntry
{
- sal_Int32 mnColorToken; /// Theme color token.
- sal_Int32 mnModToken; /// Color modification token.
- sal_Int32 mnModValue; /// Color modification value.
+ sal_Int32 const mnColorToken; /// Theme color token.
+ sal_Int32 const mnModToken; /// Color modification token.
+ sal_Int32 const mnModValue; /// Color modification value.
};
#define AUTOFORMAT_PATTERN_COLOR( color_token ) \
@@ -117,15 +117,15 @@ static const AutoFormatPatternEntry spAutoFormatPattern4[] =
struct AutoFormatEntry
{
- sal_Int32 mnFirstStyleIdx; /// First chart style index.
- sal_Int32 mnLastStyleIdx; /// Last chart style index.
- sal_Int32 mnThemedIdx; /// Themed style index.
- sal_Int32 mnColorToken; /// Theme color token.
- sal_Int32 mnModToken; /// Color modification token.
- sal_Int32 mnModValue; /// Color modification value.
- sal_Int32 mnRelLineWidth; /// Relative line width (percent).
+ sal_Int32 const mnFirstStyleIdx; /// First chart style index.
+ sal_Int32 const mnLastStyleIdx; /// Last chart style index.
+ sal_Int32 const mnThemedIdx; /// Themed style index.
+ sal_Int32 const mnColorToken; /// Theme color token.
+ sal_Int32 const mnModToken; /// Color modification token.
+ sal_Int32 const mnModValue; /// Color modification value.
+ sal_Int32 const mnRelLineWidth; /// Relative line width (percent).
const AutoFormatPatternEntry* mpPattern;/// Color cycling pattern for data series.
- bool mbFadedColor; /// True = Faded color for data series.
+ bool const mbFadedColor; /// True = Faded color for data series.
};
#define AUTOFORMAT_COLOR( first, last, themed_style, color_token ) \
@@ -394,13 +394,13 @@ const AutoFormatEntry* lclGetAutoFormatEntry( const AutoFormatEntry* pEntries, s
struct AutoTextEntry
{
- sal_Int32 mnFirstStyleIdx; /// First chart style index.
- sal_Int32 mnLastStyleIdx; /// Last chart style index.
- sal_Int32 mnThemedFont; /// Themed font (minor/major).
- sal_Int32 mnColorToken; /// Theme color token.
- sal_Int32 mnDefFontSize; /// Default font size (1/100 points).
- sal_Int32 mnRelFontSize; /// Font size relative to chart global font (percent).
- bool mbBold; /// True = bold font.
+ sal_Int32 const mnFirstStyleIdx; /// First chart style index.
+ sal_Int32 const mnLastStyleIdx; /// Last chart style index.
+ sal_Int32 const mnThemedFont; /// Themed font (minor/major).
+ sal_Int32 const mnColorToken; /// Theme color token.
+ sal_Int32 const mnDefFontSize; /// Default font size (1/100 points).
+ sal_Int32 const mnRelFontSize; /// Font size relative to chart global font (percent).
+ bool const mbBold; /// True = bold font.
};
#define AUTOTEXT_COLOR( first, last, themed_font, color_token, def_font_size, rel_font_size, bold ) \
@@ -505,7 +505,7 @@ struct ObjectTypeFormatEntry
const AutoFormatEntry* mpAutoLines; /// Automatic line formatting for all chart styles.
const AutoFormatEntry* mpAutoFills; /// Automatic fill formatting for all chart styles.
const AutoTextEntry* mpAutoTexts; /// Automatic text attributes for all chart styles.
- bool mbIsFrame; /// True = object is a frame, false = object is a line.
+ bool const mbIsFrame; /// True = object is a frame, false = object is a line.
ObjectTypeFormatEntry(ObjectType eObjType, const ShapePropertyInfo& rPropInfo,
const AutoFormatEntry* pAutoLines,
const AutoFormatEntry* pAutoFills,
@@ -704,8 +704,8 @@ struct ObjectFormatterData
ModelObjectHelper maModelObjHelper; /// Helper for named drawing formatting (dashes, gradients, bitmaps).
Reference< XNumberFormats > mxNumFmts; /// Number formats collection of container document.
Reference< XNumberFormatTypes > mxNumTypes; /// Number format types collection of container document.
- Locale maEnUsLocale; /// Locale struct containing en-US.
- Locale maFromLocale; /// Empty locale struct.
+ Locale const maEnUsLocale; /// Locale struct containing en-US.
+ Locale const maFromLocale; /// Empty locale struct.
sal_Int32 mnMaxSeriesIdx; /// Maximum series index used for color cycling/fading.
explicit ObjectFormatterData(