summaryrefslogtreecommitdiff
path: root/include/o3tl
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2016-09-19 01:46:10 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2016-09-19 08:06:14 +0000
commit5a7dbe1ec161a5683086d22ec13506396dcdddda (patch)
treed7c9120b0d568014558c07b4acc96f51d4533ee9 /include/o3tl
parent01542bf662fc83564e5d40eaa3a79dd1d8b0ec67 (diff)
o3tl: refcounts should be native platform int width
Change-Id: I19854d85b680612733557c42ee58b35adb5ea4c3 Reviewed-on: https://gerrit.libreoffice.org/29002 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'include/o3tl')
-rw-r--r--include/o3tl/cow_wrapper.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/o3tl/cow_wrapper.hxx b/include/o3tl/cow_wrapper.hxx
index 7e9c3af29afa..425a166b36ba 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; }
};