Kaydet (Commit) 947cab4e authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS eforms4 (1.2.16); FILE MERGED

2005/03/08 18:30:04 dvo 1.2.16.3: RESYNC: (1.2-1.3); FILE MERGED
2004/12/23 14:31:14 dvo 1.2.16.2: #i38666# remove PropertyHandler::changeTypeOfSupportedProperty
         (This function was introduced to deal with XSD type properties
          that had different types for different objects. This has now
          been fixed, so that the function is no longer necessary.)
2004/12/10 10:41:03 fs 1.2.16.1: #i36359# updateDependentProperties renamed to actuatingPropertyChanged, plus added a parameter indicating whether it's a real property change
üst 0d79603f
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: propertyhandler.cxx,v $ * $RCSfile: propertyhandler.cxx,v $
* *
* $Revision: 1.3 $ * $Revision: 1.4 $
* *
* last change: $Author: vg $ $Date: 2005-02-24 14:42:44 $ * last change: $Author: vg $ $Date: 2005-03-23 11:57:57 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -204,9 +204,9 @@ namespace pcr ...@@ -204,9 +204,9 @@ namespace pcr
} }
//-------------------------------------------------------------------- //--------------------------------------------------------------------
void SAL_CALL PropertyHandler::updateDependentProperties( PropertyId _nActuatingPropId, const Any& _rNewValue, const Any& _rOldValue, IPropertyBrowserUI* _pUpdater ) void SAL_CALL PropertyHandler::actuatingPropertyChanged( PropertyId _nActuatingPropId, const Any& _rNewValue, const Any& _rOldValue, IPropertyBrowserUI* _pUpdater, bool )
{ {
DBG_ERROR( "PropertyHandler::updateDependentProperties: not supported!" ); DBG_ERROR( "PropertyHandler::actuatingPropertyChanged: not supported!" );
// we did not return any properties in getActuatingProperties // we did not return any properties in getActuatingProperties
} }
...@@ -258,22 +258,6 @@ namespace pcr ...@@ -258,22 +258,6 @@ namespace pcr
return NULL; return NULL;
} }
//--------------------------------------------------------------------
void PropertyHandler::changeTypeOfSupportedProperty( const sal_Int32 _nPropId, const Type& _rNewType )
{
OSL_ENSURE( m_bSupportedPropertiesAreKnown, "PropertyHandler::changeTypeOfSupportedProperty: getSupportedProperties has never been called!" );
// if this asserts, and the caller has a valid reason, then simply call getSupportedProperties once
::std::vector< Property >::iterator pProp = ::std::find_if(
m_aSupportedProperties.begin(),
m_aSupportedProperties.end(),
FindPropertyByHandle( _nPropId )
);
OSL_ENSURE( pProp != m_aSupportedProperties.end(), "PropertyHandler::changeTypeOfSupportedProperty: This property is not known!" );
if ( pProp != m_aSupportedProperties.end() )
pProp->Type = _rNewType;
}
//-------------------------------------------------------------------- //--------------------------------------------------------------------
void PropertyHandler::implAddPropertyDescription( ::std::vector< Property >& _rProperties, const ::rtl::OUString& _rPropertyName, const Type& _rType, sal_Int16 _nAttribs ) const void PropertyHandler::implAddPropertyDescription( ::std::vector< Property >& _rProperties, const ::rtl::OUString& _rPropertyName, const Type& _rType, sal_Int16 _nAttribs ) const
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment