Kaydet (Commit) 9799fe3d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Nonsensical OUString null check

...ever since acd2c909 "fdo#80897: Preservation
of text warp properties."  (That happened to redundantly check for non-empty
presetWarp, too.)

Change-Id: I6162f7cb5c82b7950eb3742c61bc3297e9c6fa1b
üst d6b9fea9
......@@ -2125,7 +2125,7 @@ void DrawingML::WriteText( const Reference< XInterface >& rXIface, const OUStrin
XML_anchorCtr, bHorizontalCenter ? "1" : nullptr,
XML_vert, sWritingMode,
FSEND );
if( presetWarp != nullptr && !presetWarp.isEmpty())
if( !presetWarp.isEmpty())
{
mpFS->singleElementNS(XML_a, XML_prstTxWarp, XML_prst, presetWarp.toUtf8().getStr(),
FSEND );
......
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