[Libreoffice-commits] .: svtools/inc

Lubos Lunak llunak at kemper.freedesktop.org
Tue Feb 8 10:56:27 PST 2011


 svtools/inc/svtools/valueset.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3c45b1a733f56aa9e622fddd0c8832b32c5a933b
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Tue Feb 8 19:55:45 2011 +0100

    revert USHORT->size_t change, breaks build
    
    clone/components/cui/source/tabpages/borderconn.cxx:215:1: error: narrowing conversion of '-1u' from 'size_t' to 'short unsigned int' inside { }

diff --git a/svtools/inc/svtools/valueset.hxx b/svtools/inc/svtools/valueset.hxx
index be8adf4..36872ab 100644
--- a/svtools/inc/svtools/valueset.hxx
+++ b/svtools/inc/svtools/valueset.hxx
@@ -237,8 +237,8 @@ gewuenschten WinBits (vor Show) mit SetStyle() gesetzt werden.
 // - ValueSet -
 // ------------
 
-#define VALUESET_APPEND 		((size_t)-1)
-#define VALUESET_ITEM_NOTFOUND	((size_t)-1)
+#define VALUESET_APPEND 		((USHORT)-1)
+#define VALUESET_ITEM_NOTFOUND	((USHORT)-1)
 
 class SVT_DLLPUBLIC ValueSet : public Control
 {


More information about the Libreoffice-commits mailing list