diff options
author | Dennis Francis <dennis.francis@collabora.com> | 2020-02-21 17:02:32 +0530 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-02-24 14:13:29 +0100 |
commit | eea0bc558fc1ac8d5c1537df2cf95f73720f3620 (patch) | |
tree | 3ab30866abd85c94ea7a0d2e86a9cc7ebdb88985 /chart2 | |
parent | 9a80969f3115fc33778005861442f91127344dc0 (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>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/main/ChartController_Window.cxx | 11 |
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 e3d65bd670d7..8cd01a2e1e09 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; - aCID += "/Draggable=" + OUString::number(static_cast<int>(isSelectedObjectDraggable())); - aCID += ":Resizable=" + OUString::number(static_cast<int>(isSelectedObjectResizable())); - aCID += ":Rotatable=" + OUString::number(static_cast<int>(isSelectedObjectRotatable())); - aCID += sSecond; - } aReturn <<= aCID; } else |