diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:00:57 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:00:57 +0100 |
commit | 9dab60931e65220049b7c39579a57aebf0f9de5e (patch) | |
tree | 14ca37e3f41ee344e010334f69806afbe6317d15 /xmloff/source/text/txtparai.cxx | |
parent | b5ed99e5a5adc097283f1409a06d770949fb22af (diff) |
More loplugin:cstylecast: xmloff
Change-Id: I870bc9fd1c7361913b073411065ec723f6b080da
Diffstat (limited to 'xmloff/source/text/txtparai.cxx')
-rw-r--r-- | xmloff/source/text/txtparai.cxx | 8 |
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; |