[Libreoffice-commits] core.git: sc/source

Mike Kaganski (via logerrit) logerrit at kemper.freedesktop.org
Fri Jul 23 15:25:08 UTC 2021


 sc/source/core/data/drwlayer.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 612d5b1a04fe022a34018d901bb9b052791d54e5
Author:     Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Fri Jul 23 16:30:21 2021 +0200
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Fri Jul 23 17:24:32 2021 +0200

    We already have this value
    
    Change-Id: I1d94986acaa9bcd559e34ba1af880c4a06772c38
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119271
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx
index 551b3c7db899..8d4593992e06 100644
--- a/sc/source/core/data/drwlayer.cxx
+++ b/sc/source/core/data/drwlayer.cxx
@@ -1545,7 +1545,7 @@ void ScDrawLayer::DeleteObjectsInArea( SCTAB nTab, SCCOL nCol1,SCROW nRow1,
 
     size_t nDelCount = 0;
     tools::Rectangle aDelRect = pDoc->GetMMRect( nCol1, nRow1, nCol2, nRow2, nTab );
-    tools::Rectangle aDelCircle = pDoc->GetMMRect( nCol1, nRow1, nCol2, nRow2, nTab );
+    tools::Rectangle aDelCircle = aDelRect;
     aDelCircle.AdjustLeft(-250);
     aDelCircle.AdjustRight(250);
     aDelCircle.AdjustTop(-70);


More information about the Libreoffice-commits mailing list