From 5b1e396d827b040908ef74fcd6044d1b84fd4844 Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien <hr@openoffice.org>
Date: Fri, 11 Feb 2005 15:39:58 +0000
Subject: INTEGRATION: CWS pyunofixes1 (1.5.24); FILE MERGED 2004/12/19
 20:57:54 jbu 1.5.24.1: #i31159# struct any members can now be assigned with
 uno.Any

---
 pyuno/source/module/pyuno.cxx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'pyuno')

diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx
index ba2937e547b3..1b876d816816 100644
--- a/pyuno/source/module/pyuno.cxx
+++ b/pyuno/source/module/pyuno.cxx
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: pyuno.cxx,v $
  *
- *  $Revision: 1.5 $
+ *  $Revision: 1.6 $
  *
- *  last change: $Author: hr $ $Date: 2004-02-02 19:29:18 $
+ *  last change: $Author: hr $ $Date: 2005-02-11 16:39:58 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -586,7 +586,7 @@ int PyUNO_setattr (PyObject* self, char* name, PyObject* value)
     try
     {
         Runtime runtime;
-        Any val= runtime.pyObject2Any(value);
+        Any val= runtime.pyObject2Any(value, ACCEPT_UNO_ANY);
 
         OUString attrName( OUString::createFromAscii( name ) );
         {
-- 
cgit