diff --git a/include/o3tl/cow_wrapper.hxx b/include/o3tl/cow_wrapper.hxx index 425a166b36ba..a80241e3a8a1 100644 --- a/include/o3tl/cow_wrapper.hxx +++ b/include/o3tl/cow_wrapper.hxx @@ -23,6 +23,7 @@ #include #include +#include namespace o3tl { @@ -34,7 +35,7 @@ namespace o3tl */ struct UnsafeRefCountingPolicy { - typedef sal_Size ref_count_t; + typedef std::size_t ref_count_t; static void incrementCount( ref_count_t& rCount ) { ++rCount; } static bool decrementCount( ref_count_t& rCount ) { return --rCount != 0; } };