[Libreoffice-commits] core.git: vbahelper/source
Tor Lillqvist
tml at collabora.com
Tue Jun 5 11:00:49 UTC 2018
vbahelper/source/vbahelper/vbaapplicationbase.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7ae3c8648af4f38f62a98c0910056d2529bb332d
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 d550731cc89f..90accd2b32eb 100644
--- a/vbahelper/source/vbahelper/vbaapplicationbase.cxx
+++ b/vbahelper/source/vbahelper/vbaapplicationbase.cxx
@@ -183,7 +183,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