summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-01-25 10:00:54 +0000
committerOliver Bolte <obo@openoffice.org>2007-01-25 10:00:54 +0000
commit31328f173e7a065b95609bfe8ff1479b18d3bdbf (patch)
tree0591836fea5f088a9a3694bce93bbba47e5a61e8
parentf11d83bdd60cb45257e521894bcf3cb53c94f1e8 (diff)
INTEGRATION: CWS jsc17 (1.10.12); FILE MERGED
2007/01/22 15:51:18 jsc 1.10.12.1: #i73482# flag predefined types correctly
-rw-r--r--idlc/source/idlc.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/idlc/source/idlc.cxx b/idlc/source/idlc.cxx
index 427437a2c..5012dbe94 100644
--- a/idlc/source/idlc.cxx
+++ b/idlc/source/idlc.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: idlc.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: kz $ $Date: 2006-11-06 14:40:17 $
+ * last change: $Author: obo $ $Date: 2007-01-25 11:00:54 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -149,21 +149,26 @@ static void SAL_CALL predefineXInterface(AstModule* pRoot)
// define the modules com::sun::star::uno
AstModule* pParentScope = pRoot;
AstModule* pModule = new AstModule(OString("com"), pParentScope);
+ pModule->setPredefined(true);
pParentScope->addDeclaration(pModule);
pParentScope = pModule;
pModule = new AstModule(OString("sun"), pParentScope);
+ pModule->setPredefined(true);
pParentScope->addDeclaration(pModule);
pParentScope = pModule;
pModule = new AstModule(OString("star"), pParentScope);
+ pModule->setPredefined(true);
pParentScope->addDeclaration(pModule);
pParentScope = pModule;
pModule = new AstModule(OString("uno"), pParentScope);
+ pModule->setPredefined(true);
pParentScope->addDeclaration(pModule);
pParentScope = pModule;
// define XInterface
AstInterface* pInterface = new AstInterface(OString("XInterface"), NULL, pParentScope);
pInterface->setDefined();
+ pInterface->setPredefined(true);
pInterface->setPublished();
pParentScope->addDeclaration(pInterface);