summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorJuergen Schmidt <jsc@openoffice.org>2001-03-27 09:53:19 +0000
committerJuergen Schmidt <jsc@openoffice.org>2001-03-27 09:53:19 +0000
commit7e5e274e7d12fe1bf51c3ab497ba98d02198e7ef (patch)
tree8cddc4ad64a73315b2c2cb8b1cebe2e70f43783b /idlc
parent117a34fbe50a307f0c922650e46ff0db5f689afc (diff)
bugfixes for string constant
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/astconstant.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/idlc/source/astconstant.cxx b/idlc/source/astconstant.cxx
index bb377a0ed3e7..21b62cbc7e6e 100644
--- a/idlc/source/astconstant.cxx
+++ b/idlc/source/astconstant.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: astconstant.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: jsc $ $Date: 2001-03-15 12:30:43 $
+ * last change: $Author: jsc $ $Date: 2001-03-27 10:53:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -97,9 +97,9 @@ sal_Bool AstConstant::dumpBlob(RegistryTypeWriter& rBlob, sal_uInt16 index)
{
RTConstValue aConst;
sal_Unicode* str = NULL;
- sal_Bool bRelativ = sal_False;
- if ( getScope()->getScopeNodeType() == NT_constants )
- bRelativ = sal_True;
+// sal_Bool bRelativ = sal_False;
+// if ( getScope()->getScopeNodeType() == NT_constants )
+// bRelativ = sal_True;
AstExprValue *exprVal = getConstValue()->getExprValue();
switch (getConstValueType())
@@ -163,9 +163,9 @@ sal_Bool AstConstant::dumpBlob(RegistryTypeWriter& rBlob, sal_uInt16 index)
}
}
- OString name(getRelativName());
- if ( getNodeType() == NT_enum_val || bRelativ )
- name = getLocalName();
+// OString name(getRelativName());
+// if ( getNodeType() == NT_enum_val || bRelativ )
+ OString name = getLocalName();
OUString type;
OUString fileName;