summaryrefslogtreecommitdiff
path: root/svx/source/xml/xmleohlp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/xml/xmleohlp.cxx')
-rw-r--r--svx/source/xml/xmleohlp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/xml/xmleohlp.cxx b/svx/source/xml/xmleohlp.cxx
index 9f51875daee5..a5777797e73f 100644
--- a/svx/source/xml/xmleohlp.cxx
+++ b/svx/source/xml/xmleohlp.cxx
@@ -748,9 +748,9 @@ Type SAL_CALL SvXMLEmbeddedObjectHelper::getElementType()
{
MutexGuard aGuard( maMutex );
if( EMBEDDEDOBJECTHELPER_MODE_READ == meCreateMode )
- return ::getCppuType((const Reference<XOutputStream>*)0);
+ return cppu::UnoType<XOutputStream>::get();
else
- return ::getCppuType((const Reference<XInputStream>*)0);
+ return cppu::UnoType<XInputStream>::get();
}
sal_Bool SAL_CALL SvXMLEmbeddedObjectHelper::hasElements()