diff options
-rw-r--r-- | sw/source/core/txtnode/thints.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx index 0cbdd5e89a2a..19a0f777f8bb 100644 --- a/sw/source/core/txtnode/thints.cxx +++ b/sw/source/core/txtnode/thints.cxx @@ -1507,8 +1507,8 @@ bool SwTextNode::InsertHint( SwTextAttr * const pAttr, const SetAttrMode nMode ) if( !(SetAttrMode::NOTXTATRCHR & nMode) ) { SwIndex aIdx( this, pAttr->GetStart() ); - const OUString aContent = OUString(CH_TXT_ATR_INPUTFIELDSTART) - + pTextInputField->GetFieldContent() + OUString(CH_TXT_ATR_INPUTFIELDEND); + const OUString aContent = OUStringLiteral1<CH_TXT_ATR_INPUTFIELDSTART>() + + pTextInputField->GetFieldContent() + OUStringLiteral1<CH_TXT_ATR_INPUTFIELDEND>(); InsertText( aContent, aIdx, nInsertFlags ); sal_Int32* const pEnd(pAttr->GetEnd()); |