diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-01-18 13:08:46 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-01-18 13:08:46 +0000 |
commit | 0642f82251733c77e9f7f9b7beaeb99338447316 (patch) | |
tree | ee0f93292b4ae05398e2bfc9ae06d7aec2ab80e3 /fpicker/source/office/OfficeControlAccess.cxx | |
parent | f2bba18fc683b6f3ff48993b86885b94f5e618ff (diff) |
INTEGRATION: CWS pj71 (1.5.46); FILE MERGED
2007/01/13 22:36:34 pjanik 1.5.46.1: #i73447#: Initialize variables to prevent warnings on Mac OS X.
Diffstat (limited to 'fpicker/source/office/OfficeControlAccess.cxx')
-rw-r--r-- | fpicker/source/office/OfficeControlAccess.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fpicker/source/office/OfficeControlAccess.cxx b/fpicker/source/office/OfficeControlAccess.cxx index 6dbdf8631663..97e6e9bb6987 100644 --- a/fpicker/source/office/OfficeControlAccess.cxx +++ b/fpicker/source/office/OfficeControlAccess.cxx @@ -4,9 +4,9 @@ * * $RCSfile: OfficeControlAccess.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: obo $ $Date: 2006-09-16 17:49:31 $ + * last change: $Author: vg $ $Date: 2007-01-18 14:08:46 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -550,7 +550,7 @@ namespace svt case ControlActions::DELETE_ITEM: { - sal_Int32 nPos; + sal_Int32 nPos = 0; if ( _rValue >>= nPos ) _pListbox->RemoveEntry( (USHORT) nPos ); } @@ -687,7 +687,7 @@ namespace svt DBG_ASSERT( WINDOW_LISTBOX == _pControl->GetType(), "OControlAccess::implSetControlProperty: invalid control/property combination!" ); - sal_Int32 nPos; + sal_Int32 nPos = 0; if ( _rValue >>= nPos ) { static_cast< ListBox* >( _pControl )->SelectEntryPos( (USHORT) nPos ); |