diff options
-rw-r--r-- | linguistic/source/lngopt.cxx | 6 | ||||
-rw-r--r-- | linguistic/source/lngopt.hxx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/linguistic/source/lngopt.cxx b/linguistic/source/lngopt.cxx index 517117306a86..f176735f37cf 100644 --- a/linguistic/source/lngopt.cxx +++ b/linguistic/source/lngopt.cxx @@ -192,14 +192,14 @@ LinguProps::LinguProps() : void LinguProps::launchEvent( const PropertyChangeEvent &rEvt ) const { - comphelper::OInterfaceContainerHelper2 *pContainer = + comphelper::OInterfaceContainerHelper3<XPropertyChangeListener> *pContainer = aPropListeners.getContainer( rEvt.PropertyHandle ); if (pContainer) { - comphelper::OInterfaceIteratorHelper2 aIt( *pContainer ); + comphelper::OInterfaceIteratorHelper3 aIt( *pContainer ); while (aIt.hasMoreElements()) { - static_cast< XPropertyChangeListener* >( aIt.next() )->propertyChange( rEvt ); + aIt.next()->propertyChange( rEvt ); } } } diff --git a/linguistic/source/lngopt.hxx b/linguistic/source/lngopt.hxx index effd2e8cb790..b21ea631cc19 100644 --- a/linguistic/source/lngopt.hxx +++ b/linguistic/source/lngopt.hxx @@ -23,7 +23,7 @@ #include <cppuhelper/implbase.hxx> #include <cppuhelper/interfacecontainer.hxx> #include <comphelper/interfacecontainer3.hxx> -#include <comphelper/multiinterfacecontainer2.hxx> +#include <comphelper/multiinterfacecontainer3.hxx> #include <com/sun/star/beans/XFastPropertySet.hpp> #include <com/sun/star/beans/XPropertyAccess.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> @@ -60,7 +60,7 @@ public: GetActiveDics() const { return pData->aActiveDics; } }; -typedef comphelper::OMultiTypeInterfaceContainerHelperVar2<sal_Int32> +typedef comphelper::OMultiTypeInterfaceContainerHelperVar3<css::beans::XPropertyChangeListener, sal_Int32> OPropertyListenerContainerHelper; class LinguProps : |