summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/propertyhandler.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2005-02-24 13:42:44 +0000
committerVladimir Glazounov <vg@openoffice.org>2005-02-24 13:42:44 +0000
commit079ef5ec23345d9f4bcc44163b7b748c7d4097ce (patch)
tree09409dd2f34427b240209e9c310283deb3e464d2 /extensions/source/propctrlr/propertyhandler.cxx
parent3436139ea5546e3f6312ee5e0dfa549c6cf44a88 (diff)
INTEGRATION: CWS cmcfixes2 (1.2.54); FILE MERGED
2005/02/14 18:01:39 cmc 1.2.54.1: #i42421# iter != pointer
Diffstat (limited to 'extensions/source/propctrlr/propertyhandler.cxx')
-rw-r--r--extensions/source/propctrlr/propertyhandler.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/extensions/source/propctrlr/propertyhandler.cxx b/extensions/source/propctrlr/propertyhandler.cxx
index b2e3089181df..fcd6b0133924 100644
--- a/extensions/source/propctrlr/propertyhandler.cxx
+++ b/extensions/source/propctrlr/propertyhandler.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: propertyhandler.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: obo $ $Date: 2004-11-16 12:11:27 $
+ * last change: $Author: vg $ $Date: 2005-02-24 14:42:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -58,7 +58,6 @@
*
*
************************************************************************/
-
#ifndef EXTENSIONS_SOURCE_PROPCTRLR_PROPERTYHANDLER_HXX
#include "propertyhandler.hxx"
#endif
@@ -255,7 +254,7 @@ namespace pcr
FindPropertyByHandle( _nPropId )
);
if ( pFound != m_aSupportedProperties.end() )
- return pFound;
+ return &(*pFound);
return NULL;
}
@@ -270,8 +269,8 @@ namespace pcr
m_aSupportedProperties.end(),
FindPropertyByHandle( _nPropId )
);
- OSL_ENSURE( pProp, "PropertyHandler::changeTypeOfSupportedProperty: This property is not known!" );
- if ( pProp )
+ OSL_ENSURE( pProp != m_aSupportedProperties.end(), "PropertyHandler::changeTypeOfSupportedProperty: This property is not known!" );
+ if ( pProp != m_aSupportedProperties.end() )
pProp->Type = _rNewType;
}