diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-03 19:10:07 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-01-03 19:10:07 +0100 |
commit | 6aa4496c789fec271dcdc7995cf62ef2dabf1f96 (patch) | |
tree | 3beccbad8540c80a371fb045ac41db4bb582aff6 /sw/source | |
parent | 8227b9955e4a06758f3e0a871e49731a0a607608 (diff) |
loplugin:stringconstant
Change-Id: I60ee2ccc6090c305ade4ba16d3d298866cf89c4e
Diffstat (limited to 'sw/source')
-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()); |