summaryrefslogtreecommitdiff
path: root/unodevtools
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:51:33 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:51:33 +0000
commita20c2f455885f9e2c95b2689c2a63c81591dbaa2 (patch)
tree28bbccc593a0bf7a66a56b87afb7cb95787f5463 /unodevtools
parent19056544d6cf74e0a5c2799a9b4b7e00140c6025 (diff)
INTEGRATION: CWS warnings01 (1.3.2); FILE MERGED
2006/04/07 20:05:57 sb 1.3.2.2: RESYNC: (1.3-1.4); FILE MERGED 2005/11/09 11:51:21 pl 1.3.2.1: #i53898# removed warnings
Diffstat (limited to 'unodevtools')
-rw-r--r--unodevtools/source/unodevtools/typeblob.cxx12
1 files changed, 9 insertions, 3 deletions
diff --git a/unodevtools/source/unodevtools/typeblob.cxx b/unodevtools/source/unodevtools/typeblob.cxx
index 521863da9625..a09194e4770e 100644
--- a/unodevtools/source/unodevtools/typeblob.cxx
+++ b/unodevtools/source/unodevtools/typeblob.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: typeblob.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: vg $ $Date: 2006-03-15 09:21:43 $
+ * last change: $Author: hr $ $Date: 2006-06-20 00:51:33 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -137,7 +137,10 @@ void writeConstantData(typereg::Writer& rWriter, sal_uInt16 fieldIndex,
constValue.m_type = RT_TYPE_STRING;
constValue.m_value.aString = ((OUString*)aConstantAny.getValue())->getStr();
}
- break;
+ break;
+ default:
+ OSL_ENSURE( 0, "unsupported constant type" );
+ break;
}
rWriter.setFieldData(fieldIndex, OUString(), OUString(), RT_ACCESS_CONST,
@@ -797,6 +800,9 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
rtl_copyMemory(pBlob, p, *blobsize);
}
break;
+ default:
+ OSL_ENSURE( 0, "unsupported type" );
+ break;
}
return pBlob;