diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-09-12 23:34:27 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-09-12 23:34:27 -0400 |
commit | e15718c41d9afedf1557cae20298befdf464ca30 (patch) | |
tree | c15346521afd486f226b134cdaf9ce15947d64a8 | |
parent | 5440aa1e37b483d54fd44fe448cf57449bf6e42b (diff) |
It's appropriate to name this class singular.
Since each instance refers to a single file format, while its array
instance holds multiple instances of this structure.
-rw-r--r-- | sc/qa/unit/filters-test.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx index 3c06e731e00c..843b85bbd5fd 100644 --- a/sc/qa/unit/filters-test.cxx +++ b/sc/qa/unit/filters-test.cxx @@ -78,11 +78,11 @@ const int indeterminate = 2; namespace { -struct FileFormats { +struct FileFormat { const char* pName; const char* pFilterName; const char* pTypeName; sal_uLong nFormatType; }; -FileFormats aFileFormats[] = { +FileFormat 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 } |