[Libreoffice-commits] .: tools/inc tools/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Thu Feb 17 08:14:12 PST 2011
tools/inc/tools/fsys.hxx | 2 --
tools/source/fsys/dirent.cxx | 22 ----------------------
2 files changed, 24 deletions(-)
New commits:
commit 28f781cf124dbd1b94c7003ee715a09a9e93bc34
Author: Christina Rossmanith <ChrRossmanith at web.de>
Date: Thu Feb 17 13:50:26 2011 +0100
Removed unused methods
diff --git a/tools/inc/tools/fsys.hxx b/tools/inc/tools/fsys.hxx
index a4ca123..00c681a 100644
--- a/tools/inc/tools/fsys.hxx
+++ b/tools/inc/tools/fsys.hxx
@@ -282,10 +282,8 @@ 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 const DirEntry* ImpGetTopPtr() const;
TOOLS_DLLPRIVATE DirEntry* ImpGetTopPtr();
- 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..b11c6cc 100644
--- a/tools/source/fsys/dirent.cxx
+++ b/tools/source/fsys/dirent.cxx
@@ -927,28 +927,6 @@ DirEntry* DirEntry::ImpGetTopPtr()
/*************************************************************************
|*
-|* DirEntry::ImpGetPreTopPtr()
-|*
-|* Beschreibung liefert einen Pointer auf den vorletzten Entry
-|*
-*************************************************************************/
-
-DirEntry* DirEntry::ImpGetPreTopPtr()
-{
- DBG_CHKTHIS( DirEntry, ImpCheckDirEntry );
-
- DirEntry *pTemp = this;
- if ( pTemp->pParent )
- {
- while ( pTemp->pParent->pParent )
- pTemp = pTemp->pParent;
- }
-
- return pTemp;
-}
-
-/*************************************************************************
-|*
|* DirEntry::ImpChangeParent()
|*
*************************************************************************/
More information about the Libreoffice-commits
mailing list