desktop/source/lib/init.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6a23a02b2bd65a6c3db4beb7fc083528f0a006c5
Author:     Ashod Nakashian <ashod.nakash...@collabora.co.uk>
AuthorDate: Tue Nov 13 00:14:40 2018 -0500
Commit:     Jan Holesovsky <ke...@collabora.com>
CommitDate: Tue Nov 13 11:38:41 2018 +0100

    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 <ke...@collabora.com>

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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to