summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 09:36:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 09:36:00 +0100
commitb2d54b09c6148c4bb32d3dcd70523c0e5c42db31 (patch)
treeff2811f1209dca6c2cc2fa9441bb0b52890555bb /forms
parentcc6e40d5a74f5b21cc489bb4233ce4ac88165682 (diff)
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I5b543edcae47c9ae4c90dba8082127fcb2b9b938
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/DatabaseForm.cxx2
-rw-r--r--forms/source/component/scrollbar.cxx4
-rw-r--r--forms/source/component/spinbutton.cxx4
3 files changed, 5 insertions, 5 deletions
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx
index 31005fc39bac..c169d0ea7deb 100644
--- a/forms/source/component/DatabaseForm.cxx
+++ b/forms/source/component/DatabaseForm.cxx
@@ -1062,7 +1062,7 @@ bool ODatabaseForm::InsertFilePart( INetMIMEMessage& rParent, const OUString& rN
aContentDisp.append('\"');
pChild->SetContentDisposition(aContentDisp.makeStringAndClear());
pChild->SetContentType( aContentType );
- pChild->SetContentTransferEncoding(OUString("8bit"));
+ pChild->SetContentTransferEncoding("8bit");
// Body
diff --git a/forms/source/component/scrollbar.cxx b/forms/source/component/scrollbar.cxx
index d42be03570a2..3b50a096fbf3 100644
--- a/forms/source/component/scrollbar.cxx
+++ b/forms/source/component/scrollbar.cxx
@@ -284,8 +284,8 @@ namespace frm
Any OScrollBarModel::translateExternalValueToControlValue( const Any& _rExternalValue ) const
{
return translateExternalDoubleToControlIntValue( _rExternalValue, m_xAggregateSet,
- OUString( "ScrollValueMin" ),
- OUString( "ScrollValueMax" ) );
+ "ScrollValueMin",
+ "ScrollValueMax" );
}
diff --git a/forms/source/component/spinbutton.cxx b/forms/source/component/spinbutton.cxx
index 577a8bfd72ab..6c71bf98e2bf 100644
--- a/forms/source/component/spinbutton.cxx
+++ b/forms/source/component/spinbutton.cxx
@@ -238,8 +238,8 @@ namespace frm
Any OSpinButtonModel::translateExternalValueToControlValue( const Any& _rExternalValue ) const
{
return translateExternalDoubleToControlIntValue( _rExternalValue, m_xAggregateSet,
- OUString( "SpinValueMin" ),
- OUString( "SpinValueMax" ) );
+ "SpinValueMin",
+ "SpinValueMax" );
}