summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/xmlwrap.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-04 11:22:26 +0200
committerNoel Grandin <noel@peralex.com>2013-11-11 08:36:06 +0200
commitf12f51316a2cb230138ec6dcdc7295e18b6fce28 (patch)
tree804d24d28af3c15026353fa780199e642c7d5cf1 /sc/source/filter/xml/xmlwrap.cxx
parent2ac50736e4a3d442a43d3f9d368be45c57ad9285 (diff)
remove unnecessary use of OUString constructor in SC module
Change-Id: I2d40c589eb3b5c99300f36cd705c32cf824b2a98
Diffstat (limited to 'sc/source/filter/xml/xmlwrap.cxx')
-rw-r--r--sc/source/filter/xml/xmlwrap.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/filter/xml/xmlwrap.cxx b/sc/source/filter/xml/xmlwrap.cxx
index 97bdb0d8238a..fb3d4b13dd62 100644
--- a/sc/source/filter/xml/xmlwrap.cxx
+++ b/sc/source/filter/xml/xmlwrap.cxx
@@ -399,11 +399,11 @@ sal_Bool ScXMLImportWrapper::Import(sal_Bool bStylesOnly, ErrCode& nError)
aName = pDocHierarchItem->GetValue();
}
else
- aName = OUString( "dummyObjectName" );
+ aName = "dummyObjectName";
if( !aName.isEmpty() )
{
- sPropName = OUString("StreamRelPath");
+ sPropName = "StreamRelPath";
xInfoSet->setPropertyValue( sPropName, uno::makeAny( aName ) );
}
}
@@ -777,7 +777,7 @@ sal_Bool ScXMLImportWrapper::Export(sal_Bool bStylesOnly)
SfxObjectShell* pObjSh = rDoc.GetDocumentShell();
uno::Sequence<beans::PropertyValue> aDescriptor(1);
beans::PropertyValue* pProps = aDescriptor.getArray();
- pProps[0].Name = OUString( "FileName" );
+ pProps[0].Name = "FileName";
pProps[0].Value <<= sFileName;
/** property map for export info set */
@@ -835,7 +835,7 @@ sal_Bool ScXMLImportWrapper::Export(sal_Bool bStylesOnly)
if( !aName.isEmpty() )
{
- sPropName = OUString("StreamRelPath");
+ sPropName = "StreamRelPath";
xInfoSet->setPropertyValue( sPropName, uno::makeAny( aName ) );
}
}