diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-11-21 16:42:38 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-11-21 16:42:38 +0000 |
commit | c1ec8686da9c188d01ba53648f8e6c7049df8484 (patch) | |
tree | 369e7870c673ea1e384e5f9de164e3cc60da176b | |
parent | 34f67a45b190aafef72d50073b12e3f0a2a31a02 (diff) |
INTEGRATION: CWS pj65 (1.17.48); FILE MERGED
2006/10/31 14:01:27 pjanik 1.17.48.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1.
-rw-r--r-- | cppu/inc/com/sun/star/uno/Any.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cppu/inc/com/sun/star/uno/Any.hxx b/cppu/inc/com/sun/star/uno/Any.hxx index ddca31958e55..84a402b254d0 100644 --- a/cppu/inc/com/sun/star/uno/Any.hxx +++ b/cppu/inc/com/sun/star/uno/Any.hxx @@ -4,9 +4,9 @@ * * $RCSfile: Any.hxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: rt $ $Date: 2006-01-10 15:53:08 $ + * last change: $Author: vg $ $Date: 2006-11-21 17:42:38 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -584,7 +584,7 @@ extern "C" rtl_uString * SAL_CALL cppu_Any_extraction_failure_msg( template <typename T> T Any::get() const { - T value; + T value = T(); if (! (*this >>= value)) { throw RuntimeException( ::rtl::OUString( |