https://bugs.documentfoundation.org/show_bug.cgi?id=159247

--- Comment #3 from Julien Nabet <[email protected]> ---
With this patch, it doesn't crash and the button moves:
diff --git a/basctl/source/dlged/dlgedobj.cxx
b/basctl/source/dlged/dlgedobj.cxx
index 5b87393e51bc..74e8fde38488 100644
--- a/basctl/source/dlged/dlgedobj.cxx
+++ b/basctl/source/dlged/dlgedobj.cxx
@@ -931,7 +931,8 @@ void DlgEdObj::NbcMove( const Size& rSize )
     StartListening();

     // dialog model changed
-    GetDlgEdForm()->GetDlgEditor().SetDialogModelChanged();
+    if (GetDlgEdForm())
+        GetDlgEdForm()->GetDlgEditor().SetDialogModelChanged();
 }

 void DlgEdObj::NbcResize(const Point& rRef, const Fraction& xFract, const
Fraction& yFract)
@@ -948,7 +949,8 @@ void DlgEdObj::NbcResize(const Point& rRef, const Fraction&
xFract, const Fracti
     StartListening();

     // dialog model changed
-    GetDlgEdForm()->GetDlgEditor().SetDialogModelChanged();
+    if (GetDlgEdForm())
+        GetDlgEdForm()->GetDlgEditor().SetDialogModelChanged();
 }

 bool DlgEdObj::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd)

(I can also resize it)

Now, as often, perhaps I'm just hiding the real pb.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to