[PATCH] Removed unused methods

Christina Rossmanith ChrRossmanith at web.de
Thu Feb 17 04:50:26 PST 2011


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

diff --git a/tools/inc/tools/fsys.hxx b/tools/inc/tools/fsys.hxx
index 2f25221..fe586a6 100644
--- a/tools/inc/tools/fsys.hxx
+++ b/tools/inc/tools/fsys.hxx
@@ -279,10 +279,10 @@ private:
                                          FSysPathStyle eStyle );
     TOOLS_DLLPRIVATE FSysError			ImpParseUnixName( const ByteString& rPfad,
                                           FSysPathStyle eStyle );
-    TOOLS_DLLPRIVATE USHORT				ImpTryUrl( DirEntryStack& rStack, const String& rPfad, FSysPathStyle eStyle );
+    //    TOOLS_DLLPRIVATE USHORT				ImpTryUrl( DirEntryStack& rStack, const String& rPfad, FSysPathStyle eStyle );
     TOOLS_DLLPRIVATE const DirEntry* 	ImpGetTopPtr() const;
     TOOLS_DLLPRIVATE DirEntry*			ImpGetTopPtr();
-    TOOLS_DLLPRIVATE DirEntry*			ImpGetPreTopPtr();
+    //    TOOLS_DLLPRIVATE DirEntry*			ImpGetPreTopPtr();
     TOOLS_DLLPRIVATE BOOL				ImpToRel( String aStart );
 
 protected:
diff --git a/tools/source/fsys/dirent.cxx b/tools/source/fsys/dirent.cxx
index 1eac9d2..a23e4d5 100644
--- a/tools/source/fsys/dirent.cxx
+++ b/tools/source/fsys/dirent.cxx
@@ -933,19 +933,19 @@ DirEntry* DirEntry::ImpGetTopPtr()
 |*
 *************************************************************************/
 
-DirEntry* DirEntry::ImpGetPreTopPtr()
-{
-    DBG_CHKTHIS( DirEntry, ImpCheckDirEntry );
-
-    DirEntry *pTemp = this;
-    if ( pTemp->pParent )
-    {
-        while ( pTemp->pParent->pParent )
-            pTemp = pTemp->pParent;
-    }
-
-    return pTemp;
-}
+// DirEntry* DirEntry::ImpGetPreTopPtr()
+// {
+//     DBG_CHKTHIS( DirEntry, ImpCheckDirEntry );
+//
+//     DirEntry *pTemp = this;
+//     if ( pTemp->pParent )
+//     {
+//        while ( pTemp->pParent->pParent )
+//             pTemp = pTemp->pParent;
+//     }
+//
+//     return pTemp;
+// }
 
 /*************************************************************************
 |*
-- 
1.7.0.4


--------------040705000400090404050706--


More information about the LibreOffice mailing list