Kaydet (Commit) 4ed5bacc authored tarafından Michael Meeks's avatar Michael Meeks

liblok: set the size for the correct structure.

Change-Id: Id79d76893bfc931334afd59b05ab96a31e441e02
üst f24f4f92
...@@ -155,7 +155,7 @@ struct LibLODocument_Impl : public _LibreOfficeKitDocument ...@@ -155,7 +155,7 @@ struct LibLODocument_Impl : public _LibreOfficeKitDocument
LibLODocument_Impl(const uno::Reference <css::lang::XComponent> &xComponent) : LibLODocument_Impl(const uno::Reference <css::lang::XComponent> &xComponent) :
mxComponent( xComponent ) mxComponent( xComponent )
{ {
nSize = sizeof(LibreOfficeKit); nSize = sizeof(LibreOfficeKitDocument);
destroy = doc_destroy; destroy = doc_destroy;
saveAs = doc_saveAs; saveAs = doc_saveAs;
...@@ -185,7 +185,7 @@ struct LibLibreOffice_Impl : public _LibreOfficeKit ...@@ -185,7 +185,7 @@ struct LibLibreOffice_Impl : public _LibreOfficeKit
LibLibreOffice_Impl() LibLibreOffice_Impl()
{ {
nSize = sizeof(LibreOfficeKitDocument); nSize = sizeof(LibreOfficeKit);
destroy = lo_destroy; destroy = lo_destroy;
initialize = lo_initialize; initialize = lo_initialize;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment