Kaydet (Commit) 38987d02 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

export color scales only to the correct sheet

Change-Id: I70c4d213fdd91f7032d637e93410add1f8266a3e
üst 47ba662c
......@@ -1089,8 +1089,12 @@ XclExpCondFormatBuffer::XclExpCondFormatBuffer( const XclExpRoot& rRoot ) :
for( ScColorScaleFormatList::const_iterator itr = pColorScaleList->begin();
itr != pColorScaleList->end(); ++itr)
{
XclExpColorScaleList::RecordRefType xColorScaleRec( new XclExpColorScale( GetRoot(), *itr ) );
maColorScaleList.AppendRecord( xColorScaleRec );
const ScRangeList& rList = itr->GetRange();
if (rList.front()->aStart.Tab() == GetCurrScTab())
{
XclExpColorScaleList::RecordRefType xColorScaleRec( new XclExpColorScale( GetRoot(), *itr ) );
maColorScaleList.AppendRecord( xColorScaleRec );
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment