[Libreoffice-commits] .: sc/qa

Markus Mohrhard mmohrhard at kemper.freedesktop.org
Fri Sep 9 04:50:23 PDT 2011


 sc/qa/unit/filters-test.cxx |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 67d6de5c27fdb277c6e942b4036d46f887cb5f4d
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Fri Sep 9 13:45:22 2011 +0200

     second try to prevent warning

diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx
index 0c5812e..6406387 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 }


More information about the Libreoffice-commits mailing list