summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-07-16 23:02:56 +0300
committerTor Lillqvist <tml@collabora.com>2014-07-16 23:09:48 +0300
commit57e62d34777abec24885c04c955920f339b5be5c (patch)
tree94ecfc6282adb0440c6439e547b97123c379288a /oox
parenta3b6e0da35987af441042bd444c331d78a7c69b5 (diff)
Try to fix compilation with pre-C++11 compiler
Change-Id: Ic014db043a08fc2b82c56e6a1f944c9403c441d0
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/fillproperties.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/drawingml/fillproperties.cxx b/oox/source/drawingml/fillproperties.cxx
index 361abf8e76b7..a0c439d8c811 100644
--- a/oox/source/drawingml/fillproperties.cxx
+++ b/oox/source/drawingml/fillproperties.cxx
@@ -439,9 +439,9 @@ void FillProperties::pushToPropMap( ShapePropertyMap& rPropMap,
// the "border") that best emulates the gradient between begin() and prior(end()).
// First look for the largest segment in the gradient.
- GradientFillProperties::GradientStopMap::const_iterator aIt(aGradientStops.begin());
+ GradientFillProperties::GradientStopMap::iterator aIt(aGradientStops.begin());
double nWidestWidth = -1;
- GradientFillProperties::GradientStopMap::const_iterator aWidestSegmentStart;
+ GradientFillProperties::GradientStopMap::iterator aWidestSegmentStart;
aIt++;
while( aIt != aGradientStops.end() )
{