vbahelper/source/vbahelper/vbaapplicationbase.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7ae3c8648af4f38f62a98c0910056d2529bb332d
Author: Tor Lillqvist <[email protected]>
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 <[email protected]>
    Tested-by: Michael Meeks <[email protected]>

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();
 }
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to