svx/source/svdraw/svdmrkv.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit 2149960b862b83ff7678ce3cba37c226269edbd9
Author: Dr. David Alan Gilbert <[email protected]>
AuthorDate: Sun Jan 24 03:05:43 2021 +0000
Commit: Noel Grandin <[email protected]>
CommitDate: Sun Jan 24 17:21:47 2021 +0100
SdrMarkView::SetMarkHandles Merge identical if's
Two neighbouring if's spotted by cppcheck with identical conditions;
squash.
Change-Id: I0b8822991564b994a9c908b28dcf3f2636bb68be
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109852
Tested-by: Jenkins
Reviewed-by: Noel Grandin <[email protected]>
diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx
index dcb8c6037f1b..446020ef48d5 100644
--- a/svx/source/svdraw/svdmrkv.cxx
+++ b/svx/source/svdraw/svdmrkv.cxx
@@ -1092,10 +1092,6 @@ void SdrMarkView::SetMarkHandles(SfxViewShell*
pOtherShell)
if (!bLimitedRotation && !bWdt0)
{
maHdlList.AddHdl(std::make_unique<SdrHdl>(aRect.LeftCenter(), SdrHdlKind::Left
));
- }
-
- if (!bLimitedRotation && !bWdt0)
- {
maHdlList.AddHdl(std::make_unique<SdrHdl>(aRect.RightCenter(),
SdrHdlKind::Right));
}
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits