cosv/inc/cosv/str_types.hxx |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

New commits:
commit 46305229cc5915b0625cc08d99522dc19508be75
Author: David Tardon <[email protected]>
Date:   Fri Aug 3 07:02:46 2012 +0200

    WaE: enumeral and non-enumeral type in conditional expression
    
    Change-Id: I6352836e28c8cb04ba3de40bfcb0095096ee1dd5

diff --git a/cosv/inc/cosv/str_types.hxx b/cosv/inc/cosv/str_types.hxx
index 59f289b..ecf9c99 100644
--- a/cosv/inc/cosv/str_types.hxx
+++ b/cosv/inc/cosv/str_types.hxx
@@ -32,11 +32,8 @@ struct str
     typedef ::size_t    position;
     typedef ::size_t    size;
 
-    enum constants
-    {
-        npos = position(-1),
-        maxsize = size(-1)
-    };
+    static const position npos = -1;
+    static const size maxsize = -1;
 
     enum insert_mode
     {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to