Ok. Thanks.
2013/4/11 Ariel Constenla-Haile <arie...@apache.org> > Hi Jorge, > > On Thu, Apr 11, 2013 at 07:16:02PM -0500, jorge ivan poot diaz wrote: > > Hello, > > I have this code, I try to generate random numbers, but I have problems > when > > I build: > > > > protected double getRandomDouble() > > { > > return (maRandom.nextInt(1000) * maRandom.nextDouble()); > > } > > Looks like you copied & pasted from > > http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/odk/examples/DevelopersGuide/Text/TextDocuments.java#690 > > maRandom is a member variable in that Java class, of type > java.util.Random. No way this will ever work in > cui/source/tabpages/tpcolor.cxx > > > What could be the error in this code? > > Java != C++ > > > Regards > -- > Ariel Constenla-Haile > La Plata, Argentina >