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