summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-18 17:37:11 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-18 18:26:57 +0300
commit93ea3566d2d98a5eb2b6b3d8d315f4e0384ca1cc (patch)
tree2945da0459d0042923a471f4983f1bcdc6172bd6
parentab988bf0557e26a8e09c98a92295f26acaee7a50 (diff)
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.
-rw-r--r--sc/source/ui/vba/vbaworkbooks.cxx2
1 files changed, 1 insertions, 1 deletions
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 *** ");