So much for confusing variable with even more confusing name
which, at the end of the day, isn't needed at all Change-Id: I5ce0f7aa8a9476dfa96aa955abb819af3eedfdd5
This commit is contained in:
@@ -219,11 +219,10 @@ private:
|
||||
|
||||
struct ExCfRuleModel
|
||||
{
|
||||
ExCfRuleModel() : mbGradient( false ), mbNegativeBarColorSameAsPositive( true ), mnAxisColor( API_RGB_TRANSPARENT ), mnNegativeColor( API_RGB_TRANSPARENT ), mbIsLower( true ) {}
|
||||
ExCfRuleModel() : mbGradient( false ), mnAxisColor( API_RGB_TRANSPARENT ), mnNegativeColor( API_RGB_TRANSPARENT ), mbIsLower( true ) {}
|
||||
// DataBar
|
||||
bool mbGradient;
|
||||
OUString maAxisPosition;
|
||||
bool mbNegativeBarColorSameAsPositive;
|
||||
// AxisColor
|
||||
sal_Int32 mnAxisColor;
|
||||
// NegativeFillColor
|
||||
|
@@ -1114,7 +1114,6 @@ void ExtCfRule::finalizeImport()
|
||||
else
|
||||
pDataBar->meAxisPosition = databar::AUTOMATIC;
|
||||
pDataBar->mbGradient = maModel.mbGradient;
|
||||
pDataBar->mbNeg = !maModel.mbNegativeBarColorSameAsPositive;
|
||||
break;
|
||||
}
|
||||
case AXISCOLOR:
|
||||
@@ -1127,6 +1126,7 @@ void ExtCfRule::finalizeImport()
|
||||
{
|
||||
ScDataBarFormatData* pDataBar = mpTarget;
|
||||
pDataBar->mpNegativeColor.reset( new ::Color( RgbToRgbComponents(maModel.mnNegativeColor) ) );
|
||||
pDataBar->mbNeg = true;
|
||||
break;
|
||||
}
|
||||
case CFVO:
|
||||
@@ -1171,7 +1171,6 @@ void ExtCfRule::importNegativeFillColor( const AttributeList& rAttribs )
|
||||
{
|
||||
mnRuleType = NEGATIVEFILLCOLOR;
|
||||
maModel.mnNegativeColor = rAttribs.getIntegerHex( XML_rgb, API_RGB_TRANSPARENT );
|
||||
maModel.mbNegativeBarColorSameAsPositive = false;
|
||||
}
|
||||
|
||||
void ExtCfRule::importAxisColor( const AttributeList& rAttribs )
|
||||
|
Reference in New Issue
Block a user