diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-03-05 13:47:06 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-03-05 13:47:06 +0000 |
commit | f7f80037179c6d4c1d158d7164b392a84f3fde94 (patch) | |
tree | ef87ba55dd62ddbf457915121d5d97e9351ea775 /sc/source/ui/unoobj/miscuno.cxx | |
parent | 25092dc32d8dc21dfa9a456ee8b263bec9cfca3b (diff) |
INTEGRATION: CWS pj75 (1.12.2); FILE MERGED
2007/03/04 16:16:36 pjanik 1.12.2.1: #i75099#: Prevent warnings on Mac OS X/gcc-4.0.1.
Diffstat (limited to 'sc/source/ui/unoobj/miscuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/miscuno.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/unoobj/miscuno.cxx b/sc/source/ui/unoobj/miscuno.cxx index aaa3897d2cb7..86cb39613a17 100644 --- a/sc/source/ui/unoobj/miscuno.cxx +++ b/sc/source/ui/unoobj/miscuno.cxx @@ -4,9 +4,9 @@ * * $RCSfile: miscuno.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: vg $ $Date: 2007-02-27 13:46:06 $ + * last change: $Author: obo $ $Date: 2007-03-05 14:47:06 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -153,7 +153,7 @@ sal_Bool ScUnoHelpFunctions::GetBoolFromAny( const uno::Any& aAny ) // static sal_Int16 ScUnoHelpFunctions::GetInt16FromAny( const uno::Any& aAny ) { - sal_Int16 nRet; + sal_Int16 nRet = 0; if ( aAny >>= nRet ) return nRet; return 0; @@ -162,7 +162,7 @@ sal_Int16 ScUnoHelpFunctions::GetInt16FromAny( const uno::Any& aAny ) // static sal_Int32 ScUnoHelpFunctions::GetInt32FromAny( const uno::Any& aAny ) { - sal_Int32 nRet; + sal_Int32 nRet = 0; if ( aAny >>= nRet ) return nRet; return 0; |