[Libreoffice-commits] core.git: desktop/source

Muhammet Kara (via logerrit) logerrit at kemper.freedesktop.org
Sun Mar 1 09:30:34 UTC 2020


 desktop/source/lib/init.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 78b27dfa7022001de407b23002b202d01d219e1f
Author:     Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Mon Feb 24 16:04:37 2020 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Sun Mar 1 10:29:57 2020 +0100

    lok: Create Text boxes directly
    
    Change-Id: I281d4648d0e91f74d6f0f5880945d8e7e8659efe
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89344
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89709
    Tested-by: Jenkins
    Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 16f18e3434d9..31ca77f7d7bb 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3640,6 +3640,10 @@ static void doc_postUnoCommand(LibreOfficeKitDocument* pThis, const char* pComma
         ExecuteOrientationChange();
         return;
     }
+    else if (gImpl && aCommand == ".uno:Text")
+    {
+        aCommand = ".uno:Text?CreateDirectly:bool=true";
+    }
 
     // handle potential interaction
     if (gImpl && aCommand == ".uno:Save")


More information about the Libreoffice-commits mailing list