summaryrefslogtreecommitdiff
path: root/include/test
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-15 10:03:53 +0200
committerNoel Grandin <noel@peralex.com>2015-05-15 10:05:03 +0200
commitad0c5e6c663642c1e4b212e4e6a38ebfe8c3e0a7 (patch)
tree6176009e3c65a6a1ce392ca4c4a9eccea3c3517c /include/test
parentd93915b2aeabbde90b7eb539116b9be49e0d1a5c (diff)
convert META_*_ACTION constants to scoped enum
Change-Id: I8ecfbfecd765a35fafcbcc5452b0d04a89be2459
Diffstat (limited to 'include/test')
-rw-r--r--include/test/mtfxmldump.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/test/mtfxmldump.hxx b/include/test/mtfxmldump.hxx
index 5c21765574f9..6fc24e61992e 100644
--- a/include/test/mtfxmldump.hxx
+++ b/include/test/mtfxmldump.hxx
@@ -15,13 +15,15 @@
#include <libxml/tree.h>
#include <vcl/gdimtf.hxx>
-#include <vector>
+#include <vcl/metaactiontypes.hxx>
+#include <o3tl/enumarray.hxx>
class XmlWriter;
+enum class MetaActionType;
class OOO_DLLPUBLIC_TEST MetafileXmlDump
{
- std::vector<bool> maFilter;
+ o3tl::enumarray<MetaActionType, bool> maFilter;
void writeXml(const GDIMetaFile& rMetaFile, XmlWriter& rWriter);
@@ -29,7 +31,7 @@ public:
MetafileXmlDump();
virtual ~MetafileXmlDump();
- void filterActionType(const sal_uInt16 nActionType, bool bShouldFilter);
+ void filterActionType(const MetaActionType nActionType, bool bShouldFilter);
void filterAllActionTypes();
/** The actual result that will be used for testing.