diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-10-31 12:52:08 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-10-31 13:22:05 +0100 |
commit | 9799fe3dbb09d1d07fb15ff4d7f7dbd1453f05db (patch) | |
tree | 6fbe5925e88e0385f5df7aa97d4e46a510dc4c54 | |
parent | d6b9fea9b8cabf6834e55671e308cd6a6b63955a (diff) |
Nonsensical OUString null check
...ever since acd2c90978052723475a41144dd5d92090fbf6b4 "fdo#80897: Preservation
of text warp properties." (That happened to redundantly check for non-empty
presetWarp, too.)
Change-Id: I6162f7cb5c82b7950eb3742c61bc3297e9c6fa1b
-rw-r--r-- | oox/source/export/drawingml.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index 292564649e3c..deafd3477a7e 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -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 ); |