summaryrefslogtreecommitdiff
path: root/sc/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-19 14:34:57 +0200
committerNoel Grandin <noel@peralex.com>2015-03-19 14:35:33 +0200
commit98c532b38589945717ff17ed344a358479074e5b (patch)
tree2ea10c4b32f3d6e7a7884b826c308aa14514fcd4 /sc/qa
parent2a9bd88e427c0646566ca988bb23e7dab25744c1 (diff)
convert opaque numeric value to underlying symbolic constants
Change-Id: Id2f74c5104873e78b188c9a2b8c779c8ada3bacc
Diffstat (limited to 'sc/qa')
-rw-r--r--sc/qa/unit/helper/qahelper.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/qa/unit/helper/qahelper.hxx b/sc/qa/unit/helper/qahelper.hxx
index 3d3e0dabbfdc..e89745e1e910 100644
--- a/sc/qa/unit/helper/qahelper.hxx
+++ b/sc/qa/unit/helper/qahelper.hxx
@@ -40,15 +40,15 @@
#define SCQAHELPER_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
-#define ODS_FORMAT_TYPE static_cast<SfxFilterFlags>(50331943)
-#define XLS_FORMAT_TYPE static_cast<SfxFilterFlags>(318767171)
-#define XLSX_FORMAT_TYPE static_cast<SfxFilterFlags>(268959811)
-#define LOTUS123_FORMAT_TYPE static_cast<SfxFilterFlags>(268435649)
+#define ODS_FORMAT_TYPE (SfxFilterFlags::IMPORT | SfxFilterFlags::EXPORT | SfxFilterFlags::TEMPLATE | SfxFilterFlags::OWN | SfxFilterFlags::DEFAULT | SfxFilterFlags::ENCRYPTION | SfxFilterFlags::PASSWORDTOMODIFY)
+#define XLS_FORMAT_TYPE (SfxFilterFlags::IMPORT | SfxFilterFlags::EXPORT | SfxFilterFlags::ALIEN | SfxFilterFlags::ENCRYPTION | SfxFilterFlags::PASSWORDTOMODIFY | SfxFilterFlags::PREFERED)
+#define XLSX_FORMAT_TYPE (SfxFilterFlags::IMPORT | SfxFilterFlags::EXPORT | SfxFilterFlags::ALIEN | SfxFilterFlags::STARONEFILTER | SfxFilterFlags::PREFERED)
+#define LOTUS123_FORMAT_TYPE (SfxFilterFlags::IMPORT | SfxFilterFlags::ALIEN | SfxFilterFlags::USESOPTIONS | SfxFilterFlags::PREFERED)
#define CSV_FORMAT_TYPE (SfxFilterFlags::IMPORT | SfxFilterFlags::EXPORT | SfxFilterFlags::ALIEN | SfxFilterFlags::USESOPTIONS)
#define HTML_FORMAT_TYPE (SfxFilterFlags::IMPORT | SfxFilterFlags::EXPORT | SfxFilterFlags::ALIEN | SfxFilterFlags::USESOPTIONS)
#define DIF_FORMAT_TYPE (SfxFilterFlags::IMPORT | SfxFilterFlags::EXPORT | SfxFilterFlags::ALIEN | SfxFilterFlags::USESOPTIONS)
#define XLS_XML_FORMAT_TYPE (SfxFilterFlags::IMPORT | SfxFilterFlags::EXPORT | SfxFilterFlags::ALIEN)
-#define XLSB_XML_FORMAT_TYPE static_cast<SfxFilterFlags>(268959809)
+#define XLSB_XML_FORMAT_TYPE (SfxFilterFlags::IMPORT | SfxFilterFlags::ALIEN | SfxFilterFlags::STARONEFILTER | SfxFilterFlags::PREFERED)
#define ODS 0
#define XLS 1