summaryrefslogtreecommitdiff
path: root/oox/source/vml/vmlshape.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-24 11:22:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-28 10:17:47 +0000
commit198c41c4fe8be4ce8a6ddab43ae0c5f17a4889ac (patch)
tree041d55126e9770b81f68fadfaaa69e82313786b3 /oox/source/vml/vmlshape.cxx
parentd3981b3e8c021ee03a2ca7103a73e56cca18df81 (diff)
new loplugin unoany
Change-Id: I5d6c4a67cb2a09e7cd5bd620c6b262d188701b89 Reviewed-on: https://gerrit.libreoffice.org/34714 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source/vml/vmlshape.cxx')
-rw-r--r--oox/source/vml/vmlshape.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/oox/source/vml/vmlshape.cxx b/oox/source/vml/vmlshape.cxx
index e90ee9093970..8def04fd7fe4 100644
--- a/oox/source/vml/vmlshape.cxx
+++ b/oox/source/vml/vmlshape.cxx
@@ -395,14 +395,14 @@ Reference< XShape > ShapeBase::convertAndInsert( const Reference< XShapes >& rxS
length = aGrabBag.getLength();
aGrabBag.realloc( length+1 );
aGrabBag[length].Name = "VML-Z-ORDER";
- aGrabBag[length].Value = uno::makeAny( maTypeModel.maZIndex.toInt32() );
+ aGrabBag[length].Value <<= maTypeModel.maZIndex.toInt32();
if( !s_mso_next_textbox.isEmpty() )
{
length = aGrabBag.getLength();
aGrabBag.realloc( length+1 );
aGrabBag[length].Name = "mso-next-textbox";
- aGrabBag[length].Value = uno::makeAny( s_mso_next_textbox );
+ aGrabBag[length].Value <<= s_mso_next_textbox;
}
if( !sLinkChainName.isEmpty() )
@@ -410,13 +410,13 @@ Reference< XShape > ShapeBase::convertAndInsert( const Reference< XShapes >& rxS
length = aGrabBag.getLength();
aGrabBag.realloc( length+4 );
aGrabBag[length].Name = "TxbxHasLink";
- aGrabBag[length].Value = uno::makeAny( true );
+ aGrabBag[length].Value <<= true;
aGrabBag[length+1].Name = "Txbx-Id";
- aGrabBag[length+1].Value = uno::makeAny( id );
+ aGrabBag[length+1].Value <<= id;
aGrabBag[length+2].Name = "Txbx-Seq";
- aGrabBag[length+2].Value = uno::makeAny( seq );
+ aGrabBag[length+2].Value <<= seq;
aGrabBag[length+3].Name = "LinkChainName";
- aGrabBag[length+3].Value = uno::makeAny( sLinkChainName );
+ aGrabBag[length+3].Value <<= sLinkChainName;
}
propertySet->setPropertyValue( "InteropGrabBag", uno::makeAny(aGrabBag) );
}
@@ -704,7 +704,7 @@ Reference< XShape > SimpleShape::implConvertAndInsert( const Reference< XShapes
xPropertySet->getPropertyValue("FrameInteropGrabBag") >>= aGrabBag;
beans::PropertyValue aPair;
aPair.Name = "mso-layout-flow-alt";
- aPair.Value = uno::makeAny(maTypeModel.maLayoutFlowAlt);
+ aPair.Value <<= maTypeModel.maLayoutFlowAlt;
if (aGrabBag.hasElements())
{
sal_Int32 nLength = aGrabBag.getLength();
@@ -806,13 +806,13 @@ Reference< XShape > SimpleShape::implConvertAndInsert( const Reference< XShapes
if (bFlipX)
{
aPropSequence [nPropertyIndex].Name = "MirroredX";
- aPropSequence [nPropertyIndex].Value = makeAny (bFlipX);
+ aPropSequence [nPropertyIndex].Value <<= bFlipX;
nPropertyIndex++;
}
if (bFlipY)
{
aPropSequence [nPropertyIndex].Name = "MirroredY";
- aPropSequence [nPropertyIndex].Value = makeAny (bFlipY);
+ aPropSequence [nPropertyIndex].Value <<= bFlipY;
}
aPropertySet.setAnyProperty(PROP_CustomShapeGeometry, makeAny( aPropSequence ) );
}
@@ -1270,7 +1270,7 @@ Reference< XShape > GroupShape::implConvertAndInsert( const Reference< XShapes >
xPropertySet->getPropertyValue("InteropGrabBag") >>= aGrabBag;
beans::PropertyValue aPair;
aPair.Name = "mso-edit-as";
- aPair.Value = uno::makeAny(maTypeModel.maEditAs);
+ aPair.Value <<= maTypeModel.maEditAs;
if (aGrabBag.hasElements())
{
sal_Int32 nLength = aGrabBag.getLength();