[Libreoffice-commits] core.git: oox/source
Tor Lillqvist
tml at collabora.com
Wed Jul 16 13:10:33 PDT 2014
oox/source/drawingml/fillproperties.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 57e62d34777abec24885c04c955920f339b5be5c
Author: Tor Lillqvist <tml at collabora.com>
Date: Wed Jul 16 23:02:56 2014 +0300
Try to fix compilation with pre-C++11 compiler
Change-Id: Ic014db043a08fc2b82c56e6a1f944c9403c441d0
diff --git a/oox/source/drawingml/fillproperties.cxx b/oox/source/drawingml/fillproperties.cxx
index 361abf8..a0c439d 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() )
{
More information about the Libreoffice-commits
mailing list