summaryrefslogtreecommitdiffstats
path: root/autodoc/source/display/idl
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-05-08 14:54:29 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-05-08 14:54:29 +0200
commit3ea396c8d22d995f63e88b24ea85a881b6139280 (patch)
tree12f106178de0b3a6e65fd05f4786fe577f148728 /autodoc/source/display/idl
parentChange <file>.toURL() to <file>.toURI().toURL() (diff)
downloadcore-3ea396c8d22d995f63e88b24ea85a881b6139280.tar.gz
core-3ea396c8d22d995f63e88b24ea85a881b6139280.zip
Some cppcheck cleaning
Diffstat (limited to 'autodoc/source/display/idl')
-rw-r--r--autodoc/source/display/idl/hfi_doc.cxx2
-rw-r--r--autodoc/source/display/idl/hfi_typetext.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/autodoc/source/display/idl/hfi_doc.cxx b/autodoc/source/display/idl/hfi_doc.cxx
index c379021a845e..e5a7b3661489 100644
--- a/autodoc/source/display/idl/hfi_doc.cxx
+++ b/autodoc/source/display/idl/hfi_doc.cxx
@@ -165,7 +165,7 @@ HF_IdlDocu::Produce_byDocuAndScope( const ce_info & i_rDocu,
}
} // end for
- if (aSeeAlsosWithoutText.size() > 0)
+ if (!aSeeAlsosWithoutText.empty())
{
HF_IdlTag
aSeeAlsoTag(Env(), i_rScopeGivingCe);
diff --git a/autodoc/source/display/idl/hfi_typetext.cxx b/autodoc/source/display/idl/hfi_typetext.cxx
index 458f5d12ae02..574de30374d2 100644
--- a/autodoc/source/display/idl/hfi_typetext.cxx
+++ b/autodoc/source/display/idl/hfi_typetext.cxx
@@ -740,7 +740,7 @@ void
HF_IdlTypeText::write_TemplateParameterList(
const std::vector<ary::idl::Type_id> & i_templateParameters ) const
{
- if (i_templateParameters.size() == 0)
+ if (i_templateParameters.empty())
return;
HF_IdlTypeText