From 6a23a02b2bd65a6c3db4beb7fc083528f0a006c5 Mon Sep 17 00:00:00 2001 From: Ashod Nakashian Date: Tue, 13 Nov 2018 00:14:40 -0500 Subject: LOK: desktop: use correct size when initializing LibreOfficeKitDocument Change-Id: I0aecc459cf448c03dd8c17a486cc66f541f6868d Reviewed-on: https://gerrit.libreoffice.org/63322 Tested-by: Jenkins Reviewed-by: Jan Holesovsky --- desktop/source/lib/init.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop') diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 676afca7923f..3cb194b5ab38 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -714,7 +714,7 @@ LibLODocument_Impl::LibLODocument_Impl(const uno::Reference nSize = sizeof(LibreOfficeKitDocument); + m_pDocumentClass->nSize = sizeof(LibreOfficeKitDocumentClass); m_pDocumentClass->destroy = doc_destroy; m_pDocumentClass->saveAs = doc_saveAs; -- cgit