From 9dab60931e65220049b7c39579a57aebf0f9de5e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 15 Jan 2018 09:00:57 +0100 Subject: More loplugin:cstylecast: xmloff Change-Id: I870bc9fd1c7361913b073411065ec723f6b080da --- xmloff/source/text/txtparai.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xmloff/source/text/txtparai.cxx') 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(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(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(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(nToken), rHints); break; -- cgit