summaryrefslogtreecommitdiff
path: root/chart2/source/controller/main/ChartController_Window.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/main/ChartController_Window.cxx')
-rw-r--r--chart2/source/controller/main/ChartController_Window.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx
index 1d058138aa49..9a0c19544c70 100644
--- a/chart2/source/controller/main/ChartController_Window.cxx
+++ b/chart2/source/controller/main/ChartController_Window.cxx
@@ -82,6 +82,9 @@
#include <tools/diagnose_ex.h>
#include <sal/log.hxx>
+#include <comphelper/lok.hxx>
+#include <sfx2/lokhelper.hxx>
+
#define DRGPIX 2 // Drag MinMove in Pixel
using namespace ::com::sun::star;
@@ -924,6 +927,10 @@ void ChartController::execute_MouseButtonUp( const MouseEvent& rMEvt )
void ChartController::execute_DoubleClick( const Point* pMousePixel )
{
+ bool isMobile = comphelper::LibreOfficeKit::isMobile(SfxLokHelper::getView());
+ if (isMobile)
+ return;
+
bool bEditText = false;
if ( m_aSelection.hasSelection() )
{