diff options
author | Mathias Bauer <mba@openoffice.org> | 2002-06-03 10:52:46 +0000 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2002-06-03 10:52:46 +0000 |
commit | 426ee4818de59fa3de52a0aca08d430ed09cb1db (patch) | |
tree | abbb78f998c2ab01b60bcba5776f3c60ae97763a /idl | |
parent | 1a3e2d8a222c0e3cf7806df754d77d970a19d7ad (diff) |
#99843#: assert unique UnoNames
Diffstat (limited to 'idl')
-rw-r--r-- | idl/source/objects/slot.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx index 948321779bd1..c94ffe9d36d5 100644 --- a/idl/source/objects/slot.cxx +++ b/idl/source/objects/slot.cxx @@ -2,9 +2,9 @@ * * $RCSfile: slot.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: mba $ $Date: 2002-05-07 10:26:30 $ + * last change: $Author: mba $ $Date: 2002-06-03 11:49:52 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -997,8 +997,9 @@ BOOL SvMetaSlot::ReadSvIdl( SvIdlDataBase & rBase, SvTokenStream & rInStm ) { SetRef( pKnownSlot ); - // Namen d"urfen abweichen, da mit angegeben -// SetName( pKnownSlot->GetName(), &rBase ); + // Namen d"urfen abweichen, da mit angegeben + DBG_ASSERT( pKnownSlot->GetName() == GetName(), "Name error!"); + SetName( pKnownSlot->GetName(), &rBase ); } else { |