summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-25 17:17:50 +0200
committerNoel Grandin <noel@peralex.com>2013-11-04 10:11:07 +0200
commitaeb41c9b9b7559c6d87bf92807acdc0df9e104cc (patch)
tree5a36bcd5af873c2b597fcda5fbd7e2f76f997669 /xmloff
parent57c2de08ddf14c0da80de06736d99382ad036539 (diff)
remove redundant calls to OUString constructor
Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/forms/layerexport.cxx2
-rw-r--r--xmloff/source/transform/StyleOASISTContext.cxx2
-rw-r--r--xmloff/source/transform/StyleOOoTContext.cxx6
3 files changed, 5 insertions, 5 deletions
diff --git a/xmloff/source/forms/layerexport.cxx b/xmloff/source/forms/layerexport.cxx
index f8838c3072c4..c9f1a79edbc4 100644
--- a/xmloff/source/forms/layerexport.cxx
+++ b/xmloff/source/forms/layerexport.cxx
@@ -532,7 +532,7 @@ namespace xmloff
if (!sReferencedBy.isEmpty())
// it's not the first _rxObject referring to the xCurrentReference
// -> separate the id
- sReferencedBy += OUString(",");
+ sReferencedBy += ",";
sReferencedBy += sCurrentId;
}
}
diff --git a/xmloff/source/transform/StyleOASISTContext.cxx b/xmloff/source/transform/StyleOASISTContext.cxx
index f5ef3fe0f2b7..f529f3ae1c67 100644
--- a/xmloff/source/transform/StyleOASISTContext.cxx
+++ b/xmloff/source/transform/StyleOASISTContext.cxx
@@ -502,7 +502,7 @@ void XMLPropertiesTContext_Impl::StartElement(
{
if ( !aNewAttrValue.isEmpty() )
{
- aNewAttrValue += OUString(" " );
+ aNewAttrValue += " ";
}
if ( IsXMLToken( aToken, XML_HORIZONTAL_ON_EVEN ) )
diff --git a/xmloff/source/transform/StyleOOoTContext.cxx b/xmloff/source/transform/StyleOOoTContext.cxx
index 7543c10f5a06..99f5971e231d 100644
--- a/xmloff/source/transform/StyleOOoTContext.cxx
+++ b/xmloff/source/transform/StyleOOoTContext.cxx
@@ -910,7 +910,7 @@ void XMLPropertiesOOoTContext_Impl::StartElement(
{
if ( !aStyleMirrorAttrValue.isEmpty() )
{
- aStyleMirrorAttrValue += OUString(" " );
+ aStyleMirrorAttrValue += " ";
}
if ( IsXMLToken( aToken, XML_HORIZONTAL_ON_LEFT_PAGES ) )
@@ -990,7 +990,7 @@ void XMLPropertiesOOoTContext_Impl::StartElement(
if( bMoveProtect && -1 == aProtectAttrValue.indexOf( rPosition ) )
{
if( !aProtectAttrValue.isEmpty() )
- aProtectAttrValue += OUString( sal_Unicode( ' ' ) );
+ aProtectAttrValue += " ";
aProtectAttrValue += rPosition;
}
@@ -998,7 +998,7 @@ void XMLPropertiesOOoTContext_Impl::StartElement(
if( bSizeProtect && -1 == aProtectAttrValue.indexOf( rSize ) )
{
if( !aProtectAttrValue.isEmpty() )
- aProtectAttrValue += OUString( sal_Unicode( ' ' ) );
+ aProtectAttrValue += " ";
aProtectAttrValue += rSize;
}