summaryrefslogtreecommitdiffstats
path: root/sc/qa
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-09-12 23:34:27 -0400
committerKohei Yoshida <kohei.yoshida@suse.com>2011-09-12 23:34:27 -0400
commite15718c41d9afedf1557cae20298befdf464ca30 (patch)
treec15346521afd486f226b134cdaf9ce15947d64a8 /sc/qa
parentLet's not indent in namespace scopes. (diff)
downloadcore-e15718c41d9afedf1557cae20298befdf464ca30.tar.gz
core-e15718c41d9afedf1557cae20298befdf464ca30.zip
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.
Diffstat (limited to 'sc/qa')
-rw-r--r--sc/qa/unit/filters-test.cxx4
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 }