diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-07-19 16:19:15 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-07-19 16:19:15 +0000 |
commit | a20a9b769794d85f53146d63e0f503bf89effa8d (patch) | |
tree | ee16db97bcdfef33f32048002c7da7031e7f3878 /sfx2 | |
parent | 45e15e2b5ba609f6438c939cee820b3e78d005dd (diff) |
INTEGRATION: CWS warningfixes02 (1.11.10); FILE MERGED
2006/06/30 12:32:42 sb 1.11.10.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/statbar/stbitem.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx index 960e38c9d636..0902b6a24267 100644 --- a/sfx2/source/statbar/stbitem.cxx +++ b/sfx2/source/statbar/stbitem.cxx @@ -4,9 +4,9 @@ * * $RCSfile: stbitem.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: hr $ $Date: 2006-06-19 22:36:40 $ + * last change: $Author: kz $ $Date: 2006-07-19 17:19:15 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -304,13 +304,13 @@ throw ( ::com::sun::star::uno::RuntimeException ) } else if ( pType == ::getBooleanCppuType() ) { - sal_Bool bTemp ; + sal_Bool bTemp = 0; rEvent.State >>= bTemp ; pItem = new SfxBoolItem( nSlotID, bTemp ); } else if ( pType == ::getCppuType((const sal_uInt16*)0) ) { - sal_uInt16 nTemp ; + sal_uInt16 nTemp = 0; rEvent.State >>= nTemp ; pItem = new SfxUInt16Item( nSlotID, nTemp ); } |