diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-29 09:58:09 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-29 09:58:09 +0000 |
commit | be32b321166ea7cda8a810f07c331ecc3b1d1e51 (patch) | |
tree | 1f743b66063fc0714ccfb1807b0384533b1e40d3 /toolkit | |
parent | 57b222488a1a56af07dbe457eceb729ce78d8d1a (diff) |
INTEGRATION: CWS warningfixes03_SRC680 (1.72.36); FILE MERGED
2006/08/18 14:08:42 mhu 1.72.36.1: #i68745# Fixed GCC 4.0.x warning(s).
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/controls/unocontrols.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx index c57214a7a194..2aea36e1e926 100644 --- a/toolkit/source/controls/unocontrols.cxx +++ b/toolkit/source/controls/unocontrols.cxx @@ -4,9 +4,9 @@ * * $RCSfile: unocontrols.cxx,v $ * - * $Revision: 1.73 $ + * $Revision: 1.74 $ * - * last change: $Author: ihi $ $Date: 2006-08-28 14:56:47 $ + * last change: $Author: ihi $ $Date: 2006-08-29 10:58:09 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -288,7 +288,7 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( UnoEditControl, UnoControlBase, UnoEditControl // but maybe we are to display multi-line text? uno::Any aVal = ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_MULTILINE ) ); - sal_Bool b; + sal_Bool b = sal_Bool(); if ( ( aVal >>= b ) && b ) sName= ::rtl::OUString::createFromAscii( "MultiLineEdit" ); @@ -846,7 +846,7 @@ UnoButtonControl::UnoButtonControl() { ::rtl::OUString aName( ::rtl::OUString::createFromAscii( "pushbutton" ) ); uno::Any aVal = ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_PUSHBUTTONTYPE ) ); - sal_Int16 n; + sal_Int16 n = sal_Int16(); if ( ( aVal >>= n ) && n ) { // Use PushButtonType later when available... |