summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-06-07 03:37:19 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-06-07 03:37:19 +0200
commitdb7fa1355626cef14de707a8cb415c05ab16b00c (patch)
tree24b5993bd0684fb1b39381e5f7c98dcf7b2406cc /sc/source
parenta1fd032f8b9ec6172a37b1defe6a5ac208a56dea (diff)
fix selection problem
the old implemantation inserted an false value and not an positive value, an entry in the set represents now a positive value
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/markdata.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sc/source/core/data/markdata.cxx b/sc/source/core/data/markdata.cxx
index 59ad4e8964a5..f7f67291905c 100644
--- a/sc/source/core/data/markdata.cxx
+++ b/sc/source/core/data/markdata.cxx
@@ -603,7 +603,6 @@ sal_Bool ScMarkData::HasAnyMultiMarks() const
void ScMarkData::InsertTab( SCTAB nTab )
{
std::set<SCTAB> tabMarked(maTabMarked.begin(), maTabMarked.upper_bound(nTab));
- tabMarked.insert( nTab );
std::set<SCTAB>::iterator it = maTabMarked.upper_bound(nTab);
for (; it != maTabMarked.end(); ++it)
tabMarked.insert(*it + 1);