tdf#120782: fix crash when dragging column...

from datasource to spreadsheet

See bt here:
https://bugs.documentfoundation.org/attachment.cgi?id=146108

See related bugtrackers.

Change-Id: I2343e1468460b4e8036ce16060471763d344630a
Reviewed-on: https://gerrit.libreoffice.org/62482
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx
index 14100c5..5994c4e 100644
--- a/svx/source/form/fmvwimp.cxx
+++ b/svx/source/form/fmvwimp.cxx
@@ -1526,8 +1526,8 @@ bool FmXFormView::createControlLabelPair( OutputDevice const & _rOutDev, sal_Int
        _rFieldPostfix,
        SdrInventor::FmForm,
        OBJ_FM_FIXEDTEXT,
        nullptr,
        nullptr,
        getView()->GetSdrPageView()->GetPage(),
        getView()->GetSdrPageView()->GetPage(),

        // tdf#118963 Hand over a SdrModel to SdrObject-creation. It uses the local m_pView
        // and already returning false when nullptr == getView() could be done, but m_pView