[PATCH 4/4] tools: fsys: Delete unused FileStat::FileStat()

Greg Kroah-Hartman gregkh at linuxfoundation.org
Mon Feb 6 14:05:41 PST 2012


---
 tools/inc/tools/fsys.hxx    |    1 -
 tools/source/fsys/fstat.cxx |   20 --------------------
 unusedcode.easy             |    1 -
 3 files changed, 0 insertions(+), 22 deletions(-)

diff --git a/tools/inc/tools/fsys.hxx b/tools/inc/tools/fsys.hxx
index 44b1fdc..34c512d 100644
--- a/tools/inc/tools/fsys.hxx
+++ b/tools/inc/tools/fsys.hxx
@@ -173,7 +173,6 @@ private:
     TOOLS_DLLPRIVATE void           ImpInit( void* );
 
 public:
-                    FileStat();
                     FileStat( const DirEntry& rDirEntry,
                               FSysAccess nAccess = FSYS_ACCESS_FLOPPY );
     sal_Bool            Update( const DirEntry& rDirEntry,
diff --git a/tools/source/fsys/fstat.cxx b/tools/source/fsys/fstat.cxx
index 3752aad..c3e6822 100644
--- a/tools/source/fsys/fstat.cxx
+++ b/tools/source/fsys/fstat.cxx
@@ -43,26 +43,6 @@
 |*
 *************************************************************************/
 
-FileStat::FileStat()
-:   // don't use Default-Ctors!
-    aDateCreated( sal_uIntPtr(0) ),
-    aTimeCreated( sal_uIntPtr(0) ),
-    aDateModified( sal_uIntPtr(0) ),
-    aTimeModified( sal_uIntPtr(0) ),
-    aDateAccessed( sal_uIntPtr(0) ),
-    aTimeAccessed( sal_uIntPtr(0) )
-{
-    nSize = 0;
-    nKindFlags = FSYS_KIND_UNKNOWN;
-    nError = FSYS_ERR_OK;
-}
-
-/*************************************************************************
-|*
-|*    FileStat::FileStat()
-|*
-*************************************************************************/
-
 FileStat::FileStat( const DirEntry& rDirEntry, FSysAccess nAccess )
 :   // don't use Default-Ctors!
     aDateCreated( sal_uIntPtr(0) ),
diff --git a/unusedcode.easy b/unusedcode.easy
index 8f55ded..33aca1d 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -23,7 +23,6 @@ EditView::SetCursor(Cursor const&)
 EditView::SetPointer(Pointer const&)
 FieldEntry::GetBookmarkType()
 FileControl::SetButtonText(String const&)
-FileStat::FileStat()
 FileStream::FileStream(rtl::OString const&, FileAccessMode)
 FmEntryDataArray::DeleteAndDestroy(unsigned short, unsigned short)
 FmEntryDataArray::Insert(FmEntryData* const&, unsigned short&)
-- 
1.7.9



More information about the LibreOffice mailing list