summaryrefslogtreecommitdiff
path: root/svx/source/xml
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-31 17:37:03 +0200
committerNoel Grandin <noel@peralex.com>2013-11-08 08:44:33 +0200
commit913b4e7d856ad6392588886a4124d05676e8968d (patch)
tree0657c6a9bacb68cbc30a93e394c207086f317938 /svx/source/xml
parenta5536d9a0eac922d18f9008122034ca943d50148 (diff)
remove unnecessary use of OUString constructor in SVX module
Change-Id: I1506daaa4a3b736ee6bbb00100fca24df8368298
Diffstat (limited to 'svx/source/xml')
-rw-r--r--svx/source/xml/xmleohlp.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/xml/xmleohlp.cxx b/svx/source/xml/xmleohlp.cxx
index 7b47ddb74e89..6feddd42a055 100644
--- a/svx/source/xml/xmleohlp.cxx
+++ b/svx/source/xml/xmleohlp.cxx
@@ -190,7 +190,7 @@ void SvXMLEmbeddedObjectHelper::splitObjectURL(OUString aURLNoPar,
sal_Int32 _nPos = aURLNoPar.lastIndexOf( '/' );
if( -1 == _nPos )
{
- rContainerStorageName = OUString();
+ rContainerStorageName = "";
rObjectStorageName = aURLNoPar;
}
else
@@ -292,7 +292,7 @@ sal_Bool SvXMLEmbeddedObjectHelper::ImplGetStorageNames(
nPos = aURLNoPar.lastIndexOf( '/' );
if( -1 == nPos )
{
- rContainerStorageName = OUString();
+ rContainerStorageName = "";
rObjectStorageName = aURLNoPar.copy( nPathStart );
}
else if( nPos > nPathStart )
@@ -494,11 +494,11 @@ OUString SvXMLEmbeddedObjectHelper::ImplInsertEmbeddedObjectURL(
else
{
// Objects are written using ::comphelper::IEmbeddedHelper::SaveAs
- sRetURL = OUString("./");
+ sRetURL = "./";
if( !aContainerStorageName.isEmpty() )
{
sRetURL += aContainerStorageName;
- sRetURL += OUString( '/' );
+ sRetURL += "/";
}
sRetURL += aObjectStorageName;
}
@@ -680,7 +680,7 @@ Any SAL_CALL SvXMLEmbeddedObjectHelper::getByName(
mxTempStorage =
comphelper::OStorageHelper::GetTemporaryStorage();
Sequence < beans::PropertyValue > aDummy( 0 ), aEmbDescr( 1 );
- aEmbDescr[0].Name = OUString( "StoreVisualReplacement" );
+ aEmbDescr[0].Name = "StoreVisualReplacement";
aEmbDescr[0].Value <<= (sal_Bool)(!bOasisFormat);
if ( !bOasisFormat )
{
@@ -688,7 +688,7 @@ Any SAL_CALL SvXMLEmbeddedObjectHelper::getByName(
if ( xGrInStream.is() )
{
aEmbDescr.realloc( 2 );
- aEmbDescr[1].Name = OUString( "VisualReplacement" );
+ aEmbDescr[1].Name = "VisualReplacement";
aEmbDescr[1].Value <<= xGrInStream;
}
}