summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/usercontrol.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 09:35:47 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 09:35:47 +0100
commit8cff2e85e97b4059eda5b2ac126480085b170a79 (patch)
treea7ae3f0cba19217bfc02be4613f1a07391197878 /extensions/source/propctrlr/usercontrol.cxx
parent4770941171b0139c79b222b0754beca6bdc7162b (diff)
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: Ia91f035c188fa99cdf0b9e80cb256e1b86f00551
Diffstat (limited to 'extensions/source/propctrlr/usercontrol.cxx')
-rw-r--r--extensions/source/propctrlr/usercontrol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/usercontrol.cxx b/extensions/source/propctrlr/usercontrol.cxx
index ed0dd6d049ce..df3fdde7a19f 100644
--- a/extensions/source/propctrlr/usercontrol.cxx
+++ b/extensions/source/propctrlr/usercontrol.cxx
@@ -312,7 +312,7 @@ namespace pcr
:ONumericControl( pParent, nWinStyle )
{
getTypedControlWindow()->SetUnit( FUNIT_CUSTOM );
- getTypedControlWindow()->SetCustomUnitText(OUString(" ms"));
+ getTypedControlWindow()->SetCustomUnitText(" ms");
getTypedControlWindow()->SetCustomConvertHdl( LINK( this, OTimeDurationControl, OnCustomConvert ) );
}