summaryrefslogtreecommitdiff
path: root/idlc/source/astenum.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 02:47:03 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 02:47:03 +0000
commit80399ca6b1d30c76c64645a183ba79beccedbbc4 (patch)
tree1465a57ea6fcd84150fe3aab7938b3560b190588 /idlc/source/astenum.cxx
parent5aba13fc407fdd83ba4b04525d7d8037e36a117b (diff)
INTEGRATION: CWS warnings01 (1.6.12); FILE MERGED
2005/09/23 00:03:56 sb 1.6.12.2: RESYNC: (1.6-1.7); FILE MERGED 2005/08/29 14:14:23 sb 1.6.12.1: #i53898# Made code warning-free.
Diffstat (limited to 'idlc/source/astenum.cxx')
-rw-r--r--idlc/source/astenum.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/idlc/source/astenum.cxx b/idlc/source/astenum.cxx
index dc982078650a..f3185590bcbd 100644
--- a/idlc/source/astenum.cxx
+++ b/idlc/source/astenum.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: astenum.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 18:06:59 $
+ * last change: $Author: hr $ $Date: 2006-06-20 03:47:03 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -128,10 +128,5 @@ sal_Bool AstEnum::dump(RegistryKey& rKey)
AstDeclaration* AstEnum::addDeclaration(AstDeclaration* pDecl)
{
- AstScope* pScope = getScope();
- // add enum value to enclosing scope of the enum
-// pDecl->setName(scopeAsDecl(pScope)->getScopedName() + "::" + pDecl->getLocalName());
-// pScope->addDeclaration(pDecl);
-
return AstScope::addDeclaration(pDecl);
}