diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-03 08:39:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-05-04 12:39:40 +0200 |
commit | 58a32075ca4f457f570af75aef368dd6c389aca7 (patch) | |
tree | e437dcbdeb248b4316cb8a9281d1543419853f6d /sw/source/filter/xml/xmlimpit.cxx | |
parent | 7d47700972d267fe7c5270c5dadd45a523a2baec (diff) |
use Any constructor instead of temporaries
Change-Id: Iffb82a2cee1a28d89eeea2b905aaa14086ee475a
Diffstat (limited to 'sw/source/filter/xml/xmlimpit.cxx')
-rw-r--r-- | sw/source/filter/xml/xmlimpit.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/filter/xml/xmlimpit.cxx b/sw/source/filter/xml/xmlimpit.cxx index ea475c3e1d87..ed7fb7c295a5 100644 --- a/sw/source/filter/xml/xmlimpit.cxx +++ b/sw/source/filter/xml/xmlimpit.cxx @@ -663,9 +663,7 @@ bool SvXMLImportItemMapper::PutXMLValue( case MID_GRAPHIC_LINK: { SvxGraphicPosition eOldGraphicPos = rBrush.GetGraphicPos(); - uno::Any aAny; - aAny <<= rValue; - rBrush.PutValue( aAny, MID_GRAPHIC_URL ); + rBrush.PutValue( Any(rValue), MID_GRAPHIC_URL ); if( GPOS_NONE == eOldGraphicPos && GPOS_NONE != rBrush.GetGraphicPos() ) rBrush.SetGraphicPos( GPOS_TILED ); |