Change-Id: I7c61c8540ab9a9b5b2dafd901578fb7fd7fa85a8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162796
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini 2024-01-31 10:36:04 +01:00 committed by Julien Nabet
parent 077fa0a0d1
commit 658d4d013a

View file

@ -168,7 +168,7 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar
// in "mailto:foo?\n[0]\tcancel\n[1]\tOpen the file\tmailto:foo\n[2]\t // in "mailto:foo?\n[0]\tcancel\n[1]\tOpen the file\tmailto:foo\n[2]\t
// Open the URL\tmailto:foo\n\nWhich did you mean? Cancelled." on // Open the URL\tmailto:foo\n\nWhich did you mean? Cancelled." on
// stderr and SystemShellExecuteException. // stderr and SystemShellExecuteException.
// 1.2 If it does not match an exitsting pathname (relative to CWD): // 1.2 If it does not match an existing pathname (relative to CWD):
// Results in the corresponding application being opened with the given // Results in the corresponding application being opened with the given
// document (e.g., Mail with a New Message). // document (e.g., Mail with a New Message).
// 2 If the given URI reference does not match a supported scheme // 2 If the given URI reference does not match a supported scheme
@ -179,7 +179,7 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar
// a non-executable regular file: Results in opening it in TextEdit. // a non-executable regular file: Results in opening it in TextEdit.
// 2.3 If it matches an existing pathname (relative to CWD) pointing to // 2.3 If it matches an existing pathname (relative to CWD) pointing to
// a directory: Results in opening it in Finder. // a directory: Results in opening it in Finder.
// 2.4 If it does not match an exitsting pathname (relative to CWD): // 2.4 If it does not match an existing pathname (relative to CWD):
// Results in "The file /.../foo:bar does not exits." (where "/..." is // Results in "The file /.../foo:bar does not exits." (where "/..." is
// the CWD) on stderr and SystemShellExecuteException. // the CWD) on stderr and SystemShellExecuteException.
aBuffer.append("open"); aBuffer.append("open");