diff options
Diffstat (limited to 'framework/source/helper/ocomponentaccess.cxx')
-rw-r--r-- | framework/source/helper/ocomponentaccess.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/helper/ocomponentaccess.cxx b/framework/source/helper/ocomponentaccess.cxx index 12206c14bfaf..67862b931620 100644 --- a/framework/source/helper/ocomponentaccess.cxx +++ b/framework/source/helper/ocomponentaccess.cxx @@ -81,7 +81,7 @@ Type SAL_CALL OComponentAccess::getElementType() throw( RuntimeException, std::e { // Elements in list an enumeration are components! // Return the uno-type of XComponent. - return ::getCppuType((const css::uno::Reference< XComponent >*)NULL); + return cppu::UnoType<XComponent>::get(); } // XElementAccess |