diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-08-03 12:13:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-08-03 18:05:01 +0200 |
commit | 2d4d95e7fe13bdf6eb50e01081c93dfe7a963f23 (patch) | |
tree | 9ffca1566f78e1b82a47a0a7fecd8309f86ef3da /reportdesign | |
parent | 2b30d37bd555188733a006e1a5796461ab11d326 (diff) |
tdf#144072 Base crash when 2 fields selected in reportbuilder..
from different sections and width is adjusted 2nd time
Change-Id: Id627a222a8c485fcd0458b4b9109fed7f2292ce1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155284
Reviewed-by: Patrick Luby <plubius@neooffice.org>
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/report/ViewsWindow.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/reportdesign/source/ui/report/ViewsWindow.cxx b/reportdesign/source/ui/report/ViewsWindow.cxx index e11735bf72ca..7f48de10b08d 100644 --- a/reportdesign/source/ui/report/ViewsWindow.cxx +++ b/reportdesign/source/ui/report/ViewsWindow.cxx @@ -1044,6 +1044,13 @@ void OViewsWindow::BegDragObj(const Point& _aPnt, SdrHdl* _pHdl,const OSectionVi << aRect.Top() << " on View #" << nViewCount); BegDragObj_createInvisibleObjectAtPosition(aRect, rView); + // BegDragObj_createInvisibleObjectAtPosition will call + // SdrMarkView::MarkObj + // -> SdrMarkView::AdjustMarkHdl + // -> SdrDragView::SetMarkHandles + // -> SdrMarkView::SetMarkHandles + // which will recreate the SdrHdl objects. + _pHdl = _pSection->PickHandle(_aPnt); } } } |