summaryrefslogtreecommitdiff
path: root/xmloff/source/core/DocumentSettingsContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/core/DocumentSettingsContext.cxx')
-rw-r--r--xmloff/source/core/DocumentSettingsContext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx
index cc3c27f684fa..8d1258bbeb71 100644
--- a/xmloff/source/core/DocumentSettingsContext.cxx
+++ b/xmloff/source/core/DocumentSettingsContext.cxx
@@ -230,7 +230,7 @@ SvXMLImportContext *CreateSettingsContext(SvXMLImport& rImport, sal_uInt16 p_nPr
{
SvXMLImportContext *pContext = 0;
- rProp.Name = OUString();
+ rProp.Name.clear();
sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0;
for( sal_Int16 i=0; i < nAttrCount; i++ )
{
@@ -532,7 +532,7 @@ void XMLConfigItemContext::Characters( const OUString& rChars )
{
sChars = msValue;
sChars += sTrimmedChars;
- msValue = OUString();
+ msValue.clear();
}
else
{