[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - vbahelper/source
Tor Lillqvist
tml at collabora.com
Tue Jun 5 10:37:11 UTC 2018
vbahelper/source/vbahelper/vbaapplicationbase.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit dd2752ca7bbc4f230e6430a0a295ea6d1fadf6a4
Author: Tor Lillqvist <tml at collabora.com>
Date: Tue Jun 5 13:08:42 2018 +0300
We want screen updating when used from Automation with no current document yet
Change-Id: Iec831ef4b4bf47a58bc67b3beb924e75cd42434e
Reviewed-on: https://gerrit.libreoffice.org/55327
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
Tested-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/vbahelper/source/vbahelper/vbaapplicationbase.cxx b/vbahelper/source/vbahelper/vbaapplicationbase.cxx
index 9f27a0c7d839..e31476e4ddd2 100644
--- a/vbahelper/source/vbahelper/vbaapplicationbase.cxx
+++ b/vbahelper/source/vbahelper/vbaapplicationbase.cxx
@@ -184,7 +184,7 @@ VbaApplicationBase::getScreenUpdating()
{
uno::Reference< frame::XModel > xModel = getCurrentDocument();
if (!xModel.is())
- return false;
+ return true;
return !xModel->hasControllersLocked();
}
More information about the Libreoffice-commits
mailing list