summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-15 11:05:19 +0200
committerNoel Grandin <noel@peralex.com>2013-11-19 10:29:31 +0200
commit610b2b94b33b0fc2d79cd515f9e293ca1c2610e8 (patch)
tree6eab2639cb8104ca54daa3f7a2ebd83ef1566cf0 /toolkit
parent2c35fff7eca3a143d28dc75e6a73fe1101d2af77 (diff)
remove unnecessary use of OUString constructor when assigning
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/dialogcontrol.cxx8
-rw-r--r--toolkit/source/controls/tabpagemodel.cxx8
2 files changed, 8 insertions, 8 deletions
diff --git a/toolkit/source/controls/dialogcontrol.cxx b/toolkit/source/controls/dialogcontrol.cxx
index 06b532e8862e..712f2d296c92 100644
--- a/toolkit/source/controls/dialogcontrol.cxx
+++ b/toolkit/source/controls/dialogcontrol.cxx
@@ -478,8 +478,8 @@ throw (::com::sun::star::uno::RuntimeException)
Sequence< OUString > aProps( 2 );
Sequence< Any > aValues( 2 );
// Properties in a sequence must be sorted!
- aProps[0] = OUString( "Height" );
- aProps[1] = OUString( "Width" );
+ aProps[0] = "Height";
+ aProps[1] = "Width";
aValues[0] <<= aAppFontSize.Height();
aValues[1] <<= aAppFontSize.Width();
@@ -504,8 +504,8 @@ throw (::com::sun::star::uno::RuntimeException)
mbPosModified = true;
Sequence< OUString > aProps( 2 );
Sequence< Any > aValues( 2 );
- aProps[0] = OUString( "PositionX" );
- aProps[1] = OUString( "PositionY" );
+ aProps[0] = "PositionX";
+ aProps[1] = "PositionY";
aValues[0] <<= aTmp.Width();
aValues[1] <<= aTmp.Height();
diff --git a/toolkit/source/controls/tabpagemodel.cxx b/toolkit/source/controls/tabpagemodel.cxx
index e7c8c78807f9..c3ca4552988b 100644
--- a/toolkit/source/controls/tabpagemodel.cxx
+++ b/toolkit/source/controls/tabpagemodel.cxx
@@ -265,8 +265,8 @@ throw (::com::sun::star::uno::RuntimeException)
Sequence< OUString > aProps( 2 );
Sequence< Any > aValues( 2 );
// Properties in a sequence must be sorted!
- aProps[0] = OUString( "Height" );
- aProps[1] = OUString( "Width" );
+ aProps[0] = "Height";
+ aProps[1] = "Width";
aValues[0] <<= aAppFontSize.Height();
aValues[1] <<= aAppFontSize.Width();
@@ -291,8 +291,8 @@ throw (::com::sun::star::uno::RuntimeException)
mbPosModified = true;
Sequence< OUString > aProps( 2 );
Sequence< Any > aValues( 2 );
- aProps[0] = OUString( "PositionX" );
- aProps[1] = OUString( "PositionY" );
+ aProps[0] = "PositionX";
+ aProps[1] = "PositionY";
aValues[0] <<= aTmp.Width();
aValues[1] <<= aTmp.Height();