Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5E22C9B29 for ; Tue, 24 Jan 2012 10:56:16 +0000 (UTC) Received: (qmail 53671 invoked by uid 500); 24 Jan 2012 10:56:16 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 53483 invoked by uid 500); 24 Jan 2012 10:56:14 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 53475 invoked by uid 99); 24 Jan 2012 10:56:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2012 10:56:14 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [212.27.42.2] (HELO smtp2-g21.free.fr) (212.27.42.2) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2012 10:56:08 +0000 Received: from [192.168.50.45] (unknown [88.166.8.11]) by smtp2-g21.free.fr (Postfix) with ESMTP id A570D4B058E for ; Tue, 24 Jan 2012 11:55:41 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v752.3) To: ooo-dev@incubator.apache.org Message-Id: Content-Type: multipart/alternative; boundary=Apple-Mail-19--944497835 From: eric b Subject: bIsInside (a Rectangle) Date: Tue, 24 Jan 2012 11:55:36 +0100 X-Mailer: Apple Mail (2.752.3) --Apple-Mail-19--944497835 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed Hi, Hacking the Presenter Screen (trying to implement the Presentation =20 timer reset because I need it), I found yet another definition of =20 bIsInside [an area, a rectangle]. I know there is a similar =20 definition in tools (gen.hxx) and using Opengrok, I found other =20 places where IsInside a given [rR]ectangle is defined. e.g. : sw/=20 source/core/bastyp/swrect.cxx, reportdesign/source/core/sdr/=20 RptObject.cxx ... and so on. Reading the gen.cxx implementation, I have some doubts (strange =20 rectangle with inverted axes), but is there a good reason to repeat =20 the same definition several times in the code ? What about factorize =20 and simplify that ? e.g. we could propose a list of tasks for =20 newcomers, reserved to people who want to discover Apache OpenOffice =20 source code ? Thanks in advance, Eric Bachard --=20 q=C9=94=E1=B4=89=C9=B9=C9=99 Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page L'association EducOOo : http://www.educoo.org Blog : http://eric.bachard.org/news --Apple-Mail-19--944497835--