summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-07-23 16:30:21 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2021-07-23 17:24:32 +0200
commit612d5b1a04fe022a34018d901bb9b052791d54e5 (patch)
tree0aeb7a7835dba35a30763cd0eb259715126febac /sc
parentafff3bf81f1908b2d4a7068b4862fd1f19440383 (diff)
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@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/drwlayer.cxx2
1 files changed, 1 insertions, 1 deletions
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);