From 5bd732bf8f40d4d3f89fee967593096117f325ca Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Fri, 9 Sep 2011 05:18:18 +0200 Subject: prevent warning --- sc/qa/unit/filters-test.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx index 170713f57bb3..0c5812e0bce4 100644 --- a/sc/qa/unit/filters-test.cxx +++ b/sc/qa/unit/filters-test.cxx @@ -71,16 +71,16 @@ const int indeterminate = 2; #define XLS_FORMAT_TYPE 318767171 #define XLSX_FORMAT_TYPE 268959811 -struct { - const char* pName; const char* pFilterName; const char* pTypeName; sal_uLong nFormatType; -} 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 } -}; - namespace { + struct { + const char* pName; const char* pFilterName; const char* pTypeName; sal_uLong nFormatType; + } 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 } + }; + void loadFile(const rtl::OUString& aFileName, std::string& aContent) { rtl::OString aOFileName = rtl::OUStringToOString(aFileName, RTL_TEXTENCODING_UTF8); -- cgit