idl/source/objects/types.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit 8db11c905600d8f71fcdeb7f1849c01f64a49a50 Author: Noel Grandin <n...@peralex.com> Date: Thu Feb 11 15:27:09 2016 +0200 fix dead code warning on Windows Change-Id: I7b23442b34c7f2dcc2c44c33613fb66e6eb1b14b diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx index f0bf9d6..eb48cf6 100644 --- a/idl/source/objects/types.cxx +++ b/idl/source/objects/types.cxx @@ -52,13 +52,11 @@ const SvIdentifier & SvMetaAttribute::GetSlotId() const bool SvMetaAttribute::Test( SvTokenStream & rInStm ) { - bool bOk = true; if( GetType()->IsItem() && !GetSlotId().IsSet() ) { throw SvParseException( rInStm, "slot without id declared" ); - bOk = false; } - return bOk; + return true; } bool SvMetaAttribute::ReadSvIdl( SvIdlDataBase & rBase, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits