summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/inc/sheetdatabuffer.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/inc/sheetdatabuffer.hxx b/sc/source/filter/inc/sheetdatabuffer.hxx
index 8002e6ee93f9..33366fde9f9e 100644
--- a/sc/source/filter/inc/sheetdatabuffer.hxx
+++ b/sc/source/filter/inc/sheetdatabuffer.hxx
@@ -199,14 +199,14 @@ private:
{
bool operator() (const RowRangeStyle& lhs, const RowRangeStyle& rhs) const
{
- return lhs.mnEndRow<rhs.mnStartRow;
+ return lhs.mnStartRow<rhs.mnStartRow;
}
};
struct StyleRowRangeCompEqual
{
bool operator() (const RowRangeStyle& lhs, const RowRangeStyle& rhs) const
{
- return lhs.mnEndRow==rhs.mnStartRow;
+ return lhs.mnStartRow==rhs.mnStartRow;
}
};
typedef ::o3tl::sorted_vector< RowRangeStyle, StyleRowRangeComp > RowStyles;