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

Stephan Bergmann sbergman at redhat.com
Mon Mar 31 09:21:50 PDT 2014


 sal/osl/unx/file_path_helper.hxx |   56 ---------------------------------------
 1 file changed, 56 deletions(-)

New commits:
commit c50e8224a40d8aaf8b8c2f29b1d1240022ac58a5
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Mar 31 18:21:20 2014 +0200

    Remove unused inline functions
    
    Change-Id: Ic31f99d6185000660750041065937845d4903bb3

diff --git a/sal/osl/unx/file_path_helper.hxx b/sal/osl/unx/file_path_helper.hxx
index 6a16a55..4a21062 100644
--- a/sal/osl/unx/file_path_helper.hxx
+++ b/sal/osl/unx/file_path_helper.hxx
@@ -135,40 +135,6 @@ namespace osl
         BasePath.pData, RelPath.pData, &AbsolutePath.pData);
  }
 
- /*****************************************
-     systemPathGetFileOrLastDirectoryPart
-    Returns the file or the directory part
-    of the given path
-
-    @param pustrPath [in] a system path,
-           must not be NULL
-
-    @param ppustrFileOrDirPart [out] on
-           return receives the last part
-           of the given directory or the
-           file name
-           if pustrPath is the root path
-           '/' an empty string will be
-           returned
-           if pustrPath has a trailing
-           '/' the last part before the
-           '/' will be returned else
-           the part after the last '/'
-           will be returned
-
-    @returns nothing
-
-  ****************************************/
-
- inline void systemPathGetFileNameOrLastDirectoryPart(
-     const rtl::OUString& Path,
-    rtl::OUString&       FileNameOrLastDirPart)
- {
-    osl_systemPathGetFileNameOrLastDirectoryPart(
-        Path.pData, &FileNameOrLastDirPart.pData);
- }
-
-
  /********************************************
      systemPathIsHiddenFileOrDirectoryEntry
     Returns sal_True if the last part of
@@ -192,28 +158,6 @@ namespace osl
     return osl_systemPathIsHiddenFileOrDirectoryEntry(Path.pData);
  }
 
-
- /************************************************
-     systemPathIsLocalOrParentDirectoryEntry
-    Returns sal_True if the last part of the given
-    system path is the local directory entry '.'
-    or the parent directory entry '..'
-
-    @param pustrPath [in] a system path,
-           must not be NULL
-
-    @returns sal_True if the last part of the
-             given system path is '.' or '..'
-             else sal_False
-
- ************************************************/
-
- inline bool systemPathIsLocalOrParentDirectoryEntry(
-     const rtl::OUString& Path)
- {
-    return osl_systemPathIsLocalOrParentDirectoryEntry(Path.pData);
- }
-
  /************************************************
   searchPath
   ***********************************************/


More information about the Libreoffice-commits mailing list