From 5f5d2cb6d1363bd133053a7c035b6e0163ee4edc Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Tue, 26 Mar 2013 15:04:25 -0400 Subject: Make the conditional formatting code free of ScBaseCell. Change-Id: I93f83a840874c973cdc0821ddeb1913be7f09767 --- sc/inc/conditio.hxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'sc/inc/conditio.hxx') 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 #include -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; -- cgit