From a20c2f455885f9e2c95b2689c2a63c81591dbaa2 Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Mon, 19 Jun 2006 23:51:33 +0000
Subject: 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
---
unodevtools/source/unodevtools/typeblob.cxx | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
(limited to 'unodevtools')
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;
--
cgit