diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-10-31 21:46:06 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-11-02 14:58:09 +0100 |
commit | f73571b5897a53be28ee61d1d1693a5d64065f85 (patch) | |
tree | 80d1d6a8564b16c49afc23d0196d529adcd1c8e1 /sc/inc/conditio.hxx | |
parent | 2829bc140b0da4d2d2a2e9d4381a774180ffe5c7 (diff) |
extract filling the cache for conditional formats
Change-Id: I90c4f7ac5c462a507cf0d44b7837facdd2bc3643
Diffstat (limited to 'sc/inc/conditio.hxx')
-rw-r--r-- | sc/inc/conditio.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx index 641da85c60e8..e1f4e67482ef 100644 --- a/sc/inc/conditio.hxx +++ b/sc/inc/conditio.hxx @@ -177,8 +177,8 @@ class SC_DLLPUBLIC ScConditionEntry : public ScFormatEntry bool bTextToReal ); void Interpret( const ScAddress& rPos ); - bool IsValid( double nArg, const ScAddress& rAddr ) const; - bool IsValidStr( const String& rArg, const ScAddress& rAddr ) const; + bool IsValid( double nArg ) const; + bool IsValidStr( const String& rArg ) const; public: ScConditionEntry( ScConditionMode eOper, @@ -248,7 +248,9 @@ protected: private: - bool IsDuplicate(double nArg, const rtl::OUString& rStr, const ScAddress& rAddr, const ScRangeList& rRanges) const; + bool IsDuplicate(double nArg, const rtl::OUString& rStr, const ScRangeList& rRanges) const; + + void FillCache(const ScRangeList& rRanges) const; struct ScConditionEntryCache { |