[Libreoffice-commits] core.git: include/o3tl

Thorsten Behrens Thorsten.Behrens at CIB.de
Mon Sep 19 08:07:27 UTC 2016


 include/o3tl/cow_wrapper.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5a7dbe1ec161a5683086d22ec13506396dcdddda
Author: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Date:   Mon Sep 19 01:46:10 2016 +0200

    o3tl: refcounts should be native platform int width
    
    Change-Id: I19854d85b680612733557c42ee58b35adb5ea4c3
    Reviewed-on: https://gerrit.libreoffice.org/29002
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
    Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/include/o3tl/cow_wrapper.hxx b/include/o3tl/cow_wrapper.hxx
index 7e9c3af..425a166 100644
--- a/include/o3tl/cow_wrapper.hxx
+++ b/include/o3tl/cow_wrapper.hxx
@@ -34,7 +34,7 @@ namespace o3tl
      */
     struct UnsafeRefCountingPolicy
     {
-        typedef sal_uInt32 ref_count_t;
+        typedef sal_Size ref_count_t;
         static void incrementCount( ref_count_t& rCount ) { ++rCount; }
         static bool decrementCount( ref_count_t& rCount ) { return --rCount != 0; }
     };


More information about the Libreoffice-commits mailing list