summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2019-07-09 13:33:13 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2019-07-09 15:25:57 +0200
commitd4b687a503159c8c1385db9d7fbff5c92ace6900 (patch)
tree7564dd47286a8e1ea2711a560ccab8c64ac23963
parent77ca41321193ddfaa0ca05d1fa43f3b614209a61 (diff)
mxShape.is() is always true here
Change-Id: I30b11b0291ef4cbf793352b0b23b04857892a714 Reviewed-on: https://gerrit.libreoffice.org/75297 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
-rw-r--r--oox/source/drawingml/shape.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index 88ed816c21c0..7be3aa837657 100644
--- a/oox/source/drawingml/shape.cxx
+++ b/oox/source/drawingml/shape.cxx
@@ -887,7 +887,7 @@ Reference< XShape > const & Shape::createAndInsert(
mxShape.set( xServiceFact->createInstance( aServiceName ), UNO_QUERY_THROW );
Reference< XPropertySet > xSet( mxShape, UNO_QUERY );
- if( mxShape.is() && xSet.is() )
+ if (xSet.is())
{
if( !msName.isEmpty() )
{