sd/source/ui/func/fuformatpaintbrush.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit 9476f5ae4bff9817b9e699f7abea5690ec7ffd87
Author:     Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de>
AuthorDate: Thu Mar 7 22:51:51 2024 +0100
Commit:     Thorsten Behrens <thorsten.behr...@allotropia.de>
CommitDate: Fri Mar 8 04:33:29 2024 +0100

    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.behr...@allotropia.de>

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;
 }

Reply via email to