diff options
author | Kurt Zenker <kz@openoffice.org> | 2004-10-04 16:32:53 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2004-10-04 16:32:53 +0000 |
commit | f66300ed325ee3997cf3560db01726670adbf9d7 (patch) | |
tree | 9c6bc1f44f64ed15e7174b7c286b647e9c410f71 /codemaker | |
parent | 479863991cfb529ae056e112aeb026ed61ba57d4 (diff) |
INTEGRATION: CWS mav09 (1.29.8); FILE MERGED
2004/09/28 11:15:51 mav 1.29.8.1: #100000# fix from JSC for 64-bit constants
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/source/cppumaker/cpputype.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx index 7e82dcd544bc..06c8af7732db 100644 --- a/codemaker/source/cppumaker/cpputype.cxx +++ b/codemaker/source/cppumaker/cpputype.cxx @@ -2,9 +2,9 @@ * * $RCSfile: cpputype.cxx,v $ * - * $Revision: 1.29 $ + * $Revision: 1.30 $ * - * last change: $Author: rt $ $Date: 2004-07-23 14:45:52 $ + * last change: $Author: kz $ $Date: 2004-10-04 17:32:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1333,13 +1333,15 @@ void CppuType::dumpConstantValue(FileStream& o, sal_uInt16 index) case RT_TYPE_INT64: { ::rtl::OString tmp( OString::valueOf(constValue.m_value.aHyper) ); - o << "(sal_Int64)" << tmp.getStr() << "L"; + // o << "(sal_Int64)" << tmp.getStr() << "L"; + o << "(sal_Int64) SAL_CONST_INT64(" << tmp.getStr() << ")"; } break; case RT_TYPE_UINT64: { ::rtl::OString tmp( OString::valueOf((sal_Int64)constValue.m_value.aUHyper) ); - o << "(sal_uInt64)" << tmp.getStr() << "L"; + // o << "(sal_uInt64)" << tmp.getStr() << "L"; + o << "(sal_Int64) SAL_CONST_UINT64(" << tmp.getStr() << ")"; } break; case RT_TYPE_FLOAT: |