diff options
author | Kurt Zenker <kz@openoffice.org> | 2007-05-10 12:02:50 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2007-05-10 12:02:50 +0000 |
commit | 2525807179fd40ff57f7573bfa268edeab213c08 (patch) | |
tree | 554036fd21bb8dd3cb3b643f0b6d1341a6319d60 | |
parent | 626622eab5725eb0887165c4c79fad242bca28fd (diff) |
INTEGRATION: CWS pj77 (1.21.4); FILE MERGED
2007/04/04 10:09:06 cloph 1.21.4.1: Issue number: #i75975#
Submitted by: cloph
initialize variable to allow WaE build with GTK on Mac (and possibly others)
-rw-r--r-- | fpicker/source/unx/gnome/SalGtkFilePicker.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx index 24a8553dd244..39d28a24ba07 100644 --- a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx +++ b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx @@ -4,9 +4,9 @@ * * $RCSfile: SalGtkFilePicker.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: obo $ $Date: 2007-03-05 15:17:48 $ + * last change: $Author: kz $ $Date: 2007-05-10 13:02:50 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1236,7 +1236,7 @@ void SalGtkFilePicker::HandleSetListValue(GtkComboBox *pWidget, sal_Int16 nContr break; case ControlActions::DELETE_ITEM: { - sal_Int32 nPos; + sal_Int32 nPos=0; rValue >>= nPos; gtk_combo_box_remove_text(pWidget, nPos); } @@ -1258,7 +1258,7 @@ void SalGtkFilePicker::HandleSetListValue(GtkComboBox *pWidget, sal_Int16 nContr break; case ControlActions::SET_SELECT_ITEM: { - sal_Int32 nPos; + sal_Int32 nPos=0; rValue >>= nPos; gtk_combo_box_set_active(pWidget, nPos); } |