diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-13 11:18:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-13 11:19:42 +0200 |
commit | 6b5e4c1f548f459e2d81963efdd4eb661de1fe89 (patch) | |
tree | f7542532fa255e6888105ffa809fcd47136f4e0d /sc | |
parent | f6ef7e33b034d4ee5fb85ae4b72d8d255fbed2b6 (diff) |
fix build "error: declaration of size shadows a member of 'this'"
after my commit 2aacf6c2cd82322b953988ff30d3bc997ae76d7b
"sc: boost::ptr_vector->std::vector"
Change-Id: I7195b91a61405f16ddcc698ce1e8205e6d20c39e
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/userlist.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/userlist.hxx b/sc/inc/userlist.hxx index 0ac95e190153..1933b8455222 100644 --- a/sc/inc/userlist.hxx +++ b/sc/inc/userlist.hxx @@ -83,7 +83,7 @@ public: iterator begin(); const_iterator begin() const; void clear(); - void reserve(size_t size) { maData.reserve(size); } + void reserve(size_t nSize) { maData.reserve(nSize); } size_t size() const; void push_back(const ScUserListData& r) { maData.push_back(r); } void erase(iterator itr); |