diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2014-06-12 13:27:27 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2014-06-12 14:07:23 +0100 |
commit | 4ed5bacc86e0137d9ace5a2ceda09c2393716793 (patch) | |
tree | bb893c6d7e7e8760264a5e9947fe0680a1179839 /desktop | |
parent | f24f4f92ee37401abf117f5cf3a8a224f39214aa (diff) |
liblok: set the size for the correct structure.
Change-Id: Id79d76893bfc931334afd59b05ab96a31e441e02
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 512cfb3654c2..af812c621ec5 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -155,7 +155,7 @@ struct LibLODocument_Impl : public _LibreOfficeKitDocument LibLODocument_Impl(const uno::Reference <css::lang::XComponent> &xComponent) : mxComponent( xComponent ) { - nSize = sizeof(LibreOfficeKit); + nSize = sizeof(LibreOfficeKitDocument); destroy = doc_destroy; saveAs = doc_saveAs; @@ -185,7 +185,7 @@ struct LibLibreOffice_Impl : public _LibreOfficeKit LibLibreOffice_Impl() { - nSize = sizeof(LibreOfficeKitDocument); + nSize = sizeof(LibreOfficeKit); destroy = lo_destroy; initialize = lo_initialize; |