summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-07-19 15:42:09 +0000
committerKurt Zenker <kz@openoffice.org>2006-07-19 15:42:09 +0000
commitc330bd2b4a42d7d24ba33c11e0691b08d39e5b22 (patch)
tree9523b01fe747128bd6b71c5d84ef41b700951df5 /xmloff/source
parent72598f4724b8905027614938b783333e8204d0f8 (diff)
INTEGRATION: CWS warningfixes02 (1.6.10); FILE MERGED
2006/06/30 12:00:26 sb 1.6.10.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/xforms/xformsexport.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/xforms/xformsexport.cxx b/xmloff/source/xforms/xformsexport.cxx
index 74cf67a70764..21eb493baf7c 100644
--- a/xmloff/source/xforms/xformsexport.cxx
+++ b/xmloff/source/xforms/xformsexport.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: xformsexport.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: hr $ $Date: 2006-06-19 18:58:21 $
+ * last change: $Author: kz $ $Date: 2006-07-19 16:42:09 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -487,7 +487,7 @@ OUString lcl_getXSDType( SvXMLExport& rExport,
// we use string as default...
XMLTokenEnum eToken = XML_STRING;
- sal_uInt16 nDataTypeClass;
+ sal_uInt16 nDataTypeClass = 0;
xType->getPropertyValue( OUSTRING("TypeClass") ) >>= nDataTypeClass;
switch( nDataTypeClass )
{
@@ -546,7 +546,7 @@ void lcl_exportDataType( SvXMLExport& rExport,
const Reference<XPropertySet>& xType )
{
// we do not need to export basic types; exit if we have one
- bool bIsBasic;
+ bool bIsBasic = false;
xType->getPropertyValue( OUSTRING("IsBasic") ) >>= bIsBasic;
if( bIsBasic )
return;