summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svtools/source/contnr/fileview.cxx2
-rw-r--r--svtools/source/control/inettbc.cxx2
-rw-r--r--svtools/source/misc/langtab.cxx2
-rw-r--r--svtools/source/svhtml/htmlout.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index 30e13de34141..43156a5d9860 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -872,7 +872,7 @@ void ViewTabListBox_Impl::DoQuickSearch( sal_Unicode rChar )
bool bFound = mpParent->SearchNextEntry( mnSearchIndex, maQuickSearchText, false );
if ( !bFound && ( aLastText.getLength() == 1 ) &&
- ( aLastText == OUString(rChar) ) )
+ ( aLastText == OUStringLiteral1(rChar) ) )
{
mnSearchIndex = aLastPos + 1;
maQuickSearchText = aLastText;
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx
index 7fc2b0f1bc24..b40f2626b238 100644
--- a/svtools/source/control/inettbc.cxx
+++ b/svtools/source/control/inettbc.cxx
@@ -442,7 +442,7 @@ void SvtMatchContext_Impl::ReadFolder( const OUString& rURL,
// folders should get a final slash automatically
if ( bIsFolder )
- aInput += OUString(aDelimiter);
+ aInput += OUStringLiteral1(aDelimiter);
Insert( aInput, aObj.GetMainURL( INetURLObject::NO_DECODE ), true );
}
diff --git a/svtools/source/misc/langtab.cxx b/svtools/source/misc/langtab.cxx
index 120c82643462..3540c316e472 100644
--- a/svtools/source/misc/langtab.cxx
+++ b/svtools/source/misc/langtab.cxx
@@ -119,7 +119,7 @@ const OUString ApplyLreOrRleEmbedding( const OUString &rText )
OUString aRes( rText );
if (bFound)
{
- aRes = OUString(cStart) + aRes
+ aRes = OUStringLiteral1(cStart) + aRes
+ OUStringLiteral1(cPopDirectionalFormat);
}
diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx
index 99d9e38d5e84..285718db2a95 100644
--- a/svtools/source/svhtml/htmlout.cxx
+++ b/svtools/source/svhtml/htmlout.cxx
@@ -470,7 +470,7 @@ static OString lcl_ConvertCharToHTML( sal_Unicode c,
.append(';');
if( pNonConvertableChars &&
-1 == pNonConvertableChars->indexOf( c ) )
- (*pNonConvertableChars) += OUString(c);
+ (*pNonConvertableChars) += OUStringLiteral1(c);
}
}
return aDest.makeStringAndClear();