Kaydet (Commit) c330bd2b authored tarafından Kurt Zenker's avatar Kurt Zenker

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.
üst 72598f47
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: xformsexport.cxx,v $ * $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 Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -487,7 +487,7 @@ OUString lcl_getXSDType( SvXMLExport& rExport, ...@@ -487,7 +487,7 @@ OUString lcl_getXSDType( SvXMLExport& rExport,
// we use string as default... // we use string as default...
XMLTokenEnum eToken = XML_STRING; XMLTokenEnum eToken = XML_STRING;
sal_uInt16 nDataTypeClass; sal_uInt16 nDataTypeClass = 0;
xType->getPropertyValue( OUSTRING("TypeClass") ) >>= nDataTypeClass; xType->getPropertyValue( OUSTRING("TypeClass") ) >>= nDataTypeClass;
switch( nDataTypeClass ) switch( nDataTypeClass )
{ {
...@@ -546,7 +546,7 @@ void lcl_exportDataType( SvXMLExport& rExport, ...@@ -546,7 +546,7 @@ void lcl_exportDataType( SvXMLExport& rExport,
const Reference<XPropertySet>& xType ) const Reference<XPropertySet>& xType )
{ {
// we do not need to export basic types; exit if we have one // we do not need to export basic types; exit if we have one
bool bIsBasic; bool bIsBasic = false;
xType->getPropertyValue( OUSTRING("IsBasic") ) >>= bIsBasic; xType->getPropertyValue( OUSTRING("IsBasic") ) >>= bIsBasic;
if( bIsBasic ) if( bIsBasic )
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment