[Libreoffice-commits] .: shell/inc shell/source
Jesús Corrius
jcorrius at kemper.freedesktop.org
Sat Jan 29 15:59:41 PST 2011
shell/inc/internal/fileextensions.hxx | 2
shell/source/win32/shlxthandler/util/fileextensions.cxx | 44 ++++++++--------
2 files changed, 23 insertions(+), 23 deletions(-)
New commits:
commit b2db9fe070273ca251875d6540e4690695d9b2ce
Author: Jesús Corrius <jesus at softcatala.org>
Date: Sun Jan 30 00:57:23 2011 +0100
Win32 shell extensions have to use the new registry file extension IDs
diff --git a/shell/inc/internal/fileextensions.hxx b/shell/inc/internal/fileextensions.hxx
old mode 100644
new mode 100755
index f60769c..b668209
--- a/shell/inc/internal/fileextensions.hxx
+++ b/shell/inc/internal/fileextensions.hxx
@@ -45,7 +45,7 @@ struct FileExtensionEntry
{
char* ExtensionAnsi; // e.g. ".sxw"
wchar_t* ExtensionUnicode; // e.g. L".sxw"
- char* RegistryForwardKey; // e.g. "soffice.StarWriterDocument.6"
+ char* RegistryForwardKey; // e.g. "LibreOffice.StarWriterDocument.6"
};
extern FileExtensionEntry OOFileExtensionTable[];
diff --git a/shell/source/win32/shlxthandler/util/fileextensions.cxx b/shell/source/win32/shlxthandler/util/fileextensions.cxx
index db32e7b..267f7ec 100644
--- a/shell/source/win32/shlxthandler/util/fileextensions.cxx
+++ b/shell/source/win32/shlxthandler/util/fileextensions.cxx
@@ -44,28 +44,28 @@ const std::string WEB_FILE_EXTENSIONS = "oth";
const std::string DATABASE_FILE_EXTENSIONS = "odb";
FileExtensionEntry OOFileExtensionTable[] = {
- { ".sxw", L".sxw", "soffice.StarWriterDocument.6" },
- { ".sxc", L".sxc", "soffice.StarCalcDocument.6" },
- { ".sxi", L".sxi", "soffice.StarImpressDocument.6" },
- { ".sxd", L".sxd", "soffice.StarDrawDocument.6" },
- { ".sxm", L".sxm", "soffice.StarMathDocument.6" },
- { ".stw", L".stw", "soffice.StarWriterTemplate.6" },
- { ".sxg", L".sxg", "soffice.StarWriterGlobalDocument.6"},
- { ".std", L".std", "soffice.StarDrawTemplate.6" },
- { ".sti", L".sti", "soffice.StarImpressTemplate.6" },
- { ".stc", L".stc", "soffice.StarCalcTemplate.6" },
- { ".odt", L".odt", "opendocument.WriterDocument.1" },
- { ".ott", L".ott", "opendocument.WriterTemplate.1" },
- { ".odm", L".odm", "opendocument.WriterGlobalDocument.1" },
- { ".oth", L".oth", "opendocument.WriterWebTemplate.1" },
- { ".ods", L".ods", "opendocument.CalcDocument.1" },
- { ".ots", L".ots", "opendocument.CalcTemplate.1" },
- { ".odg", L".odg", "opendocument.DrawDocument.1" },
- { ".otg", L".otg", "opendocument.DrawTemplate.1" },
- { ".odp", L".odp", "opendocument.ImpressDocument.1" },
- { ".otp", L".otp", "opendocument.ImpressTemplate.1" },
- { ".odf", L".odf", "opendocument.MathDocument.1" },
- { ".odb", L".odb", "opendocument.DatabaseDocument.1" }
+ { ".sxw", L".sxw", "LibreOffice.StarWriterDocument.6" },
+ { ".sxc", L".sxc", "LibreOffice.StarCalcDocument.6" },
+ { ".sxi", L".sxi", "LibreOffice.StarImpressDocument.6" },
+ { ".sxd", L".sxd", "LibreOffice.StarDrawDocument.6" },
+ { ".sxm", L".sxm", "LibreOffice.StarMathDocument.6" },
+ { ".stw", L".stw", "LibreOffice.StarWriterTemplate.6" },
+ { ".sxg", L".sxg", "LibreOffice.StarWriterGlobalDocument.6"},
+ { ".std", L".std", "LibreOffice.StarDrawTemplate.6" },
+ { ".sti", L".sti", "LibreOffice.StarImpressTemplate.6" },
+ { ".stc", L".stc", "LibreOffice.StarCalcTemplate.6" },
+ { ".odt", L".odt", "LibreOffice.WriterDocument.1" },
+ { ".ott", L".ott", "LibreOffice.WriterTemplate.1" },
+ { ".odm", L".odm", "LibreOffice.WriterGlobalDocument.1" },
+ { ".oth", L".oth", "LibreOffice.WriterWebTemplate.1" },
+ { ".ods", L".ods", "LibreOffice.CalcDocument.1" },
+ { ".ots", L".ots", "LibreOffice.CalcTemplate.1" },
+ { ".odg", L".odg", "LibreOffice.DrawDocument.1" },
+ { ".otg", L".otg", "LibreOffice.DrawTemplate.1" },
+ { ".odp", L".odp", "LibreOffice.ImpressDocument.1" },
+ { ".otp", L".otp", "LibreOffice.ImpressTemplate.1" },
+ { ".odf", L".odf", "LibreOffice.MathDocument.1" },
+ { ".odb", L".odb", "LibreOffice.DatabaseDocument.1" }
};
More information about the Libreoffice-commits
mailing list