summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-06-17 11:37:33 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-06-17 11:37:33 +0000
commitded0f50dc852c83533e2a8e90ed6889829e88719 (patch)
tree0835232c8130d221e938a8ccb14584eb396c097f /pyuno
parent9db34d80a27dc72597ab69f3a8ceb40940a29f60 (diff)
INTEGRATION: CWS ooo64bit01 (1.6.8); FILE MERGED
2004/04/05 19:00:11 fa 1.6.8.2: Back out of silly change from earlier, forgot this one 2004/03/29 00:29:47 fa 1.6.8.1: More 64-bit changes. 'rsc' still broken, but not as much as before.
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/module/pyuno_runtime.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx
index 479fe9cf6..ff26d56c5 100644
--- a/pyuno/source/module/pyuno_runtime.cxx
+++ b/pyuno/source/module/pyuno_runtime.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: pyuno_runtime.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: hr $ $Date: 2004-02-02 19:30:44 $
+ * last change: $Author: rt $ $Date: 2004-06-17 12:37:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -369,7 +369,7 @@ PyRef Runtime::any2PyObject (const Any &a ) const
case typelib_TypeClass_UNSIGNED_SHORT:
case typelib_TypeClass_LONG:
{
- long l;
+ sal_Int32 l;
a >>= l;
return PyRef( PyInt_FromLong (l), SAL_NO_ACQUIRE );
}
@@ -427,7 +427,7 @@ PyRef Runtime::any2PyObject (const Any &a ) const
}
case typelib_TypeClass_ENUM:
{
- long l = *(long *) a.getValue();
+ sal_Int32 l = *(sal_Int32 *) a.getValue();
TypeDescription desc( a.getValueType() );
if( desc.is() )
{