diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-07-22 20:08:06 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-07-22 20:08:06 +1000 |
commit | 90d6538a996e6ac0c172edabd6b289511389585e (patch) | |
tree | 5e29022b0ca5a8dc3148af491c46eb8a3f0263d8 /sal | |
parent | 91d37dfd5186e1cd4a9a06a88078ed9ca24bbba8 (diff) |
osl: get rid of comment cruft in w32 path_helper.hxx
Change-Id: Iaa6160c21281153041fda38ed99f94419f1e9e0d
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/path_helper.hxx | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/sal/osl/w32/path_helper.hxx b/sal/osl/w32/path_helper.hxx index 78a4b2dd4776..68cf92cc05d8 100644 --- a/sal/osl/w32/path_helper.hxx +++ b/sal/osl/w32/path_helper.hxx @@ -29,70 +29,58 @@ #include <rtl/ustring.hxx> #include <sal/types.h> -/******************************************************************* - osl_systemPathEnsureSeparator +/** Adds a trailing path separator to the given system path if not already there and if the path is not the root path or a logical drive alone - ******************************************************************/ +*/ void osl_systemPathEnsureSeparator(/*inout*/ rtl_uString** ppustrPath); -/******************************************************************* - osl_systemPathRemoveSeparator +/** Removes the last separator from the given system path if any and if the path is not the root path '\' - ******************************************************************/ +*/ void SAL_CALL osl_systemPathRemoveSeparator(/*inout*/ rtl_uString** ppustrPath); -/******************************************************************* - osl_is_logical_drive_pattern +/** Returns whether a given path is only a logical drive pattern or not. A logical drive pattern is something like "a:\", "c:\". No logical drive pattern is something like "c:\test" - ******************************************************************/ +*/ bool osl_systemPathIsLogicalDrivePattern(/*in*/ const rtl_uString* pustrPath); namespace osl { -/******************************************************************* - osl_systemPathEnsureSeparator +/** Adds a trailing path separator to the given system path if not already there and if the path is not the root path or a logical drive alone - ******************************************************************/ +*/ inline void systemPathEnsureSeparator(/*inout*/ rtl::OUString& Path) { osl_systemPathEnsureSeparator(&Path.pData); } -/******************************************************************* - osl_systemPathRemoveSeparator +/** Removes the last separator from the given system path if any and if the path is not the root path '\' - ******************************************************************/ +*/ inline void systemPathRemoveSeparator(/*inout*/ rtl::OUString& Path) { osl_systemPathRemoveSeparator(&Path.pData); } -/******************************************************************* - osl_systemPathIsLogicalDrivePattern - ******************************************************************/ - inline bool systemPathIsLogicalDrivePattern(/*in*/ const rtl::OUString& path) { return osl_systemPathIsLogicalDrivePattern(path.pData); } -/******************************************************************* - LongPathBuffer - ******************************************************************/ template< class T > class LongPathBuffer { |