summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-11-13 00:14:40 -0500
committerJan Holesovsky <kendy@collabora.com>2018-11-13 11:38:41 +0100
commit6a23a02b2bd65a6c3db4beb7fc083528f0a006c5 (patch)
tree37558eebd189330ddb7dba65ed76de185199404f /desktop
parentf6b3b696ad9d454f7acbe930439cccc052e9fce2 (diff)
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 <kendy@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 1 insertions, 1 deletions
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 <css::lang::XCompone
{
m_pDocumentClass.reset(new LibreOfficeKitDocumentClass);
- m_pDocumentClass->nSize = sizeof(LibreOfficeKitDocument);
+ m_pDocumentClass->nSize = sizeof(LibreOfficeKitDocumentClass);
m_pDocumentClass->destroy = doc_destroy;
m_pDocumentClass->saveAs = doc_saveAs;