diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-02 09:29:21 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-02 09:29:21 +0100 |
commit | da83d2899ec20a6cd181c7a0d5f465bd11088a5a (patch) | |
tree | a50b9aa8d1a459da38a9f146d6c76d48bcf42f05 /include | |
parent | 3f9416d703a3d38f4ff59beddc06eb8e1efa52e4 (diff) |
Avoid signed/unsigned mismatch warnings with MSVC
Change-Id: I1cca248722d2c9cd4c5b41cca04a0d89b79f3dfa
Diffstat (limited to 'include')
-rw-r--r-- | include/tools/unqidx.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/tools/unqidx.hxx b/include/tools/unqidx.hxx index 8e979bf22f55..190b8e10e212 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; |