sc/source/filter/xml/xmlstyli.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit dfc68037328fbc1ec45d18b25822b59a2134285a Author: Markus Mohrhard <markus.mohrh...@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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits