diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-26 10:14:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-26 10:41:14 +0100 |
commit | aaad3500b3d558836a776b162184cb0556850940 (patch) | |
tree | e5b672b7ccfeb937ea933f6d1bac5e0e7dcbc34e /include | |
parent | ab86777f93754f1f40d8a7ed584422ddc05b9eb7 (diff) |
remove some unused enum values in xmloff
(*) also make it more obvious what XMLShapeExportFlags::SIZE represents
Change-Id: Ie63edf0f2827f171542037b819ebe7d55e090275
Reviewed-on: https://gerrit.libreoffice.org/63948
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/xmloff/shapeexport.hxx | 2 | ||||
-rw-r--r-- | include/xmloff/xmlexppr.hxx | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/include/xmloff/shapeexport.hxx b/include/xmloff/shapeexport.hxx index def1bd936536..d9cb574deadc 100644 --- a/include/xmloff/shapeexport.hxx +++ b/include/xmloff/shapeexport.hxx @@ -52,7 +52,7 @@ enum class XMLShapeExportFlags { POSITION = 0x0003, WIDTH = 0x0004, HEIGHT = 0x0008, - SIZE = 0x000c, + SIZE = WIDTH | HEIGHT, // when you set this flag a chart does NOT export its own data as table element NO_CHART_DATA = 0x0010, // When setting the flag below no ignorableWhiteSpace will be called around diff --git a/include/xmloff/xmlexppr.hxx b/include/xmloff/xmlexppr.hxx index b2f564e186ec..770572c3bd99 100644 --- a/include/xmloff/xmlexppr.hxx +++ b/include/xmloff/xmlexppr.hxx @@ -32,16 +32,11 @@ enum class SvXmlExportFlags { NONE = 0x0000, - DEFAULTS = 0x0001, // export also default items - DEEP = 0x0002, // export also items from - // parent item sets - EMPTY = 0x0004, // export attribs element - // even if its empty IGN_WS = 0x0008 }; namespace o3tl { - template<> struct typed_flags<SvXmlExportFlags> : is_typed_flags<SvXmlExportFlags, 0xf> {}; + template<> struct typed_flags<SvXmlExportFlags> : is_typed_flags<SvXmlExportFlags, 0x08> {}; } class SvXMLUnitConverter; |