summaryrefslogtreecommitdiff
path: root/framework/source/uielement/dropdownboxtoolbarcontroller.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-21 16:21:39 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-21 16:21:39 +0000
commitcad2c6496edae4335e924ee58a1fda6de77462ed (patch)
treef3c85bd0b2fd70ab19688cbcd817f2222b3dabea /framework/source/uielement/dropdownboxtoolbarcontroller.cxx
parent742c228fb4b627016756988836bc329fa3176cda (diff)
INTEGRATION: CWS pj65 (1.3.32); FILE MERGED
2006/10/31 14:05:55 pjanik 1.3.32.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1.
Diffstat (limited to 'framework/source/uielement/dropdownboxtoolbarcontroller.cxx')
-rw-r--r--framework/source/uielement/dropdownboxtoolbarcontroller.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/uielement/dropdownboxtoolbarcontroller.cxx b/framework/source/uielement/dropdownboxtoolbarcontroller.cxx
index 1ac2e3c689ef..1a2daf19c6d8 100644
--- a/framework/source/uielement/dropdownboxtoolbarcontroller.cxx
+++ b/framework/source/uielement/dropdownboxtoolbarcontroller.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: dropdownboxtoolbarcontroller.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: obo $ $Date: 2006-09-16 14:19:05 $
+ * last change: $Author: vg $ $Date: 2006-11-21 17:21:39 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -360,7 +360,7 @@ void DropdownToolbarController::executeControlCommand( const ::com::sun::star::f
{
if ( rControlCommand.Arguments[i].Name.equalsAsciiL( "Pos", 3 ))
{
- sal_Int32 nTmpPos;
+ sal_Int32 nTmpPos = 0;
if ( rControlCommand.Arguments[i].Value >>= nTmpPos )
{
if (( nTmpPos >= 0 ) &&