diff options
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; |