From 33059d29f9417f65c1e480a725990d2eea3f5217 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Fri, 17 Sep 2010 12:29:59 +0200 Subject: [PATCH] Fix the build of oox. --- oox/source/export/drawingml.cxx | 7 ++++--- oox/source/export/shapes.cxx | 4 ++-- oox/source/export/vmlexport.cxx | 2 +- oox/util/makefile.mk | 4 +++- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index c3fce8e269fc..ab3646b2c959 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -60,13 +60,14 @@ #include #include #include +#include #include #include #include #include #include -#include -#include +#include +#include using namespace ::com::sun::star; using namespace ::com::sun::star::uno; @@ -473,7 +474,7 @@ OUString DrawingML::WriteImage( const Graphic& rGraphic ) } aData = aStream.GetData(); - nDataSize = aStream.GetSize(); + nDataSize = aStream.GetEndOfData(); break; } } diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx index d33572230f1d..0fe0eeb51f89 100644 --- a/oox/source/export/shapes.cxx +++ b/oox/source/export/shapes.cxx @@ -66,9 +66,9 @@ #include #include #include -#include +#include #include -#include +#include #include using namespace ::com::sun::star; diff --git a/oox/source/export/vmlexport.cxx b/oox/source/export/vmlexport.cxx index 9c2faf932b8c..891e0937ca4d 100644 --- a/oox/source/export/vmlexport.cxx +++ b/oox/source/export/vmlexport.cxx @@ -128,7 +128,7 @@ void VMLExport::CloseContainer() UINT32 VMLExport::EnterGroup( const String& rShapeName, const Rectangle* pRect ) { - UINT32 nShapeId = GetShapeID(); + sal_uInt32 nShapeId = GenerateShapeId(); OStringBuffer aStyle( 200 ); FastAttributeList *pAttrList = m_pSerializer->createAttrList(); diff --git a/oox/util/makefile.mk b/oox/util/makefile.mk index deb8dbb6a0e7..a8ba80c480e5 100644 --- a/oox/util/makefile.mk +++ b/oox/util/makefile.mk @@ -75,7 +75,9 @@ SHL1STDLIBS= \ $(GOODIESLIB) \ $(SVTOOLLIB) \ $(SVXCORELIB) \ - $(SVXMSFILTERLIB) \ + $(SVLLIB) \ + $(MSFILTERLIB) \ + $(UNOTOOLSLIB) \ $(TOOLSLIB) # link openssl, copied this bit from ucb/source/ucp/webdav/makefile.mk