Kaydet (Commit) aec959de authored tarafından Zolnai Tamás's avatar Zolnai Tamás

drawingML: remove code duplication: use WriteStretch()

Change-Id: I0d589da01bf6afed86b5811d6b27f72f6e1bb160
üst feae30c4
...@@ -828,9 +828,7 @@ void DrawingML::WriteBlipMode( Reference< XPropertySet > rXPropSet ) ...@@ -828,9 +828,7 @@ void DrawingML::WriteBlipMode( Reference< XPropertySet > rXPropSet )
mpFS->singleElementNS( XML_a, XML_tile, FSEND ); mpFS->singleElementNS( XML_a, XML_tile, FSEND );
break; break;
case BitmapMode_STRETCH: case BitmapMode_STRETCH:
mpFS->startElementNS( XML_a, XML_stretch, FSEND ); WriteStretch();
mpFS->singleElementNS( XML_a, XML_fillRect, FSEND );
mpFS->endElementNS( XML_a, XML_stretch );
break; break;
default: default:
; ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment