[Libreoffice-commits] .: sc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Sep 14 09:59:23 PDT 2012
sc/source/filter/xml/xmlstyli.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit dfc68037328fbc1ec45d18b25822b59a2134285a
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Fri Sep 14 18:51:53 2012 +0200
don't add old cond formats if new ones are already loaded, fdo#54749
Change-Id: Ib0cbe1a3347e7231e7908b9bd8135e984e6ef644
diff --git a/sc/source/filter/xml/xmlstyli.cxx b/sc/source/filter/xml/xmlstyli.cxx
index 27af196..a05276f 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;
More information about the Libreoffice-commits
mailing list