diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-29 09:57:05 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-29 09:57:05 +0000 |
commit | 9ada5c394db99ff5290e3dd799ec3fa7f246d8c9 (patch) | |
tree | 94d5c13e12db15ecaa1529d92d939ac65ad6864e /connectivity/source/drivers/calc | |
parent | 1281d5f6d6ef8c98c93346a19678964420d24771 (diff) |
INTEGRATION: CWS warningfixes03_SRC680 (1.14.54); FILE MERGED
2006/08/18 14:23:02 mhu 1.14.54.1: #i68745# Fixed GCC 4.0.x warning(s).
Diffstat (limited to 'connectivity/source/drivers/calc')
-rw-r--r-- | connectivity/source/drivers/calc/CDatabaseMetaData.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/calc/CDatabaseMetaData.cxx b/connectivity/source/drivers/calc/CDatabaseMetaData.cxx index 4c8795b02a..3d87106530 100644 --- a/connectivity/source/drivers/calc/CDatabaseMetaData.cxx +++ b/connectivity/source/drivers/calc/CDatabaseMetaData.cxx @@ -4,9 +4,9 @@ * * $RCSfile: CDatabaseMetaData.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: hr $ $Date: 2006-06-20 01:18:00 $ + * last change: $Author: ihi $ $Date: 2006-08-29 10:57:05 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -462,7 +462,7 @@ sal_Bool lcl_IsEmptyOrHidden( const Reference<XSpreadsheets>& xSheets, const ::r Reference<XPropertySet> xProp( xSheet, UNO_QUERY ); if (xProp.is()) { - sal_Bool bVisible; + sal_Bool bVisible = sal_Bool(); Any aVisAny = xProp->getPropertyValue( ::rtl::OUString::createFromAscii("IsVisible") ); if ( aVisAny >>= bVisible ) if (!bVisible) @@ -529,7 +529,7 @@ sal_Bool lcl_IsUnnamed( const Reference<XDatabaseRanges>& xRanges, const ::rtl:: try { Any aUserAny = xRangeProp->getPropertyValue( ::rtl::OUString::createFromAscii("IsUserDefined") ); - sal_Bool bUserDefined; + sal_Bool bUserDefined = sal_Bool(); if ( aUserAny >>= bUserDefined ) bUnnamed = !bUserDefined; } |