summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2020-02-24 16:04:37 +0300
committerMichael Meeks <michael.meeks@collabora.com>2020-05-27 22:13:51 +0100
commit4d9bd71951bbcff9f5a5b5107898c86e23e0247d (patch)
tree62aa2a6a3f6b47d1ca11611b5359022b44feb856
parentb5a522a0d52db3974caf7ff2fe07c0dc41373fc9 (diff)
lok: Create Text boxes directly
Change-Id: I281d4648d0e91f74d6f0f5880945d8e7e8659efe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89344 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89709 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
-rw-r--r--desktop/source/lib/init.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 57227e377cc8..b4eea5068bd4 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3780,6 +3780,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")