sw/source/core/txtnode/thints.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 6aa4496c789fec271dcdc7995cf62ef2dabf1f96 Author: Stephan Bergmann <[email protected]> Date: Sun Jan 3 19:10:07 2016 +0100 loplugin:stringconstant Change-Id: I60ee2ccc6090c305ade4ba16d3d298866cf89c4e diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx index 0cbdd5e..19a0f77 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()); _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
