summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.com>2020-02-21 17:02:32 +0530
committerDennis Francis <dennisfrancis.in@gmail.com>2020-05-26 23:17:25 +0530
commit5b9ffb24f2dd195b04bc80220c5f70d509e81390 (patch)
treecf080c2983a823fb3e1c90c24081623200448032 /chart2
parentb8feba385fda1d079f9b24a835172caeff23e4d2 (diff)
Remove unused lokit-only selection properties in..
CID string for charts. This is messing up the parsing of CID string in ObjectIdentifier::getObjectType() and elsewhere where parsing CID is attempted, which inturn causes at least the sidebar's chart line properties listboxes not getting updated. The selection properties insertion in chart CID was introduced in commit 3d705b98ca7f40a44f632f5565407274322ffde3 but these are not even used in online as of present. Change-Id: Ic8040d84e1ad16f182fc7bdc3a9f533ad9664458 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89300 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit eea0bc558fc1ac8d5c1537df2cf95f73720f3620) Conflicts: chart2/source/controller/main/ChartController_Window.cxx
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/main/ChartController_Window.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx
index 46de790c4f68..396b5ab69a88 100644
--- a/chart2/source/controller/main/ChartController_Window.cxx
+++ b/chart2/source/controller/main/ChartController_Window.cxx
@@ -1691,17 +1691,6 @@ uno::Any SAL_CALL ChartController::getSelection()
OUString aCID( m_aSelection.getSelectedCID() );
if ( !aCID.isEmpty() )
{
- if ( comphelper::LibreOfficeKit::isActive() )
- {
- sal_Int32 nPos = aCID.lastIndexOf('/');
- OUString sFirst = aCID.copy(0, nPos);
- OUString sSecond = aCID.copy(nPos);
- aCID = sFirst +
- "/Draggable=" + OUString::number(static_cast<int>(isSelectedObjectDraggable())) +
- ":Resizable=" + OUString::number(static_cast<int>(isSelectedObjectResizable())) +
- ":Rotatable=" + OUString::number(static_cast<int>(isSelectedObjectRotatable())) +
- sSecond;
- }
aReturn <<= aCID;
}
else