[Libreoffice-commits] core.git: svx/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Oct 28 22:59:18 UTC 2018


 svx/source/form/fmvwimp.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a73f696b9a36b85ac6549a3a342a690eefcec4fc
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sun Oct 28 21:37:56 2018 +0100
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Oct 28 23:58:56 2018 +0100

    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 at yahoo.fr>

diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx
index 14100c57fb1a..5994c4e46d70 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


More information about the Libreoffice-commits mailing list