Kaydet (Commit) 353e4d00 authored tarafından Noel Power's avatar Noel Power

oops forgot to use the mbReadyForFinalize flag in CondFormat::finalizeImport()

Change-Id: I4606b4b1e26303ebba501276a176b2fb66bf9e37
üst 4074c441
...@@ -970,6 +970,9 @@ void CondFormat::importCfRule( SequenceInputStream& rStrm ) ...@@ -970,6 +970,9 @@ void CondFormat::importCfRule( SequenceInputStream& rStrm )
void CondFormat::finalizeImport() void CondFormat::finalizeImport()
{ {
// probably some error in the xml if we are not ready
if ( !mbReadyForFinalize )
return;
ScDocument& rDoc = getScDocument(); ScDocument& rDoc = getScDocument();
maRules.forEachMem( &CondFormatRule::finalizeImport ); maRules.forEachMem( &CondFormatRule::finalizeImport );
SCTAB nTab = maModel.maRanges.getBaseAddress().Sheet; SCTAB nTab = maModel.maRanges.getBaseAddress().Sheet;
......
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