[Libreoffice-commits] core.git: sal/osl
Chris Sherlock
chris.sherlock79 at gmail.com
Sat Jul 22 10:10:46 UTC 2017
sal/osl/w32/procimpl.cxx | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
New commits:
commit 09b676940e8133a31031d6f471e030935d56461f
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date: Sat Jul 22 20:09:53 2017 +1000
osl: small cosmetic change to make comment more readable
Change-Id: I5be685355b0c3180bbf23a421c66c086f05834fa
diff --git a/sal/osl/w32/procimpl.cxx b/sal/osl/w32/procimpl.cxx
index 73d1079c2bb8..ed0b5b3580bd 100644
--- a/sal/osl/w32/procimpl.cxx
+++ b/sal/osl/w32/procimpl.cxx
@@ -276,12 +276,12 @@ namespace /* private */
return quoted.makeStringAndClear();
}
- //The parameter path must be a system path. If it is longer than 260 characters
- //then it is shortened using the GetShortPathName function. This function only
- //works if the path exists. Because "path" can be the path to an executable, it
- //may not have the file extension ".exe". However, if the file on disk has the
- //".exe" extension, then the function will fail. In this case a second attempt
- //is started by adding the parameter "extension" to "path".
+ // The parameter path must be a system path. If it is longer than 260 characters
+ // then it is shortened using the GetShortPathName function. This function only
+ // works if the path exists. Because "path" can be the path to an executable, it
+ // may not have the file extension ".exe". However, if the file on disk has the
+ // ".exe" extension, then the function will fail. In this case a second attempt
+ // is started by adding the parameter "extension" to "path".
rtl::OUString getShortPath(rtl::OUString const & path, rtl::OUString const & extension)
{
rtl::OUString ret(path);
More information about the Libreoffice-commits
mailing list