chart2/source/controller/main/ChartController_Window.cxx | 11 ----------- 1 file changed, 11 deletions(-)
New commits: commit 88aadbaf9f28c4c0b78f70dc23911f085f158280 Author: Dennis Francis <dennis.fran...@collabora.com> AuthorDate: Fri Feb 21 17:02:32 2020 +0530 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Fri Feb 28 15:07:11 2020 +0100 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 <jenkinscollaboraoff...@gmail.com> Reviewed-by: Andras Timar <andras.ti...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89697 Tested-by: Jenkins diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx index c7b753dda1dc..e7b999eb604e 100644 --- a/chart2/source/controller/main/ChartController_Window.cxx +++ b/chart2/source/controller/main/ChartController_Window.cxx @@ -1693,17 +1693,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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits