summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/itemwin.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 09:37:52 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 09:37:52 +0100
commit2f88f0adf0f787ae1e1a2a5ac2156b347984fd4a (patch)
tree4c238035556820792d0909ae1dc6a7a5dae43825 /svx/source/tbxctrls/itemwin.cxx
parentb183742d3f8cb0edc59d4a60132ca0036d3f41c9 (diff)
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I72d11153ffccc51633aec78c802822173dd7f5ed
Diffstat (limited to 'svx/source/tbxctrls/itemwin.cxx')
-rw-r--r--svx/source/tbxctrls/itemwin.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/tbxctrls/itemwin.cxx b/svx/source/tbxctrls/itemwin.cxx
index bbd4556c6f84..36a007647faa 100644
--- a/svx/source/tbxctrls/itemwin.cxx
+++ b/svx/source/tbxctrls/itemwin.cxx
@@ -122,7 +122,7 @@ void SvxLineBox::Select()
aLineDashItem.QueryValue ( a );
aArgs[0].Value = a;
SfxToolBoxControl::Dispatch( Reference< XDispatchProvider >( mxFrame->getController(), UNO_QUERY ),
- OUString( ".uno:LineDash" ),
+ ".uno:LineDash",
aArgs );
}
}
@@ -136,7 +136,7 @@ void SvxLineBox::Select()
aLineStyleItem.QueryValue ( a );
aArgs[0].Value = a;
SfxToolBoxControl::Dispatch( Reference< XDispatchProvider >( mxFrame->getController(), UNO_QUERY ),
- OUString( ".uno:XLineStyle" ),
+ ".uno:XLineStyle",
aArgs );
nCurPos = GetSelectEntryPos();
@@ -253,7 +253,7 @@ SvxMetricField::SvxMetricField(
, ePoolUnit(SFX_MAPUNIT_CM)
, mxFrame(rFrame)
{
- Size aSize(GetTextWidth( OUString("99,99mm") ),GetTextHeight());
+ Size aSize(GetTextWidth( "99,99mm" ),GetTextHeight());
aSize.Width() += 20;
aSize.Height() += 6;
SetSizePixel( aSize );
@@ -297,7 +297,7 @@ void SvxMetricField::Modify()
aLineWidthItem.QueryValue( a );
aArgs[0].Value = a;
SfxToolBoxControl::Dispatch( Reference< XDispatchProvider >( mxFrame->getController(), UNO_QUERY ),
- OUString( ".uno:LineWidth" ),
+ ".uno:LineWidth",
aArgs );
}