summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2018-10-28 21:37:56 +0100
committerJulien Nabet <serval2412@yahoo.fr>2018-10-28 23:58:56 +0100
commita73f696b9a36b85ac6549a3a342a690eefcec4fc (patch)
treeddff27ae7af47188dbd5de4a8ec5cb3ad52e3ed5 /svx
parenta50f845957fff66ca7f459da4878be4597e0bae3 (diff)
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>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/fmvwimp.cxx4
1 files changed, 2 insertions, 2 deletions
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