summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtparai.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/text/txtparai.cxx
parentb5ed99e5a5adc097283f1409a06d770949fb22af (diff)
More loplugin:cstylecast: xmloff
Change-Id: I870bc9fd1c7361913b073411065ec723f6b080da
Diffstat (limited to 'xmloff/source/text/txtparai.cxx')
-rw-r--r--xmloff/source/text/txtparai.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx
index d57944f89b3c..67fb156aff9a 100644
--- a/xmloff/source/text/txtparai.cxx
+++ b/xmloff/source/text/txtparai.cxx
@@ -1652,28 +1652,28 @@ SvXMLImportContextRef XMLImpSpanContext_Impl::CreateChildContext(
case XML_TOK_TEXT_TOC_MARK_START:
pContext = new XMLTOCMarkImportContext_Impl(
rImport, nPrefix, rLocalName,
- (enum XMLTextPElemTokens)nToken, rHints);
+ static_cast<enum XMLTextPElemTokens>(nToken), rHints);
break;
case XML_TOK_TEXT_USER_INDEX_MARK:
case XML_TOK_TEXT_USER_INDEX_MARK_START:
pContext = new XMLUserIndexMarkImportContext_Impl(
rImport, nPrefix, rLocalName,
- (enum XMLTextPElemTokens)nToken, rHints);
+ static_cast<enum XMLTextPElemTokens>(nToken), rHints);
break;
case XML_TOK_TEXT_ALPHA_INDEX_MARK:
case XML_TOK_TEXT_ALPHA_INDEX_MARK_START:
pContext = new XMLAlphaIndexMarkImportContext_Impl(
rImport, nPrefix, rLocalName,
- (enum XMLTextPElemTokens)nToken, rHints);
+ static_cast<enum XMLTextPElemTokens>(nToken), rHints);
break;
case XML_TOK_TEXT_TOC_MARK_END:
case XML_TOK_TEXT_USER_INDEX_MARK_END:
case XML_TOK_TEXT_ALPHA_INDEX_MARK_END:
pContext = new XMLIndexMarkImportContext_Impl(
- rImport, nPrefix, rLocalName, (enum XMLTextPElemTokens)nToken,
+ rImport, nPrefix, rLocalName, static_cast<enum XMLTextPElemTokens>(nToken),
rHints);
break;