sc/source/ui/drawfunc/fuins2.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 91c586e10c816340523bf1c4df910dd2538c9fee Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Thu Oct 10 10:35:38 2019 +0200 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Thu Oct 10 13:27:26 2019 +0200 Don't show chart wizard on mobile Change-Id: Ic4c65293462d56e1ecedcaaad71575f50b6c1dba Reviewed-on: https://gerrit.libreoffice.org/80592 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Szymon Kłos <szymon.k...@collabora.com> (cherry picked from commit 805ee5251c5ad92b0738f155a63694bc1ecd0f38) Reviewed-on: https://gerrit.libreoffice.org/80598 Tested-by: Jenkins diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx index 9123a8ecfc6b..beb43c0a4381 100644 --- a/sc/source/ui/drawfunc/fuins2.cxx +++ b/sc/source/ui/drawfunc/fuins2.cxx @@ -45,6 +45,8 @@ #include <comphelper/storagehelper.hxx> #include <comphelper/propertysequence.hxx> +#include <comphelper/lok.hxx> +#include <sfx2/lokhelper.hxx> #include <com/sun/star/embed/EmbedVerbs.hpp> #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/chart2/data/XDataReceiver.hpp> @@ -606,7 +608,7 @@ FuInsertChart::FuInsertChart(ScTabViewShell& rViewSh, vcl::Window* pWin, ScDrawV if( xChartModel.is() ) xChartModel->unlockControllers(); } - else + else if (!comphelper::LibreOfficeKit::isMobile(SfxLokHelper::getView())) { //the controller will be unlocked by the dialog when the dialog is told to do so _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits