Hi there,

On Sun, 2012-02-12 at 12:45 +0700, Korrawit Pruegsanusak wrote:
> >> > So there are some alternatives options to hide something from
> >> > callcatcher. [...] write unit tests that call it  [...]
>
> Could you please give me a hint how to do this? Thanks :-)

        Sure ! :-) so we want to keep:

+    BASEGFX_DLLPUBLIC B2IRange fround(const B2DRange& rRange);

        around [sic.] ;-)

        The basegfx/CppunitTest makefile points to the code that is used for
unit testing.

        I suggest we add a method to test/basegfx2d.cxx that has an equivalent:

    CPPUNIT_TEST(rotate);

        that does some trivial operation on that method, and checks the
results :-) that will ensure the method is called at least from
somewhere & calm down the unusedcode checker [ we can remove it from the
list then ].

        Does that make sense ?

        Thanks ! :-)

                Michael.

-- 
michael.me...@suse.com  <><, Pseudo Engineer, itinerant idiot

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to