remove an OSL_ENSURE because absence of value is valid in classes derived Sprm

This commit is contained in:
Fridrich Štrba 2007-05-04 13:21:31 +00:00
parent 1a7b81940d
commit 208975bbb7

View file

@ -4,9 +4,9 @@
*
* $RCSfile: DomainMapperTableManager.cxx,v $
*
* $Revision: 1.3 $
* $Revision: 1.4 $
*
* last change: $Author: fridrich_strba $ $Date: 2007-05-04 13:29:20 $
* last change: $Author: fridrich_strba $ $Date: 2007-05-04 14:21:31 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -75,7 +75,6 @@ bool DomainMapperTableManager::sprm(doctok::Sprm & rSprm)
bRet = true;
sal_uInt32 nId = rSprm.getId();
doctok::Value::Pointer_t pValue = rSprm.getValue();
OSL_ENSURE(pValue.get(), "no pointer to value");
sal_Int32 nIntValue = ((pValue.get() != NULL) ? pValue->getInt() : 0);
/* WRITERFILTERSTATUS: table: table_sprmdata */
switch( nId )