include/tools/unqidx.hxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit da83d2899ec20a6cd181c7a0d5f465bd11088a5a
Author: Stephan Bergmann <[email protected]>
Date:   Wed Mar 2 09:29:21 2016 +0100

    Avoid signed/unsigned mismatch warnings with MSVC
    
    Change-Id: I1cca248722d2c9cd4c5b41cca04a0d89b79f3dfa

diff --git a/include/tools/unqidx.hxx b/include/tools/unqidx.hxx
index 8e979bf..190b8e1 100644
--- a/include/tools/unqidx.hxx
+++ b/include/tools/unqidx.hxx
@@ -27,9 +27,7 @@ class SAL_WARN_UNUSED TOOLS_DLLPUBLIC UniqueIndexImpl
 {
 public:
     typedef sal_uInt32 Index;
-    enum {
-        IndexNotFound = SAL_MAX_UINT32
-    };
+    static Index const IndexNotFound = SAL_MAX_UINT32;
 
 private:
     std::map<Index, void*> maMap;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to