diff options
Diffstat (limited to 'sal/osl/w32/procimpl.cxx')
-rw-r--r-- | sal/osl/w32/procimpl.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
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); |