Kaydet (Commit) e15718c4 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

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.
üst 5440aa1e
......@@ -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 }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment