diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-09-14 18:51:53 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-09-21 15:44:26 +0200 |
commit | e48da0413875b2abbca0156d47dcf13ad85b301d (patch) | |
tree | 9dec1698475a6dc9352284ae5d829f531cd5b6cf | |
parent | 6fda5d42a4f4a7ff15e86d70a3c4b80106fab373 (diff) |
don't add old cond formats if new ones are already loaded, fdo#54749
Change-Id: Ib0cbe1a3347e7231e7908b9bd8135e984e6ef644
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
-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 93e95fe809ac..7388d86e283f 100644 --- a/sc/source/filter/xml/xmlstyli.cxx +++ b/sc/source/filter/xml/xmlstyli.cxx @@ -424,7 +424,7 @@ SvXMLImportContext *XMLTableStyleContext::CreateChildContext( void XMLTableStyleContext::ApplyCondFormat( uno::Sequence<table::CellRangeAddress> xCellRanges ) { - if(!mpCondFormat) + if(!mpCondFormat || GetScImport().HasNewCondFormatData()) return; ScRangeList rRange; |