svx/source/svdraw/svdmrkv.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
New commits: commit ec9496b9ab2ca62c4522b883c2f3b4f669a91536 Author: Henry Castro <hcas...@collabora.com> AuthorDate: Tue Feb 4 15:05:09 2020 -0400 Commit: Henry Castro <hcas...@collabora.com> CommitDate: Thu May 21 00:38:42 2020 +0200 lok: add "type" information when a graphic is selected Change-Id: I67a36d3aabbc197d9ac8f6ca4509dafd6f2620f0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87989 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Henry Castro <hcas...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94512 Tested-by: Henry Castro <hcas...@collabora.com> diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx index a1806a13299e..1bbd669bab5d 100644 --- a/svx/source/svdraw/svdmrkv.cxx +++ b/svx/source/svdraw/svdmrkv.cxx @@ -844,9 +844,10 @@ void SdrMarkView::SetMarkHandles(SfxViewShell* pOtherShell) OStringBuffer aExtraInfo; - aExtraInfo.append("{ \"id\": \""); + aExtraInfo.append("{\"id\":\""); aExtraInfo.append(OString::number(reinterpret_cast<sal_IntPtr>(pO))); - aExtraInfo.append("\""); + aExtraInfo.append("\",\"type\":"); + aExtraInfo.append(OString::number(pO->GetObjIdentifier())); if (bWriterGraphic) { @@ -978,7 +979,7 @@ void SdrMarkView::SetMarkHandles(SfxViewShell* pOtherShell) } } } - aExtraInfo.append(" }"); + aExtraInfo.append("}"); sSelectionText = aSelection.toString() + ", " + OString::number(nRotAngle); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits