sc/source/core/tool/autoform.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f593bfc1b8d2bdc5ed8b1e2c5f714f4eb71beda5 Author: Julien Nabet <serval2...@yahoo.fr> Date: Sat Mar 22 15:32:21 2014 +0100 Fix the condition (thank you Kohei!) Change-Id: I45f94a2e09d24afeec545f4cf84acd209092ab7d diff --git a/sc/source/core/tool/autoform.cxx b/sc/source/core/tool/autoform.cxx index 31d1c56..4f1f8e7 100644 --- a/sc/source/core/tool/autoform.cxx +++ b/sc/source/core/tool/autoform.cxx @@ -663,7 +663,7 @@ void ScAutoFormatData::FillToItemSet( sal_uInt16 nIndex, SfxItemSet& rItemSet, S } // do not insert empty CTL font const SvxFontItem& rCTLFont = rField.GetCTLFont(); - if (rCTLFont.GetStyleName().isEmpty()) + if (!rCTLFont.GetStyleName().isEmpty()) { rItemSet.Put( rCTLFont ); rItemSet.Put( rField.GetCTLHeight() ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits