diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-06-30 18:20:20 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-06-30 18:21:26 +0200 |
commit | 6b11a18071254a443c8fe7e7b0b1c95b0f9fd35e (patch) | |
tree | 88cced9ff3bb7a89aa3a76bbd54591994ed01cc7 /sc/source/filter/xml/XMLStylesExportHelper.cxx | |
parent | 611334aa74f97768717376da637bea9baac015aa (diff) |
Some cppcheck cleaning
Change-Id: I14cab3dfd26ac1568feef902b566873cecf049b9
Diffstat (limited to 'sc/source/filter/xml/XMLStylesExportHelper.cxx')
-rw-r--r-- | sc/source/filter/xml/XMLStylesExportHelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/XMLStylesExportHelper.cxx b/sc/source/filter/xml/XMLStylesExportHelper.cxx index 2c5b43b69006..3a459ae66c97 100644 --- a/sc/source/filter/xml/XMLStylesExportHelper.cxx +++ b/sc/source/filter/xml/XMLStylesExportHelper.cxx @@ -350,7 +350,7 @@ void ScMyValidationsContainer::WriteMessage(ScXMLExport& rExport, void ScMyValidationsContainer::WriteValidations(ScXMLExport& rExport) { - if (aValidationVec.size()) + if (!aValidationVec.empty()) { SvXMLElementExport aElemVs(rExport, XML_NAMESPACE_TABLE, XML_CONTENT_VALIDATIONS, true, true); ScMyValidationVec::iterator aItr(aValidationVec.begin()); |