diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-14 16:53:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-15 07:02:36 +0100 |
commit | aa58c380894dd384f6ce1efc62b3932136f2f477 (patch) | |
tree | ca6af6905afd398da0541c71733393540ab8be2e /sw/source/filter/xml/xmltexte.cxx | |
parent | 0cb4f304abf6f8dd6b40eb800788d2fe80581813 (diff) |
convert XML_STYLE_FAMILY to scoped enum
Change-Id: I5335b0190a2f5a8111993c0c9c224c8a6a8f0cfb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88723
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/xml/xmltexte.cxx')
-rw-r--r-- | sw/source/filter/xml/xmltexte.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx index 13f41c7b45f9..7645de3723ac 100644 --- a/sw/source/filter/xml/xmltexte.cxx +++ b/sw/source/filter/xml/xmltexte.cxx @@ -229,7 +229,7 @@ void SwXMLTextParagraphExport::_collectTextEmbeddedAutoStyles( lcl_addAspect( rObjRef, aStates, GetAutoFramePropMapper()->getPropertySetMapper() ); - Add( XML_STYLE_FAMILY_TEXT_FRAME, rPropSet, aStates ); + Add( XmlStyleFamily::TEXT_FRAME, rPropSet, aStates ); const XMLPropertyState **pStates = aStates; while( *pStates ) @@ -299,7 +299,7 @@ void SwXMLTextParagraphExport::_exportTextEmbedded( lcl_addAspect( rObjRef, aStates, GetAutoFramePropMapper()->getPropertySetMapper() ); - const OUString sAutoStyle = Find( XML_STYLE_FAMILY_TEXT_FRAME, + const OUString sAutoStyle = Find( XmlStyleFamily::TEXT_FRAME, rPropSet, sStyle, aStates ); const XMLPropertyState **pStates = aStates; while( *pStates ) |