summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/condformatbuffer.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-12-24 20:28:14 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-12-26 09:48:12 +0000
commit8ec545531992251d3670c1bd3b1d1e0c9c998db0 (patch)
treecd3491eeca2cfc5bb467dbb4354b242a8bfc6a75 /sc/source/filter/inc/condformatbuffer.hxx
parent57626f2132f73e4e42b31e364b25c5867336e718 (diff)
what's with the void* + casting
Change-Id: I4e04db86518b9a767da23dda3678002460f6f41d
Diffstat (limited to 'sc/source/filter/inc/condformatbuffer.hxx')
-rw-r--r--sc/source/filter/inc/condformatbuffer.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/inc/condformatbuffer.hxx b/sc/source/filter/inc/condformatbuffer.hxx
index cdc2553d1053..b3dc63801b20 100644
--- a/sc/source/filter/inc/condformatbuffer.hxx
+++ b/sc/source/filter/inc/condformatbuffer.hxx
@@ -245,9 +245,9 @@ class ExtCfRule
};
ExCfRuleModel maModel;
RuleType mnRuleType;
- void* mpTarget;
+ ScDataBarFormatData* mpTarget;
public:
- ExtCfRule(void* pTarget = NULL ) : mnRuleType( ExtCfRule::UNKNOWN ), mpTarget(pTarget) {}
+ ExtCfRule(ScDataBarFormatData* pTarget = NULL ) : mnRuleType( ExtCfRule::UNKNOWN ), mpTarget(pTarget) {}
void finalizeImport();
void importDataBar( const AttributeList& rAttribs );
void importNegativeFillColor( const AttributeList& rAttribs );
@@ -268,7 +268,7 @@ public:
CondFormatRef importConditionalFormatting( const AttributeList& rAttribs );
/** Imports settings from the CONDFORMATTING record. */
CondFormatRef importCondFormatting( SequenceInputStream& rStrm );
- ExtCfRuleRef createExtCfRule( void* pTarget );
+ ExtCfRuleRef createExtCfRule(ScDataBarFormatData* pTarget);
/** Converts an OOXML condition operator token to the API constant. */
static sal_Int32 convertToApiOperator( sal_Int32 nToken );