diff options
Diffstat (limited to 'forms/source/xforms')
-rw-r--r-- | forms/source/xforms/model_ui.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/xforms/model_ui.cxx b/forms/source/xforms/model_ui.cxx index 482fe7ade8a1..f8f5784c06bd 100644 --- a/forms/source/xforms/model_ui.cxx +++ b/forms/source/xforms/model_ui.cxx @@ -293,7 +293,7 @@ OUString Model::getNodeDisplayName( const XNode_t& xNode, OUString sContent = xNode->getNodeValue(); if( bDetail || ! lcl_isWhitespace( sContent ) ) { - aBuffer = aBuffer + "\"" + Convert::collapseWhitespace( sContent ) + "\""; + aBuffer.append("\"" + Convert::collapseWhitespace( sContent ) + "\""); } } break; @@ -866,7 +866,7 @@ static OUString lcl_serializeForDisplay( const Reference<XXPathObject>& xResult break; case XPathObjectType_XPATH_STRING: - aBuffer = aBuffer + "\"" + xResult->getString() + "\""; + aBuffer.append("\"" + xResult->getString() + "\""); break; case XPathObjectType_XPATH_NODESET: |