summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 *** ");