[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - svx/source
Henry Castro (via logerrit)
logerrit at kemper.freedesktop.org
Tue Feb 4 21:39:17 UTC 2020
svx/source/svdraw/svdmrkv.cxx | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
New commits:
commit 62aa2480090595b9cae53faa0a636c08f4f49bb6
Author: Henry Castro <hcastro at collabora.com>
AuthorDate: Tue Feb 4 15:05:09 2020 -0400
Commit: Henry Castro <hcastro at collabora.com>
CommitDate: Tue Feb 4 22:38:49 2020 +0100
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 <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Henry Castro <hcastro at collabora.com>
diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx
index bd19e90cfc5c..8c23ae2b114d 100644
--- a/svx/source/svdraw/svdmrkv.cxx
+++ b/svx/source/svdraw/svdmrkv.cxx
@@ -851,9 +851,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)
{
@@ -985,7 +986,7 @@ void SdrMarkView::SetMarkHandles(SfxViewShell* pOtherShell)
}
}
}
- aExtraInfo.append(" }");
+ aExtraInfo.append("}");
sSelectionText = aSelection.toString();
sSelectionText += OString(", ") + OString::number(nRotAngle);
More information about the Libreoffice-commits
mailing list