[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - desktop/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Mar 1 16:23:30 UTC 2019


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

New commits:
commit 74fbe07431f1d53997cbbe24acb91cde25622133
Author:     Ashod Nakashian <ashod.nakashian at collabora.co.uk>
AuthorDate: Tue Nov 13 00:14:40 2018 -0500
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Fri Mar 1 17:23:02 2019 +0100

    LOK: desktop: use correct size when initializing LibreOfficeKitDocument
    
    Change-Id: I0aecc459cf448c03dd8c17a486cc66f541f6868d
    Reviewed-on: https://gerrit.libreoffice.org/68257
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 8c79f36484a2..e3d9259ba0ea 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -763,7 +763,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;


More information about the Libreoffice-commits mailing list