[Open Office] VBA part build failure..on FreeBSD
Rail Aliev
rail at openoffice.org
Fri Jun 22 04:34:36 EDT 2007
On Friday 22 June 2007 04:31:29 Maho NAKATA wrote:
> /work/ports/editors/ooo-build/work/OOF680_m18/sc/source/ui/vba/vbaaxis.cxx:
>50:68: macro "MIN" requires 2 arguments, but only 1 given
> /work/ports/editors/ooo-build/work/OOF680_m18/sc/source/ui/vba/vbaaxis.cxx:
>51:68: macro "MAX" requires 2 arguments, but only 1 given
This helped me. Maybe it is a dirty hack but it worked. :)
FreeBSD 6.2 RELEASE.
--- sc/source/ui/vba/vbaaxis.cxx.orig 2007-05-26 23:43:22.000000000 +0400
+++ sc/source/ui/vba/vbaaxis.cxx 2007-05-26 23:43:49.000000000 +0400
@@ -39,6 +39,8 @@
#include <org/openoffice/excel/XlScaleType.hpp>
#include "vbaaxistitle.hxx"
#include "vbachart.hxx"
+#undef MIN
+#undef MAX
using namespace ::com::sun::star;
using namespace ::org::openoffice;
using namespace ::org::openoffice::excel::XlAxisCrosses;
--
Best regards,
Rail Aliev
Be different: conform.
More information about the Openoffice
mailing list