[Open Office] VBA part build failure..on FreeBSD
Maho NAKATA
chat95 at mac.com
Sun Jun 24 20:50:34 EDT 2007
Hello Rail and Noel
From: Rail Aliev <rail at openoffice.org>
Subject: Re: [Open Office] VBA part build failure..on FreeBSD
Date: Fri, 22 Jun 2007 12:34:36 +0400
> 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;
I'm not sure what this means :( but it worked for me. So I update
ooo-build port of FreeBSD...
http://www.freebsd.org/cgi/cvsweb.cgi/ports/editors/ooo-build/
thanks,
-- Nakata Maho (maho at FreeBSD.org)
More information about the Openoffice
mailing list