sc/inc/dbdata.hxx | 1 - sc/source/core/tool/dbdata.cxx | 7 ------- unusedcode.easy | 1 - 3 files changed, 9 deletions(-)
New commits: commit 405ed562c9fa19d9fcf71e426739fcb022f9719e Author: Julien Nabet <serval2...@yahoo.fr> Date: Fri May 25 07:43:42 2012 +0200 Drop unused function "findByTable" Change-Id: I396bd5a6eb9ecc123529259f668f98be4b4245ca diff --git a/sc/inc/dbdata.hxx b/sc/inc/dbdata.hxx index f770deb..538ea9e 100644 --- a/sc/inc/dbdata.hxx +++ b/sc/inc/dbdata.hxx @@ -213,7 +213,6 @@ public: const_iterator end() const; const ScDBData* findAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab, bool bStartOnly) const; const ScDBData* findByRange(const ScRange& rRange) const; - const ScDBData* findByTable(SCTAB nTab) const; ScDBData* getByRange(const ScRange& rRange); void insert(ScDBData* p); void erase(iterator itr); diff --git a/sc/source/core/tool/dbdata.cxx b/sc/source/core/tool/dbdata.cxx index 60e6d28..32b15c7 100644 --- a/sc/source/core/tool/dbdata.cxx +++ b/sc/source/core/tool/dbdata.cxx @@ -808,13 +808,6 @@ const ScDBData* ScDBCollection::AnonDBs::findByRange(const ScRange& rRange) cons return itr == maDBs.end() ? NULL : &(*itr); } -const ScDBData* ScDBCollection::AnonDBs::findByTable(SCTAB nTab) const -{ - DBsType::const_iterator itr = find_if( - maDBs.begin(), maDBs.end(), FindFilterDBByTable(nTab)); - return itr == maDBs.end() ? NULL : &(*itr); -} - ScDBData* ScDBCollection::AnonDBs::getByRange(const ScRange& rRange) { const ScDBData* pData = findByRange(rRange); diff --git a/unusedcode.easy b/unusedcode.easy index 4ad7d19..11dec4a 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -40,7 +40,6 @@ ScCompressedArray<int, unsigned short>::ScCompressedArray(int, unsigned short co ScCompressedArray<int, unsigned short>::SetValue(int, unsigned short const&) ScCsvControl::ScCsvControl(Window*, ScCsvLayoutData const&, long) ScDBCollection::AnonDBs::erase(boost::void_ptr_iterator<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<void**, std::__cxx1998::vector<void*, std::allocator<void*> > >, std::__debug::vector<void*, std::allocator<void*> > >, ScDBData>) -ScDBCollection::AnonDBs::findByTable(short) const ScDPLabelData::ScDPLabelData(rtl::OUString const&, short, bool) ScHTMLColOffset::Insert(ScHTMLColOffset const*, unsigned short, unsigned short) ScHTMLColOffset::Insert(unsigned long const&, unsigned short&) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits