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 /svx/source/svdraw/svdograf.cxx | |
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 'svx/source/svdraw/svdograf.cxx')
-rw-r--r-- | svx/source/svdraw/svdograf.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx index 9a96952f7c3d..ff644a5f0276 100644 --- a/svx/source/svdraw/svdograf.cxx +++ b/svx/source/svdraw/svdograf.cxx @@ -126,7 +126,7 @@ const Graphic ImpLoadLinkedGraphic( const OUString& aFileName, const OUString& a // As this is a linked graphic the GfxLink is not needed if saving/loading our own format. // But this link is required by some filters to access the native graphic (PDF export/MS export), // there we should create a new service to provide this data if needed - aFilterData[ 0 ].Name = OUString( "CreateNativeLink" ); + aFilterData[ 0 ].Name = "CreateNativeLink"; aFilterData[ 0 ].Value = Any( true ); rGF.ImportGraphic( aGraphic, aEmptyStr, *pInStrm, nFilter, NULL, 0, &aFilterData ); } @@ -673,9 +673,9 @@ void SdrGrafObj::SetGraphicLink(const OUString& rFileName, const OUString& rRefe void SdrGrafObj::ReleaseGraphicLink() { ImpLinkAbmeldung(); - aFileName = OUString(); + aFileName = ""; aReferer = ""; - aFilterName = OUString(); + aFilterName = ""; } bool SdrGrafObj::IsLinkedGraphic() const |