summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/drawingml.cxx4
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:
;