summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/conditio.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx
index 9890758871af..b4f686ea6dc6 100644
--- a/sc/inc/conditio.hxx
+++ b/sc/inc/conditio.hxx
@@ -111,6 +111,8 @@ public:
virtual void SetParent( ScConditionalFormat* pNew ) = 0;
+ bool operator==( const ScFormatEntry& ) const;
+
#if DUMP_FORMAT_INFO
virtual void dumpInfo() const = 0;
#endif
@@ -282,6 +284,8 @@ public:
void AddEntry( ScFormatEntry* pNew );
void AddRange( const ScRangeList& rRanges );
const ScRangeList& GetRange() const { return maRanges; }
+ // don't use the same name as for the const version
+ ScRangeList& GetRangeList() { return maRanges; }
bool IsEmpty() const { return maEntries.empty(); }
size_t size() const { return maEntries.size(); }