summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-12-12 11:09:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-12-12 11:10:10 +0100
commit83e191e25da8a508a2dafad339c0ee58e97c5c8b (patch)
tree41ffadeda7fcf325b0d0bdd5764fe4bd7282319e /framework
parent7bf2f528ef22f50aa167ba57f2e25d4452977060 (diff)
Do not use C++-UNO internal static_type functions in client code
...use cppu::UnoType instead. Change-Id: I507914b30ef8acda910ee4ecc0589fd328eb6f31
Diffstat (limited to 'framework')
-rw-r--r--framework/source/fwe/interaction/preventduplicateinteraction.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/fwe/interaction/preventduplicateinteraction.cxx b/framework/source/fwe/interaction/preventduplicateinteraction.cxx
index 0ccb88d805f5..1a1d9831c65f 100644
--- a/framework/source/fwe/interaction/preventduplicateinteraction.cxx
+++ b/framework/source/fwe/interaction/preventduplicateinteraction.cxx
@@ -70,7 +70,7 @@ void PreventDuplicateInteraction::useDefaultUUIHandler()
css::uno::Any SAL_CALL PreventDuplicateInteraction::queryInterface( const css::uno::Type& aType )
throw (css::uno::RuntimeException)
{
- if ( aType.equals( XInteractionHandler2::static_type() ) )
+ if ( aType.equals( cppu::UnoType<XInteractionHandler2>::get() ) )
{
::osl::ResettableMutexGuard aLock(m_aLock);
css::uno::Reference< css::task::XInteractionHandler2 > xHandler( m_xHandler, css::uno::UNO_QUERY );