[PATCH 3/4] tools: fsys: Delete unused FileStat::FileStat(const void *)

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


---
 tools/inc/tools/fsys.hxx  |    4 ----
 tools/source/fsys/unx.cxx |   16 ----------------
 unusedcode.easy           |    1 -
 3 files changed, 0 insertions(+), 21 deletions(-)

diff --git a/tools/inc/tools/fsys.hxx b/tools/inc/tools/fsys.hxx
index a39c159..44b1fdc 100644
--- a/tools/inc/tools/fsys.hxx
+++ b/tools/inc/tools/fsys.hxx
@@ -172,10 +172,6 @@ class TOOLS_DLLPUBLIC FileStat
 private:
     TOOLS_DLLPRIVATE void           ImpInit( void* );
 
-protected:
-                    // Implementation
-                    FileStat( SAL_UNUSED_PARAMETER const void *pInfo ); // CInfoPBRec
-
 public:
                     FileStat();
                     FileStat( const DirEntry& rDirEntry,
diff --git a/tools/source/fsys/unx.cxx b/tools/source/fsys/unx.cxx
index f8be021..007dc81 100644
--- a/tools/source/fsys/unx.cxx
+++ b/tools/source/fsys/unx.cxx
@@ -331,22 +331,6 @@ sal_uInt16 DirReader_Impl::Read()
 
 /*************************************************************************
 |*
-|*    FileStat::FileStat()
-|*
-*************************************************************************/
-
-FileStat::FileStat( const void * ):
-    aDateCreated(0),
-    aTimeCreated(0),
-    aDateModified(0),
-    aTimeModified(0),
-    aDateAccessed(0),
-    aTimeAccessed(0)
-{
-}
-
-/*************************************************************************
-|*
 |*    FileStat::Update()
 |*
 *************************************************************************/
diff --git a/unusedcode.easy b/unusedcode.easy
index 99538e1..8f55ded 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -24,7 +24,6 @@ EditView::SetPointer(Pointer const&)
 FieldEntry::GetBookmarkType()
 FileControl::SetButtonText(String const&)
 FileStat::FileStat()
-FileStat::FileStat(void const*)
 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