diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-09-09 05:18:18 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-09-09 05:18:18 +0200 |
commit | 5bd732bf8f40d4d3f89fee967593096117f325ca (patch) | |
tree | 37c1fb2955631ac67edff682ab5ef781a3d906a3 /sc/qa | |
parent | add logical function unit test (diff) | |
download | core-5bd732bf8f40d4d3f89fee967593096117f325ca.tar.gz core-5bd732bf8f40d4d3f89fee967593096117f325ca.zip |
prevent warning
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/unit/filters-test.cxx | 16 |
1 files 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); |