diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-29 09:57:59 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-29 09:57:59 +0000 |
commit | 57b222488a1a56af07dbe457eceb729ce78d8d1a (patch) | |
tree | 16c44ac431864580c781f877ca39dbd6fcdbadb1 /toolkit | |
parent | a4f803459697ebb8e9e7ea3a4ab19e820e3682cf (diff) |
INTEGRATION: CWS warningfixes03_SRC680 (1.38.34); FILE MERGED
2006/08/18 14:08:42 mhu 1.38.34.1: #i68745# Fixed GCC 4.0.x warning(s).
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/controls/unocontrol.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx index fe8ae1b59a62..51913c439d17 100644 --- a/toolkit/source/controls/unocontrol.cxx +++ b/toolkit/source/controls/unocontrol.cxx @@ -4,9 +4,9 @@ * * $RCSfile: unocontrol.cxx,v $ * - * $Revision: 1.38 $ + * $Revision: 1.39 $ * - * last change: $Author: hr $ $Date: 2006-06-19 23:04:36 $ + * last change: $Author: ihi $ $Date: 2006-08-29 10:57:59 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -980,7 +980,7 @@ void UnoControl::createPeer( const Reference< XToolkit >& rxToolkit, const Refer if ( xInfo->hasPropertyByName( aPropName ) ) { aVal = xPSet->getPropertyValue( aPropName ); - sal_Int16 n; + sal_Int16 n = sal_Int16(); if ( aVal >>= n ) { if ( n ) @@ -995,7 +995,7 @@ void UnoControl::createPeer( const Reference< XToolkit >& rxToolkit, const Refer if ( xInfo->hasPropertyByName( aPropName ) ) { aVal = xPSet->getPropertyValue( aPropName ); - sal_Bool b; + sal_Bool b = sal_Bool(); if ( ( aVal >>= b ) && b) aDescr.WindowAttributes |= WindowAttribute::MOVEABLE; } @@ -1005,7 +1005,7 @@ void UnoControl::createPeer( const Reference< XToolkit >& rxToolkit, const Refer if ( xInfo->hasPropertyByName( aPropName ) ) { aVal = xPSet->getPropertyValue( aPropName ); - sal_Bool b; + sal_Bool b = sal_Bool(); if ( ( aVal >>= b ) && b) aDescr.WindowAttributes |= WindowAttribute::CLOSEABLE; } @@ -1015,7 +1015,7 @@ void UnoControl::createPeer( const Reference< XToolkit >& rxToolkit, const Refer if ( xInfo->hasPropertyByName( aPropName ) ) { aVal = xPSet->getPropertyValue( aPropName ); - sal_Bool b; + sal_Bool b = sal_Bool(); if ( ( aVal >>= b ) && b) aDescr.WindowAttributes |= VclWindowPeerAttribute::DROPDOWN; } @@ -1025,7 +1025,7 @@ void UnoControl::createPeer( const Reference< XToolkit >& rxToolkit, const Refer if ( xInfo->hasPropertyByName( aPropName ) ) { aVal = xPSet->getPropertyValue( aPropName ); - sal_Bool b; + sal_Bool b = sal_Bool(); if ( ( aVal >>= b ) && b) aDescr.WindowAttributes |= VclWindowPeerAttribute::SPIN; } @@ -1035,7 +1035,7 @@ void UnoControl::createPeer( const Reference< XToolkit >& rxToolkit, const Refer if ( xInfo->hasPropertyByName( aPropName ) ) { aVal = xPSet->getPropertyValue( aPropName ); - sal_Bool b; + sal_Bool b = sal_Bool(); if ( ( aVal >>= b ) && b) aDescr.WindowAttributes |= VclWindowPeerAttribute::HSCROLL; } @@ -1045,7 +1045,7 @@ void UnoControl::createPeer( const Reference< XToolkit >& rxToolkit, const Refer if ( xInfo->hasPropertyByName( aPropName ) ) { aVal = xPSet->getPropertyValue( aPropName ); - sal_Bool b; + sal_Bool b = sal_Bool(); if ( ( aVal >>= b ) && b) aDescr.WindowAttributes |= VclWindowPeerAttribute::VSCROLL; } @@ -1055,7 +1055,7 @@ void UnoControl::createPeer( const Reference< XToolkit >& rxToolkit, const Refer if ( xInfo->hasPropertyByName( aPropName ) ) { aVal = xPSet->getPropertyValue( aPropName ); - sal_Int16 n; + sal_Int16 n = sal_Int16(); if ( aVal >>= n ) { if ( n == PROPERTY_ALIGN_LEFT ) |