oox/source/drawingml/shape.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 72a029dd2e6aad242ed53c56b891aa593e2db33f
Author: Muthu Subramanian <sumu...@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
                 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to