[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source
Julien Nabet
serval2412 at yahoo.fr
Sat Mar 22 07:56:51 PDT 2014
sc/source/core/tool/autoform.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a71febe2eeb491750f9887ca63279a9c162c6e2e
Author: Julien Nabet <serval2412 at 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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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() );
More information about the Libreoffice-commits
mailing list