summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2011-02-08 19:55:45 +0100
committerLuboš Luňák <l.lunak@suse.cz>2011-02-08 19:55:45 +0100
commit52c63c207dc0d6f5569953bb351f2cbf2cd3c33d (patch)
tree37e6fe2b56af78e37a9310a615a2cfe5b823b9e4
parentd935718b6ea067fb1e79dbdb2ee91d7e3f640f85 (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.hxx4
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
{