[Libreoffice] Dynamic arrays in chartitempool

Michael Meeks michael.meeks at novell.com
Sat Oct 16 12:30:24 PDT 2010


Hi Rene,

On Sat, 2010-10-16 at 15:30 +0200, René Kjellerup wrote:
> Okay I've now a beginning of a build of chart2 and I've added:
> #include <sal/macros.h>
> To the file, but the compilation says that the file is not found,

	Strange, I add it and it is fine:

--- chart2/source/view/main//ChartItemPool.cxx
+++ chart2/source/view/main//ChartItemPool.cxx
@@ -29,6 +29,7 @@
 // MARKER(update_precomp.py): autogen include statement, do not remove
 #include "precompiled_chart2.hxx"
 
+#include <sal/macros.h> 
 #include "ChartItemPool.hxx"
 #include "macros.hxx"
 

	Compiles fine for me; what error do you get ?

> So where do one add the sal depends to the module? (or simply
> the includes)

	At the top, but after the precompiled_foo header - which is used for
accelerating the windows build.

	Thanks,

		Michael.

-- 
 michael.meeks at novell.com  <><, Pseudo Engineer, itinerant idiot




More information about the LibreOffice mailing list