diff options
author | Muhammet Kara <muhammet.kara@collabora.com> | 2020-02-24 16:04:37 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2020-03-01 10:29:57 +0100 |
commit | 78b27dfa7022001de407b23002b202d01d219e1f (patch) | |
tree | c8b56ed802dc9dc648a2bb554d64c1f738faf3ae /desktop | |
parent | c1dae35c1eaa58159a8a76efdeecf70c1d01e550 (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>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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") |