sc/source/ui/drawfunc/fuins2.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 805ee5251c5ad92b0738f155a63694bc1ecd0f38 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 12:05:30 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> diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx index 5a34fc7a6917..ae42a4ee7693 100644 --- a/sc/source/ui/drawfunc/fuins2.cxx +++ b/sc/source/ui/drawfunc/fuins2.cxx @@ -49,6 +49,8 @@ #include <comphelper/processfactory.hxx> #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/XDataProvider.hpp> @@ -667,7 +669,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