Kaydet (Commit) 89071bdb authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Also in getInteractive() we want to return true, not false, if no model

Change-Id: I6b2d24792a16e934f7386c235b7d0cd78300b2b3
Reviewed-on: https://gerrit.libreoffice.org/55328Reviewed-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
Tested-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
üst 7ae3c864
......@@ -239,7 +239,7 @@ sal_Bool SAL_CALL VbaApplicationBase::getInteractive()
{
uno::Reference< frame::XModel > xModel = getCurrentDocument();
if (!xModel.is())
return false;
return true;
uno::Reference< frame::XFrame > xFrame( xModel->getCurrentController()->getFrame(), uno::UNO_QUERY_THROW );
uno::Reference< awt::XWindow2 > xWindow( xFrame->getContainerWindow(), uno::UNO_QUERY_THROW );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment