summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-08-30 15:28:09 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-08-30 15:28:09 +0200
commit1a212efd3a3ef0d87abae0299c2da2fc5249492c (patch)
tree0b0c7f938a9d57e6c6c165920df2a868f14375f9 /forms
parent0b288bf8e90fbf6bc0208d223085238e77b6b0e2 (diff)
loplugin:stringconstant: adapt to improved OUStringLiteral1 (forms)
Change-Id: I25323e586bb80b833d1b2dace5498de853aa039e
Diffstat (limited to 'forms')
-rw-r--r--forms/source/xforms/model_ui.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/xforms/model_ui.cxx b/forms/source/xforms/model_ui.cxx
index baebd0dc4bf8..2aba1c153e50 100644
--- a/forms/source/xforms/model_ui.cxx
+++ b/forms/source/xforms/model_ui.cxx
@@ -759,7 +759,7 @@ static OUString lcl_serializeForDisplay( const Reference< XAttr >& _rxAttrNode )
if ( sValue.indexOf( nQuote ) >= 0 )
nQuote = '\'';
- sResult = _rxAttrNode->getName() + "=" + OUString(nQuote) + sValue + OUString(nQuote) + " ";
+ sResult = _rxAttrNode->getName() + "=" + OUStringLiteral1(nQuote) + sValue + OUStringLiteral1(nQuote) + " ";
}
return sResult;
}