diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-02 11:04:15 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-02 11:15:02 +0100 |
commit | 2277558d01c168feec10c6340f919e7847ab2dbe (patch) | |
tree | f35992a8cba508552563c03cc722d87deb3f78fd /sw/inc | |
parent | 98f0516f158fbcacdc50e4e3f9e25f9ee6651d09 (diff) |
rename numberOf() to STL-like size()
Change-Id: I82332e91ed152e42b55ae921b3b61c5144253c39
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/ring.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/ring.hxx b/sw/inc/ring.hxx index e587ad3f73a7..d58733f1459f 100644 --- a/sw/inc/ring.hxx +++ b/sw/inc/ring.hxx @@ -124,7 +124,7 @@ namespace sw { return std::make_pair(beginRing(), endRing()); } /** @return the number of elements in the container */ - sal_uInt32 numberOf() const + size_t size() const { return algo::count(static_cast< const T* >(this)); } }; |