diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-01-18 12:34:03 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-01-18 12:34:03 +0000 |
commit | fa3a276d065ff08cd469fcce70b0497e4d12e7a7 (patch) | |
tree | efbcc510754f794416328510bf6a57a0b294d7ed /idlc/source/astconstant.cxx | |
parent | 8e58425e98d670813aee783dcbf2b72687cb6c6f (diff) |
INTEGRATION: CWS sb28 (1.5.20); FILE MERGED
2005/01/03 16:38:00 sb 1.5.20.1: #i28722# Removed support for char and string constants.
Diffstat (limited to 'idlc/source/astconstant.cxx')
-rw-r--r-- | idlc/source/astconstant.cxx | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/idlc/source/astconstant.cxx b/idlc/source/astconstant.cxx index a2d05e52b6f1..e58b98a72ba8 100644 --- a/idlc/source/astconstant.cxx +++ b/idlc/source/astconstant.cxx @@ -2,9 +2,9 @@ * * $RCSfile: astconstant.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: obo $ $Date: 2004-06-03 15:06:56 $ + * last change: $Author: kz $ $Date: 2005-01-18 13:34:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -136,8 +136,6 @@ sal_Bool AstConstant::dumpBlob( aConst.m_type = RT_TYPE_DOUBLE; aConst.m_value.aDouble = exprVal->u.dval; break; - case ET_char: - break; case ET_byte: aConst.m_type = RT_TYPE_BYTE; aConst.m_value.aByte = exprVal->u.byval; @@ -146,15 +144,6 @@ sal_Bool AstConstant::dumpBlob( aConst.m_type = RT_TYPE_BOOL; aConst.m_value.aBool = exprVal->u.bval; break; - case ET_string: - { - aConst.m_type = RT_TYPE_STRING; - ::rtl::OUString aTempStr( OUString::createFromAscii(exprVal->u.strval->getStr())); - str = new sal_Unicode[aTempStr.getLength()+1]; - rtl_copyMemory(str, aTempStr.getStr(), (aTempStr.getLength()+1) * sizeof(sal_Unicode)); - aConst.m_value.aString = str; - } - break; default: { fprintf(stderr, "%s: exprtype to const type: cannot convert ExprType\n", |