[Libreoffice-commits] .: tools/inc tools/source
François Tigeot
ftigeot at kemper.freedesktop.org
Sat Apr 30 22:11:54 PDT 2011
tools/inc/tools/fsys.hxx | 1 -
tools/source/fsys/fstat.cxx | 15 ---------------
2 files changed, 16 deletions(-)
New commits:
commit 8408ee085582f6741765d1db70b4820f52bd0aa8
Author: Francois Tigeot <ftigeot at wolfpond.org>
Date: Sun May 1 07:10:27 2011 +0200
Remove unused function HasReadOnlyFlag()
diff --git a/tools/inc/tools/fsys.hxx b/tools/inc/tools/fsys.hxx
index 15f02eb..8675ce7 100644
--- a/tools/inc/tools/fsys.hxx
+++ b/tools/inc/tools/fsys.hxx
@@ -225,7 +225,6 @@ public:
static sal_uIntPtr SetReadOnlyFlag( const DirEntry &rEntry, sal_Bool bRO = sal_True );
static sal_Bool GetReadOnlyFlag( const DirEntry &rEntry );
- static sal_Bool HasReadOnlyFlag();
static ErrCode QueryDiskSpace( const String &rPath,
BigInt &rFreeBytes, BigInt &rTotalBytes );
diff --git a/tools/source/fsys/fstat.cxx b/tools/source/fsys/fstat.cxx
index 5b08dc9..64d43b6 100644
--- a/tools/source/fsys/fstat.cxx
+++ b/tools/source/fsys/fstat.cxx
@@ -134,21 +134,6 @@ sal_Bool FileStat::IsKind( DirEntryKind nKind ) const
/*************************************************************************
|*
-|* FileStat::HasReadOnlyFlag()
-|*
-*************************************************************************/
-
-sal_Bool FileStat::HasReadOnlyFlag()
-{
-#if defined WNT || defined UNX || defined OS2
- return sal_True;
-#else
- return sal_False;
-#endif
-}
-
-/*************************************************************************
-|*
|* FileStat::GetReadOnlyFlag()
|*
*************************************************************************/
More information about the Libreoffice-commits
mailing list