summaryrefslogtreecommitdiff
path: root/reportdesign/source/core/sdr/UndoEnv.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2016-03-28 22:27:52 +0200
committerJulien Nabet <serval2412@yahoo.fr>2016-03-29 05:05:24 +0000
commit02fb3fd0533222dfea5b6b9232425a5e28cd340f (patch)
tree91a5aee0f427afb54db3d05527f8431021d6c925 /reportdesign/source/core/sdr/UndoEnv.cxx
parent691105cb718591fd8e7b78a44e527ba62c997a09 (diff)
Use const_iterator when possible (reportdesign)
Change-Id: I2695fdf64670f4df844c1362a84af83f48fc29be Reviewed-on: https://gerrit.libreoffice.org/23575 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'reportdesign/source/core/sdr/UndoEnv.cxx')
-rw-r--r--reportdesign/source/core/sdr/UndoEnv.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/core/sdr/UndoEnv.cxx b/reportdesign/source/core/sdr/UndoEnv.cxx
index c2ad558b7f27..be672a76da80 100644
--- a/reportdesign/source/core/sdr/UndoEnv.cxx
+++ b/reportdesign/source/core/sdr/UndoEnv.cxx
@@ -245,7 +245,7 @@ void SAL_CALL OXUndoEnvironment::propertyChange( const PropertyChangeEvent& _rEv
// now we have access to the cached info about the set
// let's see what we know about the property
ObjectInfo& rObjectInfo = objectPos->second;
- PropertiesInfo::iterator aPropertyPos = rObjectInfo.aProperties.find( _rEvent.PropertyName );
+ PropertiesInfo::const_iterator aPropertyPos = rObjectInfo.aProperties.find( _rEvent.PropertyName );
if ( aPropertyPos == rObjectInfo.aProperties.end() )
{ // nothing 'til now ... have to change this ....
// the attributes