diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-26 15:04:25 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-26 15:36:02 -0400 |
commit | 5f5d2cb6d1363bd133053a7c035b6e0163ee4edc (patch) | |
tree | 228d251e1f9f258acdb1b402a57528e4d295e158 /sc/inc/conditio.hxx | |
parent | 7c2dd80cbee59aadee20b59aacdf0ba437c765db (diff) |
Make the conditional formatting code free of ScBaseCell.
Change-Id: I93f83a840874c973cdc0821ddeb1913be7f09767
Diffstat (limited to 'sc/inc/conditio.hxx')
-rw-r--r-- | sc/inc/conditio.hxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx index d5a55e3fd29a..8592bcb9a7e1 100644 --- a/sc/inc/conditio.hxx +++ b/sc/inc/conditio.hxx @@ -35,10 +35,9 @@ #include <boost/ptr_container/ptr_vector.hpp> #include <boost/scoped_ptr.hpp> -class ScBaseCell; class ScFormulaCell; class ScTokenArray; - +class ScRefCellValue; // nOptions Flags #define SC_COND_NOBLANKS 1 @@ -196,7 +195,7 @@ public: virtual void SetParent( ScConditionalFormat* pNew ) { pCondFormat = pNew; } - bool IsCellValid( ScBaseCell* pCell, const ScAddress& rPos ) const; + bool IsCellValid( ScRefCellValue& rCell, const ScAddress& rPos ) const; ScConditionMode GetOperation() const { return eOp; } bool IsIgnoreBlank() const { return ( nOptions & SC_COND_NOBLANKS ) == 0; } @@ -406,9 +405,9 @@ public: const ScFormatEntry* GetEntry( sal_uInt16 nPos ) const; - const rtl::OUString& GetCellStyle( ScBaseCell* pCell, const ScAddress& rPos ) const; + const OUString& GetCellStyle( ScRefCellValue& rCell, const ScAddress& rPos ) const; - ScCondFormatData GetData( ScBaseCell* pCell, const ScAddress& rPos ) const; + ScCondFormatData GetData( ScRefCellValue& rCell, const ScAddress& rPos ) const; bool EqualEntries( const ScConditionalFormat& r ) const; |