Re: [interface-announce] info/CWS dba31e : css.awt.ImageScaleMode

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: [interface-announce] info/CWS dba31e : css.awt.ImageScaleMode

by Stephan Bergmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 11/04/08 20:43, Frank.Schoenheit@... wrote:

>
>           Type: info
>          Title: css.awt.ImageScaleMode
>      Posted by: frank.schoenheit@...
>       Affected: -
> Effective from: CWS dba31e
>            CWS:
> <http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/dba31e>
>     CWS status: new
>
>
> *Summary*
> --------
> + css.awt.ImageScaleMode
>
> *Description*
> -------------
> /** defines modes how an image displayed in a given area should be
>     scaled to fit this area
> */
> constants ImageScaleMode
> {
>     /** specifies that no scaling should happen at all
>     */
>     const short None = 0;

The "canonical" integer type in UNO is long, not short (IMO short is
plain unnecessary in UNO).

-Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: interface-discuss-unsubscribe@...
For additional commands, e-mail: interface-discuss-help@...


Re: Re: [interface-announce] info/CWS dba31e : css.awt.ImageScaleMode

by Frank Schoenheit, Sun Microsystems Germany :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Stephan,

> The "canonical" integer type in UNO is long, not short (IMO short is
> plain unnecessary in UNO).

So using short is
[ ] deprecated
[ ] forbidden
[ ] a matter of taste
[ ] harmful 'cause
    ________________________________________________________________

(Personally, I'd put the cross only at the third item :)

Ciao
Frank

--
- Frank Schönheit, Software Engineer         frank.schoenheit@... -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Base                       http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
To unsubscribe, e-mail: interface-discuss-unsubscribe@...
For additional commands, e-mail: interface-discuss-help@...