diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-31 17:37:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-08 08:44:33 +0200 |
commit | 913b4e7d856ad6392588886a4124d05676e8968d (patch) | |
tree | 0657c6a9bacb68cbc30a93e394c207086f317938 /svx/source/unodraw/unoshap4.cxx | |
parent | a5536d9a0eac922d18f9008122034ca943d50148 (diff) |
remove unnecessary use of OUString constructor in SVX module
Change-Id: I1506daaa4a3b736ee6bbb00100fca24df8368298
Diffstat (limited to 'svx/source/unodraw/unoshap4.cxx')
-rw-r--r-- | svx/source/unodraw/unoshap4.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx index d26546f89d48..46981b5dda3c 100644 --- a/svx/source/unodraw/unoshap4.cxx +++ b/svx/source/unodraw/unoshap4.cxx @@ -366,7 +366,7 @@ bool SvxOle2Shape::getPropertyValueImpl( const OUString& rName, const SfxItemPro { ::comphelper::IEmbeddedHelper *pPersist = mpObj->GetModel()->GetPersist(); if( (NULL == pPersist) || !pPersist->getEmbeddedObjectContainer().HasEmbeddedObject( pOle->GetPersistName() ) ) - aPersistName = OUString(); + aPersistName = ""; } } @@ -461,14 +461,14 @@ sal_Bool SvxOle2Shape::createLink( const OUString& aLinkURL ) ::comphelper::IEmbeddedHelper* pPersist = mpModel->GetPersist(); uno::Sequence< beans::PropertyValue > aMediaDescr( 1 ); - aMediaDescr[0].Name = OUString("URL"); + aMediaDescr[0].Name = "URL"; aMediaDescr[0].Value <<= aLinkURL; uno::Reference< task::XInteractionHandler > xInteraction = pPersist->getInteractionHandler(); if ( xInteraction.is() ) { aMediaDescr.realloc( 2 ); - aMediaDescr[1].Name = OUString( "InteractionHandler" ); + aMediaDescr[1].Name = "InteractionHandler"; aMediaDescr[1].Value <<= xInteraction; } @@ -535,7 +535,7 @@ const SvGlobalName SvxOle2Shape::GetClassName_Impl(OUString& rHexCLSID) if( pOle2Obj ) { - rHexCLSID = OUString(); + rHexCLSID = ""; if( pOle2Obj->IsEmpty() ) { |