Hi,
I've removed ImpTryUrl() and ImpGetPreTopPtr() from dirent.cxx and
fsys.hxx respectively.
Changes are under LGPLv3+ / MPL.
Christina Rossmanith
From 45beb99e639fe18a1e7ffe91ff230e2c58bed3ce Mon Sep 17 00:00:00 2001
From: Christina Rossmanith <ChrRossmanith@web.de>
Date: Thu, 17 Feb 2011 13:50:26 +0100
Subject: [PATCH] Removed unused methods
---
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
Context
- [Libreoffice] [PATCH] Removed unused methods · Christina Roßmanith
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.