From e15718c41d9afedf1557cae20298befdf464ca30 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Mon, 12 Sep 2011 23:34:27 -0400 Subject: 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. --- sc/qa/unit/filters-test.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/qa') 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 } -- cgit