sc/source/core/tool/autoform.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a71febe2eeb491750f9887ca63279a9c162c6e2e Author: Julien Nabet <serval2...@yahoo.fr> Date: Sat Mar 22 15:32:21 2014 +0100 Fix the condition (thank you Kohei!) Change-Id: I45f94a2e09d24afeec545f4cf84acd209092ab7d Reviewed-on: https://gerrit.libreoffice.org/8717 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sc/source/core/tool/autoform.cxx b/sc/source/core/tool/autoform.cxx index 924458a..f16d95c 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