summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-21 16:41:38 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-21 16:41:38 +0000
commit6094a1c22891a6662c4c723288e2edde3d34cb22 (patch)
tree52409a2503f55295ec205e8df3993cd53cc1266b /xmlscript
parent280930cc80b3978b9c7e7077525fbcfc81e405db (diff)
INTEGRATION: CWS pj65 (1.3.30); FILE MERGED
2006/10/31 12:54:50 pjanik 1.3.30.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1.
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/source/inc/misc.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlscript/source/inc/misc.hxx b/xmlscript/source/inc/misc.hxx
index cdbe95192f1b..2b4b0ca87e3e 100644
--- a/xmlscript/source/inc/misc.hxx
+++ b/xmlscript/source/inc/misc.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: misc.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 16:10:06 $
+ * last change: $Author: vg $ $Date: 2006-11-21 17:41:38 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -61,7 +61,7 @@ inline void extract_throw( T * p, ::com::sun::star::uno::Any const & a )
template< typename T >
inline T extract_throw( ::com::sun::star::uno::Any const & a )
{
- T v;
+ T v = T();
extract_throw<T>( &v, a );
return v;
}