[Libreoffice-commits] core.git: sal/osl

Chris Sherlock chris.sherlock79 at gmail.com
Sat Jul 22 10:08:53 UTC 2017


 sal/osl/w32/path_helper.hxx |   32 ++++++++++----------------------
 1 file changed, 10 insertions(+), 22 deletions(-)

New commits:
commit 90d6538a996e6ac0c172edabd6b289511389585e
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Sat Jul 22 20:08:06 2017 +1000

    osl: get rid of comment cruft in w32 path_helper.hxx
    
    Change-Id: Iaa6160c21281153041fda38ed99f94419f1e9e0d

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
 {


More information about the Libreoffice-commits mailing list