[Libreoffice-commits] core.git: oox/source
Muthu Subramanian
sumuthu at collabora.com
Thu Mar 6 08:06:58 PST 2014
oox/source/drawingml/shape.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 72a029dd2e6aad242ed53c56b891aa593e2db33f
Author: Muthu Subramanian <sumuthu at collabora.com>
Date: Thu Mar 6 21:38:44 2014 +0530
Replace [] with getProperty()
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index 7d3b0dc..3487b31 100644
--- a/oox/source/drawingml/shape.cxx
+++ b/oox/source/drawingml/shape.cxx
@@ -694,7 +694,7 @@ Reference< XShape > Shape::createAndInsert(
}
if (aShapeProps.hasProperty(PROP_FillBitmapName))
{
- uno::Any aAny = aShapeProps[PROP_FillBitmapName];
+ uno::Any aAny = aShapeProps.getProperty(PROP_FillBitmapName);
aShapeProps.setProperty(PROP_BackGraphicURL, rFilterBase.getModelObjectHelper().getFillBitmapUrl( aAny.get<OUString>() ));
// aShapeProps.erase(PROP_FillBitmapName); // Maybe, leave the name as well
}
More information about the Libreoffice-commits
mailing list