[Libreoffice-commits] core.git: svx/source
Muhammet Kara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Dec 13 14:03:18 UTC 2019
svx/source/sidebar/possize/PosSizePropertyPanel.cxx | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
New commits:
commit 5f76964e52860330bd840184f310010f8f1f0faf
Author: Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Tue Nov 26 14:56:17 2019 +0300
Commit: Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Fri Dec 13 15:02:31 2019 +0100
Enable edit chart button on desktop and web
Change-Id: Iad98ff3e0b7f3cc6608a119134ce3595dd921e58
Reviewed-on: https://gerrit.libreoffice.org/83755
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/85092
Tested-by: Jenkins
diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
index 036ce3fad157..0dfc8a5b0c07 100644
--- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
+++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
@@ -276,7 +276,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())
{
@@ -303,15 +302,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):
More information about the Libreoffice-commits
mailing list