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.
This commit is contained in:
Tor Lillqvist 2011-10-18 17:37:11 +03:00
parent ab988bf055
commit 93ea3566d2

View file

@ -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 *** ");