diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-09-14 18:51:53 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-09-14 18:58:57 +0200 |
commit | dfc68037328fbc1ec45d18b25822b59a2134285a (patch) | |
tree | aad6e9b57772923aa85f394bd2350c1e02552379 /sc | |
parent | 8f1199860b2ced080f24eeaeb5052d0b68a4b9aa (diff) |
don't add old cond formats if new ones are already loaded, fdo#54749
Change-Id: Ib0cbe1a3347e7231e7908b9bd8135e984e6ef644
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/xmlstyli.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlstyli.cxx b/sc/source/filter/xml/xmlstyli.cxx index 27af196063b5..a05276fd5373 100644 --- a/sc/source/filter/xml/xmlstyli.cxx +++ b/sc/source/filter/xml/xmlstyli.cxx @@ -422,7 +422,7 @@ SvXMLImportContext *XMLTableStyleContext::CreateChildContext( void XMLTableStyleContext::ApplyCondFormat( uno::Sequence<table::CellRangeAddress> xCellRanges ) { - if(!mpCondFormat) + if(!mpCondFormat || GetScImport().HasNewCondFormatData()) return; ScRangeList rRange; |