summaryrefslogtreecommitdiff
path: root/include/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/shapeexport.hxx2
-rw-r--r--include/xmloff/xmlexppr.hxx7
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;