diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-11-01 15:10:21 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-11-01 15:10:21 +0000 |
commit | b84c57d8c71813a8a0a8293767ab02569871ec85 (patch) | |
tree | 7cc939fcd9901b7a7709203c19e1cc9fe3d18fec /svx | |
parent | 3e802a25c941f8d9c901d0426458f52a8dfff744 (diff) |
INTEGRATION: CWS kendy15 (1.15.58); FILE MERGED
2006/10/20 09:06:44 kendy 1.15.58.1: #i70594#
Fix warning: XYZ is used uninitialized in this function
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/unoctabl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/unodraw/unoctabl.cxx b/svx/source/unodraw/unoctabl.cxx index 52e9c9624cdc..8b0430099547 100644 --- a/svx/source/unodraw/unoctabl.cxx +++ b/svx/source/unodraw/unoctabl.cxx @@ -4,9 +4,9 @@ * * $RCSfile: unoctabl.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: obo $ $Date: 2006-09-17 06:11:34 $ + * last change: $Author: vg $ $Date: 2006-11-01 16:10:21 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -148,7 +148,7 @@ void SAL_CALL SvxUnoColorTable::insertByName( const OUString& aName, const uno:: if( hasByName( aName ) ) throw container::ElementExistException(); - INT32 nColor; + INT32 nColor = 0; if( aElement >>= nColor ) throw lang::IllegalArgumentException(); @@ -173,7 +173,7 @@ void SAL_CALL SvxUnoColorTable::removeByName( const OUString& Name ) void SAL_CALL SvxUnoColorTable::replaceByName( const OUString& aName, const uno::Any& aElement ) throw( lang::IllegalArgumentException, container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException ) { - INT32 nColor; + INT32 nColor = 0; if( aElement >>= nColor ) throw lang::IllegalArgumentException(); |