[Libreoffice-commits] .: svtools/inc svtools/source

Lubos Lunak l.lunak at suse.cz
Tue Feb 8 11:00:07 PST 2011


On Tuesday 08 of February 2011, Joseph Powers wrote:
> New commits:
> commit 27f2608c5d1deb6cfc8c7e56239563815588e015
> Author: Joseph Powers <jpowers27 at cox.net>
> Date:   Tue Feb 8 06:55:57 2011 -0800
>
>     Remove DECLARE_LIST( ValueItemList, ValueSetItem* )
>
> diff --git a/svtools/inc/svtools/valueset.hxx
> b/svtools/inc/svtools/valueset.hxx index 98072c2..be8adf4 100644
> --- a/svtools/inc/svtools/valueset.hxx
> +++ b/svtools/inc/svtools/valueset.hxx
> @@ -234,8 +237,8 @@ gewuenschten WinBits (vor Show) mit SetStyle() gesetzt
> werden. // - ValueSet -
>  // ------------
>
> -#define VALUESET_APPEND 		((USHORT)0xFFFF)
> -#define VALUESET_ITEM_NOTFOUND	((USHORT)0xFFFF)
> +#define VALUESET_APPEND 		((size_t)-1)
> +#define VALUESET_ITEM_NOTFOUND	((size_t)-1)

 I have reverted this part, it breaks build with:
clone/components/cui/source/tabpages/borderconn.cxx:215:1: error: narrowing 
conversion of '-1u' from 'size_t' to 'short unsigned int' inside { }

-- 
 Lubos Lunak
 l.lunak at suse.cz


More information about the Libreoffice-commits mailing list