summaryrefslogtreecommitdiff
path: root/oox/source
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source')
-rw-r--r--oox/source/core/relations.cxx2
-rw-r--r--oox/source/dump/dumperbase.cxx2
-rw-r--r--oox/source/helper/containerhelper.cxx2
-rw-r--r--oox/source/helper/textinputstream.cxx2
-rw-r--r--oox/source/vml/vmlshape.cxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/oox/source/core/relations.cxx b/oox/source/core/relations.cxx
index 49a84d368e56..25e8646d1669 100644
--- a/oox/source/core/relations.cxx
+++ b/oox/source/core/relations.cxx
@@ -35,7 +35,7 @@ OUString lclRemoveFileName( const OUString& rPath )
OUString lclAppendFileName( const OUString& rPath, const OUString& rFileName )
{
return rPath.isEmpty() ? rFileName :
- rPath + OUStringLiteral1('/') + rFileName;
+ rPath + OUStringChar('/') + rFileName;
}
OUString createOfficeDocRelationTypeTransitional(const OUString& rType)
diff --git a/oox/source/dump/dumperbase.cxx b/oox/source/dump/dumperbase.cxx
index c1a5f04b4035..9f4d18165f10 100644
--- a/oox/source/dump/dumperbase.cxx
+++ b/oox/source/dump/dumperbase.cxx
@@ -2380,7 +2380,7 @@ void XmlStreamObject::implDumpText( TextInputStream& rTextStrm )
{
while( (nPos < aElem.getLength()) && (aElem[ nPos ] >= 32) ) ++nPos;
if( nPos < aElem.getLength() )
- aElem = aElem.copy( 0, nPos ) + OUStringLiteral1(' ') + aElem.copy( nPos ).trim();
+ aElem = aElem.copy( 0, nPos ) + OUStringChar(' ') + aElem.copy( nPos ).trim();
++nPos;
}
diff --git a/oox/source/helper/containerhelper.cxx b/oox/source/helper/containerhelper.cxx
index eea52e254ac2..32296fbbd8c8 100644
--- a/oox/source/helper/containerhelper.cxx
+++ b/oox/source/helper/containerhelper.cxx
@@ -86,7 +86,7 @@ OUString ContainerHelper::getUnusedName(
OUString aNewName = rSuggestedName;
sal_Int32 nIndex = -1;
while( rxNameAccess->hasByName( aNewName ) )
- aNewName = rSuggestedName + OUStringLiteral1(cSeparator) + OUString::number( nIndex++ );
+ aNewName = rSuggestedName + OUStringChar(cSeparator) + OUString::number( nIndex++ );
return aNewName;
}
diff --git a/oox/source/helper/textinputstream.cxx b/oox/source/helper/textinputstream.cxx
index 2884bd14d99d..3d284cfc8e72 100644
--- a/oox/source/helper/textinputstream.cxx
+++ b/oox/source/helper/textinputstream.cxx
@@ -194,7 +194,7 @@ OUString TextInputStream::createFinalString( const OUString& rString )
if( mcPendingChar == 0 )
return rString;
- OUString aString = OUStringLiteral1( mcPendingChar ) + rString;
+ OUString aString = OUStringChar( mcPendingChar ) + rString;
mcPendingChar = 0;
return aString;
}
diff --git a/oox/source/vml/vmlshape.cxx b/oox/source/vml/vmlshape.cxx
index c21471e5c475..e27700fec895 100644
--- a/oox/source/vml/vmlshape.cxx
+++ b/oox/source/vml/vmlshape.cxx
@@ -325,7 +325,7 @@ OUString ShapeBase::getShapeName() const
{
sal_Int32 nShapeIdx = mrDrawing.getLocalShapeIndex( getShapeId() );
if( nShapeIdx > 0 )
- return aBaseName + OUStringLiteral1(' ') + OUString::number( nShapeIdx );
+ return aBaseName + OUStringChar(' ') + OUString::number( nShapeIdx );
}
return OUString();