summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/fldui/changedb.cxx2
-rw-r--r--sw/source/ui/index/cnttab.cxx4
-rw-r--r--sw/source/ui/misc/bookmark.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/fldui/changedb.cxx b/sw/source/ui/fldui/changedb.cxx
index 1200a8554061..e83e1afd640f 100644
--- a/sw/source/ui/fldui/changedb.cxx
+++ b/sw/source/ui/fldui/changedb.cxx
@@ -112,7 +112,7 @@ std::unique_ptr<weld::TreeIter> SwChangeDBDlg::Insert(const OUString& rDBName)
OUString sUserData = rDBName.getToken(0, DB_DELIM, nIdx);
sal_Int32 nCommandType = sUserData.toInt32();
- OUString rToInsert = nCommandType ? OUStringLiteral(RID_BMP_DBQUERY) : OUStringLiteral(RID_BMP_DBTABLE);
+ OUString rToInsert = nCommandType ? OUStringLiteral(u"" RID_BMP_DBQUERY) : OUStringLiteral(u"" RID_BMP_DBTABLE);
std::unique_ptr<weld::TreeIter> xIter(m_xUsedDBTLB->make_iterator());
if (m_xUsedDBTLB->get_iter_first(*xIter))
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 84426d4962a9..8fa6ae0e21d6 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -3838,8 +3838,8 @@ void SwEntryBrowseBox::WriteEntries(SvStream& rOutStr)
pEntry->sAlternative + ";" +
pEntry->sPrimKey + ";" +
pEntry->sSecKey + ";" +
- (pEntry->bCase ? OUStringLiteral("1") : OUStringLiteral("0")) + ";" +
- (pEntry->bWord ? OUStringLiteral("1") : OUStringLiteral("0")) );
+ (pEntry->bCase ? OUStringLiteral(u"1") : OUStringLiteral(u"0")) + ";" +
+ (pEntry->bWord ? OUStringLiteral(u"1") : OUStringLiteral(u"0")) );
if( sWrite.getLength() > 5 )
rOutStr.WriteByteStringLine( sWrite, eTEnc );
diff --git a/sw/source/ui/misc/bookmark.cxx b/sw/source/ui/misc/bookmark.cxx
index c72470ab471d..852a74c0d529 100644
--- a/sw/source/ui/misc/bookmark.cxx
+++ b/sw/source/ui/misc/bookmark.cxx
@@ -38,7 +38,7 @@
using namespace ::com::sun::star;
-const OUStringLiteral BookmarkTable::aForbiddenChars("/\\@*?\",#");
+const OUStringLiteral BookmarkTable::aForbiddenChars(u"/\\@*?\",#");
const char BookmarkTable::cSeparator(';');
// callback to modify EditBox