idl/source/objects/types.cxx | 7 ------- 1 file changed, 7 deletions(-)
New commits: commit 36936c2580bf15117dd3bf775dd91340d16d3239 Author: Michael Weghorn <m.wegh...@posteo.de> Date: Wed Dec 17 20:46:20 2014 +0100 remove if-block that has no effect If the outer if-block is entered, 'aIsCollection' is returned, no matter whether the inner if-block is entered or not. Change-Id: Ief33e6fe6e29d1dfe287095424dac92e7f7d06b0 Reviewed-on: https://gerrit.libreoffice.org/13512 Reviewed-by: Noel Grandin <noelgran...@gmail.com> Tested-by: Noel Grandin <noelgran...@gmail.com> diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx index fa2f50d..cd41795 100644 --- a/idl/source/objects/types.cxx +++ b/idl/source/objects/types.cxx @@ -92,15 +92,8 @@ bool SvMetaAttribute::GetAutomation() const bool SvMetaAttribute::GetIsCollection() const { - bool bRet; if( aIsCollection.IsSet() || !GetRef() ) { - if ( aIsCollection.IsSet() ) - { - bRet = aIsCollection; - return bRet; - } - return aIsCollection; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits