diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-15 11:05:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-19 10:29:31 +0200 |
commit | 610b2b94b33b0fc2d79cd515f9e293ca1c2610e8 (patch) | |
tree | 6eab2639cb8104ca54daa3f7a2ebd83ef1566cf0 /sd | |
parent | 2c35fff7eca3a143d28dc75e6a73fe1101d2af77 (diff) |
remove unnecessary use of OUString constructor when assigning
change code like
aStr = OUString("xxxx");
to
aStr = "xxxx";
Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/xml/sdxmlwrp.cxx | 5 | ||||
-rw-r--r-- | sd/workben/custompanel/ctp_panel.cxx | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx index 9c102dac7503..e061407df004 100644 --- a/sd/source/filter/xml/sdxmlwrp.cxx +++ b/sd/source/filter/xml/sdxmlwrp.cxx @@ -891,7 +891,7 @@ sal_Bool SdXMLFilter::Export() if( !aName.isEmpty() ) { - sPropName = OUString( "StreamRelPath" ); + sPropName = "StreamRelPath"; xInfoSet->setPropertyValue( sPropName, makeAny( aName ) ); } } @@ -986,7 +986,8 @@ sal_Bool SdXMLFilter::Export() if( !xDocOut.is() || !xProps.is() ) return sal_False; - uno::Any aAny; aAny <<= OUString( "text/xml"); + uno::Any aAny; + aAny <<= OUString( "text/xml"); xProps->setPropertyValue( "MediaType" , aAny); // encrypt all streams diff --git a/sd/workben/custompanel/ctp_panel.cxx b/sd/workben/custompanel/ctp_panel.cxx index ab855a1564e1..6941e33ab45b 100644 --- a/sd/workben/custompanel/ctp_panel.cxx +++ b/sd/workben/custompanel/ctp_panel.cxx @@ -86,7 +86,7 @@ namespace sd { namespace colortoolpanel WindowDescriptor aWindow; aWindow.Type = WindowClass_SIMPLE; - aWindow.WindowServiceName = OUString( "window" ); + aWindow.WindowServiceName = "window"; aWindow.Parent = i_rParentWindow; aWindow.WindowAttributes = WindowAttribute::BORDER; |