summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2019-11-26 14:56:17 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2019-11-26 18:33:44 +0100
commit9a62f351f346913fbbd7bacdeb0ae67eaebaa15d (patch)
tree8183ed40a7ca60139d5a9d3570d730c6bc74b468 /svx
parentfa183dcb5c5852df6acb51196e5837780235af9d (diff)
Enable edit chart button on desktop and web
Change-Id: Iad98ff3e0b7f3cc6608a119134ce3595dd921e58 Reviewed-on: https://gerrit.libreoffice.org/83755 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/possize/PosSizePropertyPanel.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
index c6b5ccecc72c..36d13b1d843f 100644
--- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
+++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
@@ -289,7 +289,6 @@ void PosSizePropertyPanel::HandleContextChange(
bool bShowAngle = false;
bool bShowFlip = false;
bool bShowEditChart = false;
- bool bIsMobile = comphelper::LibreOfficeKit::isActive() && comphelper::LibreOfficeKit::isMobile(SfxLokHelper::getView());
switch (maContext.GetCombinedContext_DI())
{
@@ -316,15 +315,13 @@ void PosSizePropertyPanel::HandleContextChange(
break;
case CombinedEnumContext(Application::WriterVariants, Context::OLE):
- if (bIsMobile)
- bShowEditChart = true;
+ bShowEditChart = true;
break;
case CombinedEnumContext(Application::Calc, Context::OLE):
case CombinedEnumContext(Application::DrawImpress, Context::OLE):
bShowPosition = true;
- if (bIsMobile)
- bShowEditChart = true;
+ bShowEditChart = true;
break;
case CombinedEnumContext(Application::Calc, Context::Chart):