diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-23 15:13:14 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-24 06:54:31 +0000 |
commit | 2a16ad7e4a2646fb9df447bc0aab195af5ea770f (patch) | |
tree | 494e56c7ccf162b227aba6a231c91752b0ece1e9 /include | |
parent | 6bda2bf6fe8afba0b47ad89033ea3dbf6dc8b797 (diff) |
Convert XMLTextType to scoped enum
Change-Id: Iac147e57784e11d29f2b34e60dc3c624d6090c8b
Reviewed-on: https://gerrit.libreoffice.org/25367
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/xmloff/txtimp.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/xmloff/txtimp.hxx b/include/xmloff/txtimp.hxx index 92f2bf976d63..8bc38d66f0ce 100644 --- a/include/xmloff/txtimp.hxx +++ b/include/xmloff/txtimp.hxx @@ -352,14 +352,14 @@ enum XMLTextContourAttrTokens }; enum XMLTextType { - XML_TEXT_TYPE_BODY, - XML_TEXT_TYPE_CELL, - XML_TEXT_TYPE_SHAPE, - XML_TEXT_TYPE_TEXTBOX, - XML_TEXT_TYPE_HEADER_FOOTER, - XML_TEXT_TYPE_SECTION, - XML_TEXT_TYPE_FOOTNOTE, - XML_TEXT_TYPE_CHANGED_REGION + Body, + Cell, + Shape, + TextBox, + HeaderFooter, + Section, + Footnote, + ChangedRegion }; /// variable type (for XMLSetVarFieldImportContext) @@ -422,7 +422,7 @@ public: SvXMLImport& rImport, sal_uInt16 nPrefix, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList, - XMLTextType eType = XML_TEXT_TYPE_SHAPE ); + XMLTextType eType = XMLTextType::Shape ); SvXMLTokenMap const& GetTextElemTokenMap(); SvXMLTokenMap const& GetTextPElemTokenMap(); |