desktop/source/lib/init.cxx | 4 ++++ 1 file changed, 4 insertions(+) New commits: commit 2b6f2fe5ba4d85310ce76f7f783889c566a8d299 Author: Muhammet Kara <muhammet.k...@collabora.com> AuthorDate: Mon Feb 24 16:04:37 2020 +0300 Commit: Muhammet Kara <muhammet.k...@collabora.com> CommitDate: Mon Feb 24 17:22:23 2020 +0100
lok: Create Text boxes directly Change-Id: I281d4648d0e91f74d6f0f5880945d8e7e8659efe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89344 Reviewed-by: Jan Holesovsky <ke...@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 40abb74cd060..d64e827e006a 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -3639,6 +3639,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") _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits