summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/SchXMLEnumConverter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/chart/SchXMLEnumConverter.cxx')
-rw-r--r--xmloff/source/chart/SchXMLEnumConverter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/chart/SchXMLEnumConverter.cxx b/xmloff/source/chart/SchXMLEnumConverter.cxx
index fcaf78a0a386..13480c808d2e 100644
--- a/xmloff/source/chart/SchXMLEnumConverter.cxx
+++ b/xmloff/source/chart/SchXMLEnumConverter.cxx
@@ -34,7 +34,7 @@ const SvXMLEnumMapEntry<chart::ChartLegendPosition> aXMLLegendPositionEnumMap[]
{ XML_TOP, chart::ChartLegendPosition_TOP },
{ XML_END, chart::ChartLegendPosition_RIGHT },
{ XML_BOTTOM, chart::ChartLegendPosition_BOTTOM },
- { XML_TOKEN_INVALID, (chart::ChartLegendPosition)0 }
+ { XML_TOKEN_INVALID, chart::ChartLegendPosition(0) }
};
class XMLLegendPositionPropertyHdl : public XMLEnumPropertyHdl
@@ -54,7 +54,7 @@ const SvXMLEnumMapEntry<chart::ChartLegendExpansion> aXMLLegendExpansionEnumMap[
{ XML_HIGH, chart::ChartLegendExpansion_HIGH },
{ XML_BALANCED, chart::ChartLegendExpansion_BALANCED },
{ XML_CUSTOM, chart::ChartLegendExpansion_CUSTOM },
- { XML_TOKEN_INVALID, (chart::ChartLegendExpansion)0 }
+ { XML_TOKEN_INVALID, chart::ChartLegendExpansion(0) }
};
class XMLLegendExpansionPropertyHdl : public XMLEnumPropertyHdl