diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-05-31 12:38:05 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-05-31 13:09:03 +0100 |
commit | 9bd64312c2662adc5016735a03f3844654d40d4f (patch) | |
tree | 3927d146d761e106bdb1e32ddf504c358da4db12 /sc/source/filter/xml/xmlstyli.cxx | |
parent | targetted SAL_N_ELEMENTS reversion. (diff) | |
download | core-9bd64312c2662adc5016735a03f3844654d40d4f.tar.gz core-9bd64312c2662adc5016735a03f3844654d40d4f.zip |
targetted minor size vs. empty reversion
Change-Id: Icf49ed7746a4325e626976ce376762804d0c82be
Diffstat (limited to 'sc/source/filter/xml/xmlstyli.cxx')
-rw-r--r-- | sc/source/filter/xml/xmlstyli.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlstyli.cxx b/sc/source/filter/xml/xmlstyli.cxx index 72155e68ba02..e67565150ab2 100644 --- a/sc/source/filter/xml/xmlstyli.cxx +++ b/sc/source/filter/xml/xmlstyli.cxx @@ -523,7 +523,7 @@ void XMLTableStyleContext::FillPropertySet( sal_Int32 nNumFmt = GetNumberFormat(); if (nNumFmt >= 0) AddProperty(CTF_SC_NUMBERFORMAT, uno::makeAny(nNumFmt)); - if (!bConditionalFormatCreated && (!aMaps.empty())) + if (!bConditionalFormatCreated && (aMaps.size() > 0)) { aConditionalFormat = rPropSet->getPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(SC_UNONAME_CONDXML))); std::vector<ScXMLMapContent>::iterator aItr(aMaps.begin()); |