summaryrefslogtreecommitdiff
path: root/ucbhelper/inc/ucbhelper/macros.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucbhelper/inc/ucbhelper/macros.hxx')
-rw-r--r--ucbhelper/inc/ucbhelper/macros.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/ucbhelper/inc/ucbhelper/macros.hxx b/ucbhelper/inc/ucbhelper/macros.hxx
index 93f562f7fabb..386f8f1909ba 100644
--- a/ucbhelper/inc/ucbhelper/macros.hxx
+++ b/ucbhelper/inc/ucbhelper/macros.hxx
@@ -27,6 +27,7 @@
#include <cppuhelper/typeprovider.hxx>
#include "osl/mutex.hxx"
+#include "ucbhelper/getcomponentcontext.hxx"
//=========================================================================
@@ -664,7 +665,7 @@ Class##_CreateInstance( const com::sun::star::uno::Reference< \
throw( com::sun::star::uno::Exception ) \
{ \
com::sun::star::lang::XServiceInfo* pX = \
- (com::sun::star::lang::XServiceInfo*)new Class( comphelper::getComponentContext(rSMgr) ); \
+ (com::sun::star::lang::XServiceInfo*)new Class( ucbhelper::getComponentContext(rSMgr) ); \
return com::sun::star::uno::Reference< \
com::sun::star::uno::XInterface >::query( pX ); \
}