summaryrefslogtreecommitdiff
path: root/idlc/source/idlc.cxx
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
commit0adde186d4b3d27949f971eb6efd1fc22866bea0 (patch)
treeb392e7a1cb499f0bc91184b2c807a8dfd4271ca1 /idlc/source/idlc.cxx
parent091863c7a97a4b6272ea608671c93b29b86997ac (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
Diffstat (limited to 'idlc/source/idlc.cxx')
-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 bb51c2ff278b..8e276aa02df4 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);