[PATCH 2/4] sot: Delete FileList::GetFormat as it is no longer used

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


---
 sot/inc/sot/filelist.hxx     |    4 ----
 sot/source/base/filelist.cxx |   11 -----------
 unusedcode.easy              |    1 -
 3 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/sot/inc/sot/filelist.hxx b/sot/inc/sot/filelist.hxx
index 0ba367f..8f18328 100644
--- a/sot/inc/sot/filelist.hxx
+++ b/sot/inc/sot/filelist.hxx
@@ -62,10 +62,6 @@ public:
     SOT_DLLPUBLIC friend SvStream&  operator<<( SvStream& rOStm, const FileList& rFileList );
     SOT_DLLPUBLIC friend SvStream&  operator>>( SvStream& rIStm, FileList& rFileList );
 
-    // Clipboard, D&D usw.
-    static sal_uLong        GetFormat();
-
-
     // Liste fuellen/abfragen
     void AppendFile( const String& rStr );
     String GetFile( size_t i ) const;
diff --git a/sot/source/base/filelist.cxx b/sot/source/base/filelist.cxx
index 052657e..146ad41 100644
--- a/sot/source/base/filelist.cxx
+++ b/sot/source/base/filelist.cxx
@@ -67,17 +67,6 @@ FileList& FileList::operator=( const FileList& rFileList )
     return *this;
 }
 
-/*************************************************************************
-|*
-|*    FileList::GetFormatName()
-|*
-\*************************************************************************/
-
-sal_uLong FileList::GetFormat()
-{
-    return FORMAT_FILE_LIST;
-}
-
 /******************************************************************************
 |*
 |*  virtuelle SvData-Methoden
diff --git a/unusedcode.easy b/unusedcode.easy
index be5d0b8..99538e1 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&)
-FileList::GetFormat()
 FileStat::FileStat()
 FileStat::FileStat(void const*)
 FileStream::FileStream(rtl::OString const&, FileAccessMode)
-- 
1.7.9



More information about the LibreOffice mailing list