[Libreoffice-commits] core.git: sw/source

Takeshi Abe tabe at fixedpoint.jp
Thu Nov 13 21:49:20 PST 2014


 sw/source/core/access/accmap.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 34b12a170e1b3264fa46a8996cc67e12e2fea947
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Fri Nov 14 14:47:15 2014 +0900

    Mark as const
    
    Change-Id: I3236bbbdddf819afb11d8f80dd80c92a04281bf9

diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx
index c407114..6a153ff 100644
--- a/sw/source/core/access/accmap.cxx
+++ b/sw/source/core/access/accmap.cxx
@@ -245,8 +245,8 @@ public:
 
     iterator begin() { return maMap.begin(); }
     iterator end() { return maMap.end(); }
-    const_iterator cbegin() { return maMap.cbegin(); }
-    const_iterator cend() { return maMap.cend(); }
+    const_iterator cbegin() const { return maMap.cbegin(); }
+    const_iterator cend() const { return maMap.cend(); }
     bool empty() const { return maMap.empty(); }
     iterator find(const key_type& key) { return maMap.find(key); }
     std::pair<iterator,bool> insert(const value_type& value ) { return maMap.insert(value); }


More information about the Libreoffice-commits mailing list