summaryrefslogtreecommitdiff
path: root/stoc/source/corereflection/crenum.cxx
diff options
context:
space:
mode:
authorDaniel Boelzle <dbo@openoffice.org>2002-10-17 06:49:57 +0000
committerDaniel Boelzle <dbo@openoffice.org>2002-10-17 06:49:57 +0000
commit90be862021b2b8d85da8f4155e6f6e4a1e571e10 (patch)
tree30e39a81a6cacd8898f706a61b9d18f5ef57daac /stoc/source/corereflection/crenum.cxx
parent4abfb98d50b43cd82d69791ef4c372f29de17495 (diff)
#100586# mt safe
Diffstat (limited to 'stoc/source/corereflection/crenum.cxx')
-rw-r--r--stoc/source/corereflection/crenum.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/stoc/source/corereflection/crenum.cxx b/stoc/source/corereflection/crenum.cxx
index 0e6b1b0e1bd5..6a4a7641a79f 100644
--- a/stoc/source/corereflection/crenum.cxx
+++ b/stoc/source/corereflection/crenum.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: crenum.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: jsc $ $Date: 2001-05-03 13:56:57 $
+ * last change: $Author: dbo $ $Date: 2002-10-17 07:49:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -268,7 +268,8 @@ Sequence< Reference< XIdlField > > EnumIdlClassImpl::getFields()
void EnumIdlClassImpl::createObject( Any & rObj )
throw(::com::sun::star::uno::RuntimeException)
{
- int eVal = ((typelib_EnumTypeDescription *)IdlClassImpl::getTypeDescr())->nDefaultEnumValue;
+ sal_Int32 eVal =
+ ((typelib_EnumTypeDescription *)IdlClassImpl::getTypeDescr())->nDefaultEnumValue;
rObj.setValue( &eVal, IdlClassImpl::getTypeDescr() );
}