summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/SchXMLEnumConverter.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:00:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:00:57 +0100
commit9dab60931e65220049b7c39579a57aebf0f9de5e (patch)
tree14ca37e3f41ee344e010334f69806afbe6317d15 /xmloff/source/chart/SchXMLEnumConverter.cxx
parentb5ed99e5a5adc097283f1409a06d770949fb22af (diff)
More loplugin:cstylecast: xmloff
Change-Id: I870bc9fd1c7361913b073411065ec723f6b080da
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