summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-09-09 13:45:22 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-09-09 13:46:35 +0200
commit67d6de5c27fdb277c6e942b4036d46f887cb5f4d (patch)
tree617ed19d7b5c15926938416ccb21292047c3ce31 /sc
parentd7e77d2cbceb0fdf7bd299876bb51bd20d232030 (diff)
second try to prevent warning
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/filters-test.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx
index 0c5812e0bce4..6406387a1763 100644
--- a/sc/qa/unit/filters-test.cxx
+++ b/sc/qa/unit/filters-test.cxx
@@ -73,9 +73,12 @@ const int indeterminate = 2;
namespace {
- struct {
+
+ struct FileFormats {
const char* pName; const char* pFilterName; const char* pTypeName; sal_uLong nFormatType;
- } aFileFormats[] = {
+ };
+
+ FileFormats aFileFormats[] = {
{ "ods" , "calc8", "", ODS_FORMAT_TYPE },
{ "xls" , "MS Excel 97", "calc_MS_EXCEL_97", XLS_FORMAT_TYPE },
{ "xlsx", "Calc MS Excel 2007 XML" , "MS Excel 2007 XML", XLSX_FORMAT_TYPE }