From a7dc1ecd176697051c30cea060b8c94277f714c8 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Wed, 26 Nov 2014 02:11:58 -0800 Subject: bnc#901693 change shell command new for non-template types Change-Id: I577ad11218c09f0aa8492e56aa685257a3020538 --- scp2/inc/macros.inc | 2 +- scp2/source/calc/registryitem_calc.scp | 4 ++-- scp2/source/draw/registryitem_draw.scp | 4 ++-- scp2/source/impress/registryitem_impress.scp | 4 ++-- scp2/source/math/registryitem_math.scp | 4 ++-- scp2/source/writer/registryitem_writer.scp | 8 ++++---- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/scp2/inc/macros.inc b/scp2/inc/macros.inc index c10a136e915a..00422eb5a853 100755 --- a/scp2/inc/macros.inc +++ b/scp2/inc/macros.inc @@ -290,7 +290,7 @@ End ParentID = PREDEFINED_HKEY_CLASSES_ROOT; \ ModuleID = modid; \ Subkey = STRING(CONCAT3(LibreOffice.,name,\shell\new\command)); \ - Value = "\"\program\\" STRING(app) "\" -n \"%1\""; \ + Value = "\"\program\\" STRING(app) "\" -o \"%1\""; \ End #define REGISTRY_ENTRY_OPEN_CMD(name,modid,app) \ diff --git a/scp2/source/calc/registryitem_calc.scp b/scp2/source/calc/registryitem_calc.scp index f9c2935ab347..01bd20664b36 100644 --- a/scp2/source/calc/registryitem_calc.scp +++ b/scp2/source/calc/registryitem_calc.scp @@ -355,7 +355,7 @@ RegistryItem gid_Regitem_Soffice_Starcalcdocument_6_Shell_New_Command ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ModuleID = gid_Module_Prg_Calc_Bin; Subkey = "soffice.StarCalcDocument.6\shell\new\command"; - Value = "\"\program\soffice.exe\" -n \"%1\""; + Value = "\"\program\soffice.exe\" -o \"%1\""; End RegistryItem gid_Regitem_Soffice_Starcalcdocument_6_Shell_Open_Command @@ -795,7 +795,7 @@ RegistryItem gid_Regitem_Openoffice_Calcdocument_1_Shell_New_Command ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ModuleID = gid_Module_Prg_Calc_Bin; Subkey = "LibreOffice.CalcDocument.1\shell\new\command"; - Value = "\"\program\soffice.exe\" -n \"%1\""; + Value = "\"\program\soffice.exe\" -o \"%1\""; End RegistryItem gid_Regitem_Openoffice_Calcdocument_1_Shell_Open_Command diff --git a/scp2/source/draw/registryitem_draw.scp b/scp2/source/draw/registryitem_draw.scp index 367393614307..c475c580f688 100644 --- a/scp2/source/draw/registryitem_draw.scp +++ b/scp2/source/draw/registryitem_draw.scp @@ -321,7 +321,7 @@ RegistryItem gid_Regitem_Soffice_Stardrawdocument_6_Shell_New_Command ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ModuleID = gid_Module_Prg_Draw_Bin; Subkey = "soffice.StarDrawDocument.6\shell\new\command"; - Value = "\"\program\soffice.exe\" -n \"%1\""; + Value = "\"\program\soffice.exe\" -o \"%1\""; End RegistryItem gid_Regitem_Soffice_Stardrawdocument_6_Shell_Open_Command @@ -761,7 +761,7 @@ RegistryItem gid_Regitem_Openoffice_Drawdocument_1_Shell_New_Command ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ModuleID = gid_Module_Prg_Draw_Bin; Subkey = "LibreOffice.DrawDocument.1\shell\new\command"; - Value = "\"\program\soffice.exe\" -n \"%1\""; + Value = "\"\program\soffice.exe\" -o \"%1\""; End RegistryItem gid_Regitem_Openoffice_Drawdocument_1_Shell_Open_Command diff --git a/scp2/source/impress/registryitem_impress.scp b/scp2/source/impress/registryitem_impress.scp index ee1bebfb0035..2a96304a7e88 100644 --- a/scp2/source/impress/registryitem_impress.scp +++ b/scp2/source/impress/registryitem_impress.scp @@ -355,7 +355,7 @@ RegistryItem gid_Regitem_Soffice_Starimpressdocument_6_Shell_New_Command ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ModuleID = gid_Module_Prg_Impress_Bin; Subkey = "soffice.StarImpressDocument.6\shell\new\command"; - Value = "\"\program\soffice.exe\" -n \"%1\""; + Value = "\"\program\soffice.exe\" -o \"%1\""; End RegistryItem gid_Regitem_Soffice_Starimpressdocument_6_Shell_Open_Command @@ -810,7 +810,7 @@ RegistryItem gid_Regitem_Openoffice_Impressdocument_1_Shell_New_Command ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ModuleID = gid_Module_Prg_Impress_Bin; Subkey = "LibreOffice.ImpressDocument.1\shell\new\command"; - Value = "\"\program\soffice.exe\" -n \"%1\""; + Value = "\"\program\soffice.exe\" -o \"%1\""; End RegistryItem gid_Regitem_Openoffice_Impressdocument_1_Shell_Open_Command diff --git a/scp2/source/math/registryitem_math.scp b/scp2/source/math/registryitem_math.scp index 148652243c90..ab731b9c01b7 100644 --- a/scp2/source/math/registryitem_math.scp +++ b/scp2/source/math/registryitem_math.scp @@ -354,7 +354,7 @@ RegistryItem gid_Regitem_Soffice_Starmathdocument_6_Shell_New_Command ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ModuleID = gid_Module_Prg_Math_Bin; Subkey = "soffice.StarMathDocument.6\shell\new\command"; - Value = "\"\program\soffice.exe\" -n \"%1\""; + Value = "\"\program\soffice.exe\" -o \"%1\""; End RegistryItem gid_Regitem_Soffice_Starmathdocument_6_Shell_Open_Command @@ -651,7 +651,7 @@ RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell_New_Command ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ModuleID = gid_Module_Prg_Math_Bin; Subkey = "LibreOffice.MathDocument.1\shell\new\command"; - Value = "\"\program\soffice.exe\" -n \"%1\""; + Value = "\"\program\soffice.exe\" -o \"%1\""; End RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell_Open_Command diff --git a/scp2/source/writer/registryitem_writer.scp b/scp2/source/writer/registryitem_writer.scp index 9537f1bed7fa..4525f2c95fbc 100644 --- a/scp2/source/writer/registryitem_writer.scp +++ b/scp2/source/writer/registryitem_writer.scp @@ -355,7 +355,7 @@ RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_Shell_New_Command ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ModuleID = gid_Module_Prg_Wrt_Bin; Subkey = "soffice.StarWriterDocument.6\shell\new\command"; - Value = "\"\program\soffice.exe\" -n \"%1\""; + Value = "\"\program\soffice.exe\" -o \"%1\""; End RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_Shell_Open_Command @@ -442,7 +442,7 @@ RegistryItem gid_Regitem_Soffice_Starwriterglobaldocument_6_Shell_New_Command ParentID = PREDEFINED_HKEY_CLASSES_ROOT; Subkey = "soffice.StarWriterGlobalDocument.6\shell\new\command"; ModuleID = gid_Module_Prg_Wrt_Bin; - Value = "\"\program\soffice.exe\" -n \"%1\""; + Value = "\"\program\soffice.exe\" -o \"%1\""; End RegistryItem gid_Regitem_Soffice_Starwriterglobaldocument_6_Shell_Open_Command @@ -945,7 +945,7 @@ RegistryItem gid_Regitem_Openoffice_Writerdocument_1_Shell_New_Command ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ModuleID = gid_Module_Prg_Wrt_Bin; Subkey = "LibreOffice.WriterDocument.1\shell\new\command"; - Value = "\"\program\soffice.exe\" -n \"%1\""; + Value = "\"\program\soffice.exe\" -o \"%1\""; End RegistryItem gid_Regitem_Openoffice_Writerdocument_1_Shell_Open_Command @@ -1293,7 +1293,7 @@ RegistryItem gid_Regitem_Openoffice_Writerglobaldocument_1_Shell_New_Command ParentID = PREDEFINED_HKEY_CLASSES_ROOT; Subkey = "LibreOffice.WriterGlobalDocument.1\shell\new\command"; ModuleID = gid_Module_Prg_Wrt_Bin; - Value = "\"\program\soffice.exe\" -n \"%1\""; + Value = "\"\program\soffice.exe\" -o \"%1\""; End RegistryItem gid_Regitem_Openoffice_Writerglobaldocument_1_Shell_Open_Command -- cgit