summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmlictxt.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/core/xmlictxt.cxx b/xmloff/source/core/xmlictxt.cxx
index 8e31d497ab8e..092b1845c18c 100644
--- a/xmloff/source/core/xmlictxt.cxx
+++ b/xmloff/source/core/xmlictxt.cxx
@@ -152,7 +152,8 @@ css::uno::Any SAL_CALL SvXMLImportContext::queryInterface( const css::uno::Type&
css::uno::Any a = ::cppu::queryInterface(
aType,
static_cast< XFastContextHandler* >(this),
- static_cast< XTypeProvider* >(this));
+ static_cast< XTypeProvider* >(this),
+ static_cast< css::uno::XInterface* >(static_cast< XFastContextHandler* >(this)));
return a;
}