[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - sc/source
Szymon Kłos (via logerrit)
logerrit at kemper.freedesktop.org
Thu Oct 10 10:06:10 UTC 2019
sc/source/ui/drawfunc/fuins2.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 805ee5251c5ad92b0738f155a63694bc1ecd0f38
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Thu Oct 10 10:35:38 2019 +0200
Commit: Szymon Kłos <szymon.klos at 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 <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos at 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
More information about the Libreoffice-commits
mailing list