[Libreoffice-commits] .: tools/inc tools/source

François Tigeot ftigeot at kemper.freedesktop.org
Wed Jun 15 13:15:06 PDT 2011


 tools/inc/tools/fsys.hxx     |    2 +-
 tools/source/fsys/dirent.cxx |    2 +-
 tools/source/fsys/unx.cxx    |    2 +-
 tools/source/fsys/wntmsc.cxx |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit a8b9b0362bb6c5f2156c753ca202cee9945efd4b
Author: Francois Tigeot <ftigeot at wolfpond.org>
Date:   Wed Jun 15 22:11:14 2011 +0200

    GetPathStyle() has no needs for arguments any more

diff --git a/tools/inc/tools/fsys.hxx b/tools/inc/tools/fsys.hxx
index 3b7019f..7428a88 100644
--- a/tools/inc/tools/fsys.hxx
+++ b/tools/inc/tools/fsys.hxx
@@ -348,7 +348,7 @@ public:
 
     static String		GetAccessDelimiter( FSysPathStyle eFormatter = FSYS_STYLE_HOST );
     static String		GetSearchDelimiter( FSysPathStyle eFormatter = FSYS_STYLE_HOST );
-    static FSysPathStyle GetPathStyle( const String &rDevice );
+    static FSysPathStyle GetPathStyle();
 };
 
 // --------------
diff --git a/tools/source/fsys/dirent.cxx b/tools/source/fsys/dirent.cxx
index fd22a37..5683b5b 100644
--- a/tools/source/fsys/dirent.cxx
+++ b/tools/source/fsys/dirent.cxx
@@ -1881,7 +1881,7 @@ sal_Bool IsValidEntry_Impl( const DirEntry &rPath,
     // Alle von MSDOS erreichbaren FSYS_STYLES muessen den
     // MSDOS Filenamenanforderungen genuegen. Sonst wird probiert,
     // ob sich eine Datei des gewuenschten Names anlegen laesst.
-    FSysPathStyle eStyle = DirEntry::GetPathStyle( rPath.GetDevice().GetName() );
+    FSysPathStyle eStyle = DirEntry::GetPathStyle();
     DirEntry aPath(rPath);
     DirEntry aName(rLongName, eStyle);
     if ( !aName.IsValid() || aName.Level() != 1 )
diff --git a/tools/source/fsys/unx.cxx b/tools/source/fsys/unx.cxx
index acb834a..d1c0f48 100644
--- a/tools/source/fsys/unx.cxx
+++ b/tools/source/fsys/unx.cxx
@@ -478,7 +478,7 @@ const char *TempDirImpl( char *pBuf )
 |*
 *************************************************************************/
 
-FSysPathStyle DirEntry::GetPathStyle( const String & )
+FSysPathStyle DirEntry::GetPathStyle()
 {
     return FSYS_STYLE_UNX;
 }
diff --git a/tools/source/fsys/wntmsc.cxx b/tools/source/fsys/wntmsc.cxx
index fa18aa4..6ed2ba1 100644
--- a/tools/source/fsys/wntmsc.cxx
+++ b/tools/source/fsys/wntmsc.cxx
@@ -114,7 +114,7 @@ int closedir( DIR *pDir )
 |*
 *************************************************************************/
 
-FSysPathStyle DirEntry::GetPathStyle( const String & )
+FSysPathStyle DirEntry::GetPathStyle()
 {
     return FSYS_STYLE_NTFS;
 }


More information about the Libreoffice-commits mailing list