svx/source/svdraw/svdmrkv.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 4ea5f5beb0089fb76e9ef1469e5e8eedeb54554f
Author:     Rashesh <rashesh.pa...@collabora.com>
AuthorDate: Wed Feb 5 17:07:07 2025 +0530
Commit:     Gökay ŞATIR <gokaysa...@collabora.com>
CommitDate: Mon Feb 17 10:35:22 2025 +0100

    sw: lokit: add new `isCropMode` property to LOK_CALLBACK_TEXT_VIEW_SELECTION
    
    Change-Id: I788d0b56bfba2c150401a906c7442652e50da58e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181160
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Gökay ŞATIR <gokaysa...@collabora.com>
    (cherry picked from commit 63c7d4b73faf346f84d664f4ecd1dcd1e430750d)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181661
    Tested-by: Jenkins

diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx
index 0e24fe898e3f..5c9db14b5402 100644
--- a/svx/source/svdraw/svdmrkv.cxx
+++ b/svx/source/svdraw/svdmrkv.cxx
@@ -985,6 +985,9 @@ void SdrMarkView::SetMarkHandlesForLOKit(tools::Rectangle 
const & rRect, const S
                     + OString::number(p.getY()));
             }
 
+            if (meDragMode == SdrDragMode::Crop)
+                aExtraInfo.append(", \"isCropMode\": true");
+
             if (bWriterGraphic)
             {
                 aExtraInfo.append(", \"isWriterGraphic\": true");

Reply via email to