diff options
author | Elton Chung <elton@layerjet.com> | 2012-02-19 16:59:40 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-02-19 17:07:46 +0400 |
commit | d30b4e9fb66f377295d8eeea8c1b1cf879aecdf6 (patch) | |
tree | a99079bda02a9d8dd5bd0d54666164f362314c52 /autodoc/source/display | |
parent | 704c9477039e37b4910db6aa8dd644751dd5e6a5 (diff) |
Get rid of size() == 0
Diffstat (limited to 'autodoc/source/display')
-rw-r--r-- | autodoc/source/display/idl/hfi_module.cxx | 2 | ||||
-rw-r--r-- | autodoc/source/display/idl/hfi_xrefpage.cxx | 2 | ||||
-rw-r--r-- | autodoc/source/display/idl/hi_factory.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/autodoc/source/display/idl/hfi_module.cxx b/autodoc/source/display/idl/hfi_module.cxx index eb65a14de9ae..85be9cb9fb37 100644 --- a/autodoc/source/display/idl/hfi_module.cxx +++ b/autodoc/source/display/idl/hfi_module.cxx @@ -214,7 +214,7 @@ HF_IdlModule::produce_ChildList( const String & i_sName, const String & i_sLabel, const ce_ptr_list & i_list ) const { - if ( i_list.size() == 0 ) + if ( i_list.empty() ) return false; HF_SubTitleTable diff --git a/autodoc/source/display/idl/hfi_xrefpage.cxx b/autodoc/source/display/idl/hfi_xrefpage.cxx index e067308295ca..35d647a85ebf 100644 --- a/autodoc/source/display/idl/hfi_xrefpage.cxx +++ b/autodoc/source/display/idl/hfi_xrefpage.cxx @@ -74,7 +74,7 @@ HF_IdlXrefs::Write_ManualLinks( const client & i_ce ) const { const StringVector & rLinks2Refs = i_ce.Secondaries().Links2RefsInManual(); - if ( rLinks2Refs.size() == 0 ) + if ( rLinks2Refs.empty() ) { rContentDirectory << C_sDevMan diff --git a/autodoc/source/display/idl/hi_factory.cxx b/autodoc/source/display/idl/hi_factory.cxx index d194d6015744..832420f6fb96 100644 --- a/autodoc/source/display/idl/hi_factory.cxx +++ b/autodoc/source/display/idl/hi_factory.cxx @@ -234,7 +234,7 @@ HtmlFactory_Idl::write_ManualLinks( Xml::Element & o_screen, { const StringVector & rLinks2Descrs = i_ce.Secondaries().Links2DescriptionInManual(); - if ( rLinks2Descrs.size() == 0 ) + if ( rLinks2Descrs.empty() ) return; o_screen |