summaryrefslogtreecommitdiff
path: root/oox/source/vml/vmldrawing.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/vml/vmldrawing.cxx')
-rw-r--r--oox/source/vml/vmldrawing.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/vml/vmldrawing.cxx b/oox/source/vml/vmldrawing.cxx
index ca2d362d11d8..6483f2053a42 100644
--- a/oox/source/vml/vmldrawing.cxx
+++ b/oox/source/vml/vmldrawing.cxx
@@ -215,8 +215,8 @@ Reference< XShape > Drawing::createAndInsertXShape( const OUString& rService,
Reference< XShape > xShape;
if( (rService.getLength() > 0) && rxShapes.is() ) try
{
- Reference< XMultiServiceFactory > xFactory( mrFilter.getModelFactory(), UNO_SET_THROW );
- xShape.set( xFactory->createInstance( rService ), UNO_QUERY_THROW );
+ Reference< XMultiServiceFactory > xModelFactory( mrFilter.getModelFactory(), UNO_SET_THROW );
+ xShape.set( xModelFactory->createInstance( rService ), UNO_QUERY_THROW );
// insert shape into passed shape collection (maybe drawpage or group shape)
rxShapes->add( xShape );
xShape->setPosition( Point( rShapeRect.X, rShapeRect.Y ) );
@@ -281,4 +281,4 @@ void Drawing::notifyXShapeInserted( const Reference< XShape >& /*rxShape*/,
} // namespace vml
} // namespave oox
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ \ No newline at end of file
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */