From 08fe82e59cbc598d2683d72877653316c1e41962 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 13 Dec 2013 09:29:22 +0200 Subject: Remove unnecessary use of OUString constructor in + expressions Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50 --- test/source/beans/xpropertyset.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/source/beans/xpropertyset.cxx') diff --git a/test/source/beans/xpropertyset.cxx b/test/source/beans/xpropertyset.cxx index c0f26d8aac17..b842cd2ce9c8 100644 --- a/test/source/beans/xpropertyset.cxx +++ b/test/source/beans/xpropertyset.cxx @@ -149,7 +149,7 @@ bool XPropertySet::isPropertyValueChangeable(const OUString& rName) { // string type OUString aOld = any.get(); - OUString aNew = aOld + OUString("foo"); + OUString aNew = aOld + "foo"; xPropSet->setPropertyValue(rName, makeAny(aNew)); } else if (type == getCppuType()) -- cgit v1.2.3