diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-01-15 13:45:06 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-01-15 13:45:06 +0000 |
commit | 9a281b1fb970eee692bf8bf559426641fb09b123 (patch) | |
tree | 5d0467a935473a4979573dcf5f16f498451dc27c /comphelper/source | |
parent | 9e68b85c907ba354ed30d5af7c204914911241b1 (diff) |
INTEGRATION: CWS dba22b (1.10.36); FILE MERGED
2006/12/13 10:03:33 fs 1.10.36.1: #i72527# OSL_ASSURE( <string_constant> ) is meaningless
Diffstat (limited to 'comphelper/source')
-rw-r--r-- | comphelper/source/property/propertycontainerhelper.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/comphelper/source/property/propertycontainerhelper.cxx b/comphelper/source/property/propertycontainerhelper.cxx index 7a8298a850fc..f38321debab9 100644 --- a/comphelper/source/property/propertycontainerhelper.cxx +++ b/comphelper/source/property/propertycontainerhelper.cxx @@ -4,9 +4,9 @@ * * $RCSfile: propertycontainerhelper.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: obo $ $Date: 2006-09-17 17:18:50 $ + * last change: $Author: vg $ $Date: 2007-01-15 14:45:06 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -281,7 +281,7 @@ sal_Bool OPropertyContainerHelper::convertFastPropertyValue( PropertiesIterator aPos = searchHandle(_nHandle); if (aPos == m_aProperties.end()) { - OSL_ASSERT("OPropertyContainerHelper::convertFastPropertyValue: unknown handle !"); + OSL_ENSURE( false, "OPropertyContainerHelper::convertFastPropertyValue: unknown handle!" ); // should not happen if the derived class has built a correct property set info helper to be used by // our base class OPropertySetHelper return bModified; @@ -425,7 +425,7 @@ void OPropertyContainerHelper::setFastPropertyValue(sal_Int32 _nHandle, const An PropertiesIterator aPos = searchHandle(_nHandle); if (aPos == m_aProperties.end()) { - OSL_ASSERT("OPropertyContainerHelper::setFastPropertyValue: unknown handle !"); + OSL_ENSURE( false, "OPropertyContainerHelper::setFastPropertyValue: unknown handle!" ); // should not happen if the derived class has built a correct property set info helper to be used by // our base class OPropertySetHelper return; @@ -467,7 +467,7 @@ void OPropertyContainerHelper::getFastPropertyValue(Any& _rValue, sal_Int32 _nHa PropertiesIterator aPos = const_cast<OPropertyContainerHelper*>(this)->searchHandle(_nHandle); if (aPos == m_aProperties.end()) { - OSL_ASSERT("OPropertyContainerHelper::getFastPropertyValue: unknown handle !"); + OSL_ENSURE( false, "OPropertyContainerHelper::getFastPropertyValue: unknown handle!" ); // should not happen if the derived class has built a correct property set info helper to be used by // our base class OPropertySetHelper return; @@ -527,7 +527,7 @@ void OPropertyContainerHelper::modifyAttributes(sal_Int32 _nHandle, sal_Int32 _n PropertiesIterator aPos = searchHandle(_nHandle); if (aPos == m_aProperties.end()) { - OSL_ASSERT("OPropertyContainerHelper::modifyAttributes: invalid handle !"); + OSL_ENSURE( false, "OPropertyContainerHelper::modifyAttributes: unknown handle!" ); // should not happen if the derived class has built a correct property set info helper to be used by // our base class OPropertySetHelper return; |