diff options
Diffstat (limited to 'sc/source/ui/vba/vbawindow.cxx')
-rw-r--r-- | sc/source/ui/vba/vbawindow.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbawindow.cxx b/sc/source/ui/vba/vbawindow.cxx index 2c860eadcf86..c9847e6d523d 100644 --- a/sc/source/ui/vba/vbawindow.cxx +++ b/sc/source/ui/vba/vbawindow.cxx @@ -192,7 +192,8 @@ ScVbaWindow::ScVbaWindow( const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< frame::XModel >& xModel, const uno::Reference< frame::XController >& xController ) : - WindowImpl_BASE( xParent, xContext, xModel, xController ) + WindowImpl_BASE( xParent, xContext, xController ), + m_xModel(xModel) { init(); } @@ -200,7 +201,8 @@ ScVbaWindow::ScVbaWindow( ScVbaWindow::ScVbaWindow( const uno::Sequence< uno::Any >& args, const uno::Reference< uno::XComponentContext >& xContext ) : - WindowImpl_BASE( args, xContext ) + WindowImpl_BASE( args, xContext ), + m_xModel(getXSomethingFromArgs< frame::XModel >( args, 1, false )) { init(); } |