| commit | 9476f5ae4bff9817b9e699f7abea5690ec7ffd87 | [log] |
|---|---|---|
| author | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | Thu Mar 07 22:51:51 2024 +0100 |
| committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | Fri Mar 08 04:33:29 2024 +0100 |
| tree | fecec576b9c203770a449237fceadb9ec1a08ab6 | |
| parent | ff113b34dd6f54765995440cbedd27483fadb844 [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>
diff --git a/sd/source/ui/func/fuformatpaintbrush.cxx b/sd/source/ui/func/fuformatpaintbrush.cxx index 89eecc1..d66e004 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; }