From 5797d29e9ead0a3dd181b616dfcc968a9127012d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 2 Nov 2015 10:04:55 +0200 Subject: use uno::Reference::set method instead of assignment Change-Id: Ic979f8a7734d0ef7a915d47a875cdcd460c0cc58 --- framework/source/dispatch/interceptionhelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/source/dispatch/interceptionhelper.cxx') diff --git a/framework/source/dispatch/interceptionhelper.cxx b/framework/source/dispatch/interceptionhelper.cxx index 44124da8237c..ad707f3a6aaf 100644 --- a/framework/source/dispatch/interceptionhelper.cxx +++ b/framework/source/dispatch/interceptionhelper.cxx @@ -106,7 +106,7 @@ void SAL_CALL InterceptionHelper::registerDispatchProviderInterceptor(const css: // If no list exist register these interceptor for all dispatch events with "*"! InterceptorInfo aInfo; - aInfo.xInterceptor = css::uno::Reference< css::frame::XDispatchProvider >(xInterceptor, css::uno::UNO_QUERY); + aInfo.xInterceptor.set(xInterceptor, css::uno::UNO_QUERY); css::uno::Reference< css::frame::XInterceptorInfo > xInfo(xInterceptor, css::uno::UNO_QUERY); if (xInfo.is()) aInfo.lURLPattern = xInfo->getInterceptedURLs(); -- cgit