summaryrefslogtreecommitdiffstats
path: root/xmloff/source/core
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/core')
-rw-r--r--xmloff/source/core/DocumentSettingsContext.cxx4
-rw-r--r--xmloff/source/core/XMLBase64ImportContext.cxx2
-rw-r--r--xmloff/source/core/nmspmap.cxx2
3 files changed, 4 insertions, 4 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
{
diff --git a/xmloff/source/core/XMLBase64ImportContext.cxx b/xmloff/source/core/XMLBase64ImportContext.cxx
index 72b9893288e0..76b92f1bde22 100644
--- a/xmloff/source/core/XMLBase64ImportContext.cxx
+++ b/xmloff/source/core/XMLBase64ImportContext.cxx
@@ -58,7 +58,7 @@ void XMLBase64ImportContext::Characters( const OUString& rChars )
{
sChars = sBase64CharsLeft;
sChars += sTrimmedChars;
- sBase64CharsLeft = OUString();
+ sBase64CharsLeft.clear();
}
else
{
diff --git a/xmloff/source/core/nmspmap.cxx b/xmloff/source/core/nmspmap.cxx
index 000b3f04e8f2..d1aa755ce6f7 100644
--- a/xmloff/source/core/nmspmap.cxx
+++ b/xmloff/source/core/nmspmap.cxx
@@ -311,7 +311,7 @@ sal_uInt16 SvXMLNamespaceMap::_GetKeyByAttrName( const OUString& rAttrName,
if( -1L == nColonPos )
{
// case: no ':' found -> default namespace
- xEntry->sPrefix = OUString();
+ (xEntry->sPrefix).clear();
xEntry->sName = rAttrName;
}
else