summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-03-22 15:32:21 +0100
committerJulien Nabet <serval2412@yahoo.fr>2014-03-22 15:32:21 +0100
commitf593bfc1b8d2bdc5ed8b1e2c5f714f4eb71beda5 (patch)
tree3c7b75382ae122a282c4c7140676863a5874b7d3 /sc
parent655dedb1a76249da1d50079d51eec5c9f3baac00 (diff)
Fix the condition
(thank you Kohei!) Change-Id: I45f94a2e09d24afeec545f4cf84acd209092ab7d
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/autoform.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/autoform.cxx b/sc/source/core/tool/autoform.cxx
index 31d1c567ca7c..4f1f8e7718b7 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() );