diff options
author | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2024-03-07 22:51:51 +0100 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2024-03-08 04:33:29 +0100 |
commit | 9476f5ae4bff9817b9e699f7abea5690ec7ffd87 (patch) | |
tree | fecec576b9c203770a449237fceadb9ec1a08ab6 /sd | |
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>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/fuformatpaintbrush.cxx | 7 |
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; } |