[Libreoffice-commits] core.git: Branch 'aoo/trunk' - sal/inc

Herbert Dürr hdu at apache.org
Thu May 16 01:07:18 PDT 2013


 sal/inc/rtl/string.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 515de997f69222b06a07ce9a95e8610cc9c7cbcc
Author: Herbert Dürr <hdu at apache.org>
Date:   Thu May 16 07:25:49 2013 +0000

    fix constness issue causing a build breaker

diff --git a/sal/inc/rtl/string.hxx b/sal/inc/rtl/string.hxx
index 951fa78..dcd6ca4 100644
--- a/sal/inc/rtl/string.hxx
+++ b/sal/inc/rtl/string.hxx
@@ -947,7 +947,7 @@ struct CStringHash
     size_t operator()( const char* p) const {
         size_t n = 0;
         while( *p)
-            n += 4*n + *static_cast<unsigned char*>(p++);
+            n += 4*n + *static_cast<const unsigned char*>(p++);
         return n;
     }
 };


More information about the Libreoffice-commits mailing list