summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2024-03-07 22:51:51 +0100
committerThorsten Behrens <thorsten.behrens@allotropia.de>2024-03-08 04:33:29 +0100
commit9476f5ae4bff9817b9e699f7abea5690ec7ffd87 (patch)
treefecec576b9c203770a449237fceadb9ec1a08ab6 /sd
parentff113b34dd6f54765995440cbedd27483fadb844 (diff)
tdf#160071 Don't clone formatting to whole boxes
when clicking into an empty area of that box Change-Id: I383f1584f446e29454eda2177c8bae0f6587e42d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164555 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/func/fuformatpaintbrush.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/sd/source/ui/func/fuformatpaintbrush.cxx b/sd/source/ui/func/fuformatpaintbrush.cxx
index 89eecc13f989..d66e00466072 100644
--- a/sd/source/ui/func/fuformatpaintbrush.cxx
+++ b/sd/source/ui/func/fuformatpaintbrush.cxx
@@ -145,13 +145,6 @@ bool FuFormatPaintBrush::MouseButtonDown(const MouseEvent& rMEvt)
}
unmarkimpl( mpView );
-
- if (aVEvt.mpObj)
- {
- sal_uInt16 nHitLog = sal_uInt16 ( mpWindow->PixelToLogic(Size(HITPIX,0)).Width() );
- mpView->MarkObj(mpWindow->PixelToLogic( rMEvt.GetPosPixel() ), nHitLog, false/*bToggle*/);
- return true;
- }
}
return false;
}