diff options
-rw-r--r-- | sc/source/filter/oox/condformatbuffer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/condformatbuffer.cxx b/sc/source/filter/oox/condformatbuffer.cxx index 3a46a3b28fa6..55a57a4c710b 100644 --- a/sc/source/filter/oox/condformatbuffer.cxx +++ b/sc/source/filter/oox/condformatbuffer.cxx @@ -1055,12 +1055,12 @@ void CondFormat::finalizeImport() if ( !mbReadyForFinalize ) return; ScDocument& rDoc = getScDocument(); + mpFormat->SetRange(maModel.maRanges); maRules.forEachMem( &CondFormatRule::finalizeImport ); SCTAB nTab = maModel.maRanges.GetTopLeftCorner().Tab(); sal_Int32 nIndex = getScDocument().AddCondFormat(mpFormat, nTab); rDoc.AddCondFormatData( maModel.maRanges, nTab, nIndex ); - mpFormat->SetRange(maModel.maRanges); } CondFormatRuleRef CondFormat::createRule() |