[Libreoffice-commits] .: autodoc/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Tue May 17 13:08:59 PDT 2011
autodoc/source/parser/cpp/c_rcode.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f697745730aa61d852388233a27e75f8f6f516ce
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Tue May 17 22:08:30 2011 +0200
Just 1 simple fix cppcheck warning
diff --git a/autodoc/source/parser/cpp/c_rcode.cxx b/autodoc/source/parser/cpp/c_rcode.cxx
index 84ab4b9..4979e2a 100644
--- a/autodoc/source/parser/cpp/c_rcode.cxx
+++ b/autodoc/source/parser/cpp/c_rcode.cxx
@@ -139,7 +139,7 @@ CodeExplorer::CurToken() const
Cpp_PE &
CodeExplorer::CurEnv() const
{
- csv_assert(aEnvironments.size() > 0);
+ csv_assert(!aEnvironments.empty());
csv_assert(aEnvironments.back() != 0);
return *aEnvironments.back();
More information about the Libreoffice-commits
mailing list