From 93ea3566d2d98a5eb2b6b3d8d315f4e0384ca1cc Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 18 Oct 2011 17:37:11 +0300 Subject: [PATCH] WaE: illegal copy-initialization warning C4928: illegal copy-initialization; more than one user-defined conversion has been implicitly applied. So use a variable of the correct type, should not affect the intent of the code. --- sc/source/ui/vba/vbaworkbooks.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc/source/ui/vba/vbaworkbooks.cxx b/sc/source/ui/vba/vbaworkbooks.cxx index 39f6f66db091..e513c22e9b69 100644 --- a/sc/source/ui/vba/vbaworkbooks.cxx +++ b/sc/source/ui/vba/vbaworkbooks.cxx @@ -82,7 +82,7 @@ getWorkbook( uno::Reference< uno::XComponentContext >& xContext, const uno::Refe if ( pShell ) { String sCodeName = pShell->GetDocument()->GetCodeName(); - uno::Reference< uno::XInterface > xIf = getUnoDocModule( sCodeName, pShell ); + uno::Reference< XHelperInterface > xIf = getUnoDocModule( sCodeName, pShell ); if ( xIf.is() ) { OSL_TRACE(" *** Returning Module uno Object *** ");