diff options
author | Jan Holesovsky <kendy@suse.cz> | 2011-10-06 10:18:13 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-10-06 10:19:42 +0200 |
commit | 1339a41fb01323d607b5313256f5f9702804b9eb (patch) | |
tree | 3d0690e2c583235a0c8e191fdbbe3d6373fc8251 /autodoc/source | |
parent | e6b5c5345f25c8881f0dca33d4a7bd4262d5e01e (diff) |
Revert "Simplify logic to use std::vector's .empty()"
This reverts commit a6a51b6a69bd14c6ad67a8e6629cf405034dd701.
The commit broke the build, sorry for the push.
Diffstat (limited to 'autodoc/source')
-rw-r--r-- | autodoc/source/ary_i/kernel/ci_text2.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/autodoc/source/ary_i/kernel/ci_text2.cxx b/autodoc/source/ary_i/kernel/ci_text2.cxx index 66702af381e3..00a5a7eb32fc 100644 --- a/autodoc/source/ary_i/kernel/ci_text2.cxx +++ b/autodoc/source/ary_i/kernel/ci_text2.cxx @@ -76,6 +76,18 @@ DocuTex2::AddToken( DYN DocuToken & let_drToken ) } aTokens.push_back(&let_drToken); } + +bool +DocuTex2::IsEmpty() const +{ + for ( ary::inf::DocuTex2::TokenList::const_iterator + iter = aTokens.begin(); + iter != aTokens.end(); + ) + { + return false; + } + return true; } using csi::dsapi::DT_TextToken; |