diff options
Diffstat (limited to 'comphelper/source/property/propertystatecontainer.cxx')
-rw-r--r-- | comphelper/source/property/propertystatecontainer.cxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/comphelper/source/property/propertystatecontainer.cxx b/comphelper/source/property/propertystatecontainer.cxx index 833cf0f3da34..3a1ed18a0e7e 100644 --- a/comphelper/source/property/propertystatecontainer.cxx +++ b/comphelper/source/property/propertystatecontainer.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -60,7 +60,7 @@ namespace comphelper //= OPropertyStateContainer //===================================================================== //--------------------------------------------------------------------- - OPropertyStateContainer::OPropertyStateContainer( ::cppu::OBroadcastHelper& _rBHelper ) + OPropertyStateContainer::OPropertyStateContainer( ::cppu::OBroadcastHelper& _rBHelper ) :OPropertyContainer( _rBHelper ) { } @@ -121,10 +121,10 @@ namespace comphelper PropertyState* pStates = aStates.getArray(); cppu::IPropertyArrayHelper& rHelper = getInfoHelper(); - Sequence< Property> aAllProperties = rHelper.getProperties(); - sal_Int32 nAllProperties = aAllProperties.getLength(); - const Property* pAllProperties = aAllProperties.getConstArray(); - const Property* pAllPropertiesEnd = pAllProperties + nAllProperties; + Sequence< Property> aAllProperties = rHelper.getProperties(); + sal_Int32 nAllProperties = aAllProperties.getLength(); + const Property* pAllProperties = aAllProperties.getConstArray(); + const Property* pAllPropertiesEnd = pAllProperties + nAllProperties; osl::MutexGuard aGuard( rBHelper.rMutex ); for ( ; ( pAllProperties != pAllPropertiesEnd ) && ( pLookup != pLookupEnd ); ++pAllProperties ) @@ -191,7 +191,7 @@ namespace comphelper } //......................................................................... -} // namespace comphelper +} // namespace comphelper //......................................................................... #ifdef FS_PRIV_DEBUG @@ -214,16 +214,16 @@ namespace comphelper //===================================================================== //= Test - compiler test //===================================================================== - typedef ::cppu::OWeakAggObject Test_RefCountBase; - class Test :public OMutexAndBroadcastHelper + typedef ::cppu::OWeakAggObject Test_RefCountBase; + class Test :public OMutexAndBroadcastHelper ,public OPropertyStateContainer ,public OPropertyArrayUsageHelper< Test > ,public Test_RefCountBase { private: - ::rtl::OUString m_sStringProperty; - Reference< XInterface > m_xInterfaceProperty; - Any m_aMayBeVoidProperty; + ::rtl::OUString m_sStringProperty; + Reference< XInterface > m_xInterfaceProperty; + Any m_aMayBeVoidProperty; protected: Test( ); @@ -333,7 +333,7 @@ namespace comphelper } //......................................................................... -} // namespace comphelper +} // namespace comphelper //......................................................................... #endif |