diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-02-08 19:55:45 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-02-08 19:55:45 +0100 |
commit | 52c63c207dc0d6f5569953bb351f2cbf2cd3c33d (patch) | |
tree | 37e6fe2b56af78e37a9310a615a2cfe5b823b9e4 | |
parent | d935718b6ea067fb1e79dbdb2ee91d7e3f640f85 (diff) |
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 { }
-rw-r--r-- | svtools/inc/svtools/valueset.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/inc/svtools/valueset.hxx b/svtools/inc/svtools/valueset.hxx index fb4391dd5355..a13563843906 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 { |