diff options
Diffstat (limited to 'sc/source/filter/excel/xecontent.cxx')
-rw-r--r-- | sc/source/filter/excel/xecontent.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/filter/excel/xecontent.cxx b/sc/source/filter/excel/xecontent.cxx index 0c7fb513aab0..9cb6248fdd57 100644 --- a/sc/source/filter/excel/xecontent.cxx +++ b/sc/source/filter/excel/xecontent.cxx @@ -899,13 +899,13 @@ void XclExpCFImpl::SaveXml( XclExpXmlStream& rStrm ) { bool bFmla2 = false; ScConditionMode eOperation = mrFormatEntry.GetOperation(); - bool nAboveAverage = eOperation == SC_COND_ABOVE_AVERAGE || + bool bAboveAverage = eOperation == SC_COND_ABOVE_AVERAGE || eOperation == SC_COND_ABOVE_EQUAL_AVERAGE; - bool nEqualAverage = eOperation == SC_COND_ABOVE_EQUAL_AVERAGE || + bool bEqualAverage = eOperation == SC_COND_ABOVE_EQUAL_AVERAGE || eOperation == SC_COND_BELOW_EQUAL_AVERAGE; - bool nBottom = eOperation == SC_COND_BOTTOM10 + bool bBottom = eOperation == SC_COND_BOTTOM10 || eOperation == SC_COND_BOTTOM_PERCENT; - bool nPercent = eOperation == SC_COND_TOP_PERCENT || + bool bPercent = eOperation == SC_COND_TOP_PERCENT || eOperation == SC_COND_BOTTOM_PERCENT; OString aRank("0"); if(IsTopBottomRule(eOperation)) @@ -930,10 +930,10 @@ void XclExpCFImpl::SaveXml( XclExpXmlStream& rStrm ) XML_type, GetTypeString( mrFormatEntry.GetOperation() ), XML_priority, OString::number( mnPriority + 1 ).getStr(), XML_operator, GetOperatorString( mrFormatEntry.GetOperation(), bFmla2 ), - XML_aboveAverage, OString::number( int(nAboveAverage) ).getStr(), - XML_equalAverage, OString::number( int(nEqualAverage) ).getStr(), - XML_bottom, OString::number( int(nBottom) ).getStr(), - XML_percent, OString::number( int(nPercent) ).getStr(), + XML_aboveAverage, OString::number( int(bAboveAverage) ).getStr(), + XML_equalAverage, OString::number( int(bEqualAverage) ).getStr(), + XML_bottom, OString::number( int(bBottom) ).getStr(), + XML_percent, OString::number( int(bPercent) ).getStr(), XML_rank, aRank.getStr(), XML_text, aText.getStr(), XML_dxfId, OString::number( GetDxfs().GetDxfId( mrFormatEntry.GetStyle() ) ).getStr(), |