Nonsensical OUString null check

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

Change-Id: I6162f7cb5c82b7950eb3742c61bc3297e9c6fa1b
This commit is contained in:
Stephan Bergmann
2016-10-31 12:52:08 +01:00
parent d6b9fea9b8
commit 9799fe3dbb

View File

@@ -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 );