[Libreoffice-commits] .: sc/inc sc/source unusedcode.easy

Michael Meeks michael at kemper.freedesktop.org
Thu Feb 23 05:01:39 PST 2012


 sc/inc/userlist.hxx              |    2 --
 sc/source/core/tool/userlist.cxx |   10 ----------
 unusedcode.easy                  |    2 --
 3 files changed, 14 deletions(-)

New commits:
commit 38f487a7330df5c85845663d5b10d1069585f614
Author: Santiago Martinez <smvarela at gmail.com>
Date:   Wed Feb 22 21:38:16 2012 +0100

    Remove unused code in ScUserList

diff --git a/sc/inc/userlist.hxx b/sc/inc/userlist.hxx
index 5fa00eb..541c66e 100644
--- a/sc/inc/userlist.hxx
+++ b/sc/inc/userlist.hxx
@@ -92,9 +92,7 @@ public:
     bool            operator!=( const ScUserList& r ) const;
 
     iterator begin();
-    iterator end();
     const_iterator begin() const;
-    const_iterator end() const;
     void clear();
     size_t size() const;
     void push_back(ScUserListData* p);
diff --git a/sc/source/core/tool/userlist.cxx b/sc/source/core/tool/userlist.cxx
index 4a97af0..28aecfc 100644
--- a/sc/source/core/tool/userlist.cxx
+++ b/sc/source/core/tool/userlist.cxx
@@ -345,21 +345,11 @@ ScUserList::iterator ScUserList::begin()
     return maData.begin();
 }
 
-ScUserList::iterator ScUserList::end()
-{
-    return maData.end();
-}
-
 ScUserList::const_iterator ScUserList::begin() const
 {
     return maData.begin();
 }
 
-ScUserList::const_iterator ScUserList::end() const
-{
-    return maData.end();
-}
-
 void ScUserList::clear()
 {
     maData.clear();
diff --git a/unusedcode.easy b/unusedcode.easy
index 758f612..3869a88 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -108,8 +108,6 @@ ScRangeData::ScRangeData(unsigned short)
 ScSimpleRangeList::Range::contains(ScSimpleRangeList::Range const&) const
 ScStringCell::ScStringCell()
 ScTypedStrData::GetValue() const
-ScUserList::end()
-ScUserList::end() const
 ScValidationEntries_Impl::Insert(ScValidationData* const&, unsigned short&)
 ScValidationEntries_Impl::Insert(ScValidationData* const*, unsigned short)
 ScValidationEntries_Impl::Insert(ScValidationEntries_Impl const*, unsigned short, unsigned short)


More information about the Libreoffice-commits mailing list