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 /sw | |
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 'sw')
-rw-r--r-- | sw/source/filter/xml/xmltbli.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/xml/xmltext.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx index 0e65d2fcd444..d8f0d8d7ae60 100644 --- a/sw/source/filter/xml/xmltbli.cxx +++ b/sw/source/filter/xml/xmltbli.cxx @@ -666,7 +666,7 @@ SvXMLImportContext *SwXMLTableCellContext_Impl::CreateChildContext( { pContext = GetImport().GetTextImport()->CreateTextChildContext( GetImport(), nPrefix, rLocalName, xAttrList, - XML_TEXT_TYPE_CELL ); + XMLTextType::Cell ); } } diff --git a/sw/source/filter/xml/xmltext.cxx b/sw/source/filter/xml/xmltext.cxx index 084d5c96cb61..58fea1d5a9a9 100644 --- a/sw/source/filter/xml/xmltext.cxx +++ b/sw/source/filter/xml/xmltext.cxx @@ -60,7 +60,7 @@ SvXMLImportContext *SwXMLBodyContentContext_Impl::CreateChildContext( pContext = GetSwImport().GetTextImport()->CreateTextChildContext( GetImport(), nPrefix, rLocalName, xAttrList, - XML_TEXT_TYPE_BODY ); + XMLTextType::Body ); if( !pContext ) pContext = new SvXMLImportContext( GetImport(), nPrefix, rLocalName ); |