diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-02-08 00:07:03 +0100 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-02-08 02:59:51 +0100 |
commit | aec959dea00bfb362377fe1007da1f381f45559e (patch) | |
tree | a3dee4e3d9caae00fd99fe8a123ddcf152844057 /oox | |
parent | feae30c4ce1a1aa303500371b858f871d4ef88fc (diff) |
drawingML: remove code duplication: use WriteStretch()
Change-Id: I0d589da01bf6afed86b5811d6b27f72f6e1bb160
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/drawingml.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index f2dd046a3cf7..22a1d9775dad 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -828,9 +828,7 @@ void DrawingML::WriteBlipMode( Reference< XPropertySet > rXPropSet ) mpFS->singleElementNS( XML_a, XML_tile, FSEND ); break; case BitmapMode_STRETCH: - mpFS->startElementNS( XML_a, XML_stretch, FSEND ); - mpFS->singleElementNS( XML_a, XML_fillRect, FSEND ); - mpFS->endElementNS( XML_a, XML_stretch ); + WriteStretch(); break; default: ; |