Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Tuesday 08 of February 2011, Joseph Powers wrote:
New commits:
commit 27f2608c5d1deb6cfc8c7e56239563815588e015
Author: Joseph Powers <jpowers27@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@suse.cz

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.