[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - desktop/source
Michael Meeks
michael.meeks at collabora.com
Fri Jun 13 02:29:57 PDT 2014
desktop/source/lib/init.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 087ec3cb8e55cd207d4cb655dcffbff18e9fcd26
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Thu Jun 12 13:27:27 2014 +0100
liblok: set the size for the correct structure.
(cherry picked from commit 4ed5bacc86e0137d9ace5a2ceda09c2393716793)
Signed-off-by: Andrzej Hunt <andrzej.hunt at collabora.com>
Conflicts:
desktop/source/lib/init.cxx
Change-Id: Id79d76893bfc931334afd59b05ab96a31e441e02
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 204d39b..aaf8929 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -133,7 +133,7 @@ struct LibLODocument_Impl : public _LibreOfficeDocument
LibLODocument_Impl( const uno::Reference < css::lang::XComponent > &xComponent )
: mxComponent( xComponent )
{
- nSize = sizeof( LibreOffice );
+ nSize = sizeof( LibreOfficeDocument );
destroy = doc_destroy;
saveAs = doc_saveAs;
@@ -159,7 +159,7 @@ struct LibLibreOffice_Impl : public _LibreOffice
LibLibreOffice_Impl()
{
- nSize = sizeof( LibreOfficeDocument );
+ nSize = sizeof( LibreOffice );
destroy = lo_destroy;
initialize = lo_initialize;
More information about the Libreoffice-commits
mailing list