summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2020-01-15 16:43:41 +0100
committerMichael Stahl <michael.stahl@cib.de>2020-01-16 12:16:54 +0100
commit9982b1dd7b6aff9e0a35f7157491be120874196d (patch)
tree7fb5ba9a08a8ab7e262f3658a3893158581d52ba /sw/source
parent8041a9b1fd26b64494ecb4c23022f39bd168a24f (diff)
sw: replace hardcoded CH_TXTATR_BREAKWORD
Change-Id: I5828fa3de469b65ed84a2a00c65f309de7d54f9e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86861 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/filter/ww8/wrtw8nds.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx
index 9d20bff30617..da7bc1de87e7 100644
--- a/sw/source/filter/ww8/wrtw8nds.cxx
+++ b/sw/source/filter/ww8/wrtw8nds.cxx
@@ -2275,7 +2275,7 @@ void MSWordExportBase::OutputTextNode( SwTextNode& rNode )
3) If the anchor is associated with a text node with empty text then we ignore.
*/
if( rNode.IsTextNode()
- && aStr != "\001" && !aStr.isEmpty()
+ && aStr != OUStringChar(CH_TXTATR_BREAKWORD) && !aStr.isEmpty()
&& !rNode.GetFlyFormat()
&& !(IsInTable() && !AllowPostponedTextInTable())
&& aAttrIter.IsAnchorLinkedToThisNode(rNode.GetIndex()) )