summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-28 17:54:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-28 18:26:55 +0200
commit622057bf0b621b56dedce6439cefce28156786db (patch)
treec5bf01b069ccac97bf1027a7029eb38d92d21e89 /sw/source/ui
parentd9917e2009598b5b7d938bfb04393cbf5cda2862 (diff)
loplugin:salunicodeliteral: sw
Change-Id: I3ec5a60fff8577677eaa4977cddf69bec4078cec
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/index/cnttab.cxx6
-rw-r--r--sw/source/ui/misc/glosbib.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 8ca1aaf1e9ed..a8099fb84e9a 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -1910,9 +1910,9 @@ SwTOXEntryTabPage::SwTOXEntryTabPage(vcl::Window* pParent, const SfxItemSet& rAt
m_pFillCharCB->InsertEntry(OUString('.'));
m_pFillCharCB->InsertEntry(OUString('-'));
m_pFillCharCB->InsertEntry(OUString('_'));
- m_pFillCharCB->InsertEntry(OUString(sal_Unicode(0x2024))); // ONE DOT LEADER
- m_pFillCharCB->InsertEntry(OUString(sal_Unicode(0x2025))); // TWO DOT LEADER
- m_pFillCharCB->InsertEntry(OUString(sal_Unicode(0x2026))); // HORIZONTAL ELLIPSIS
+ m_pFillCharCB->InsertEntry(OUString(u'\x2024')); // ONE DOT LEADER
+ m_pFillCharCB->InsertEntry(OUString(u'\x2025')); // TWO DOT LEADER
+ m_pFillCharCB->InsertEntry(OUString(u'\x2026')); // HORIZONTAL ELLIPSIS
m_pEditStylePB->Enable(false);
diff --git a/sw/source/ui/misc/glosbib.cxx b/sw/source/ui/misc/glosbib.cxx
index 161e477200f8..bd1ab18405e6 100644
--- a/sw/source/ui/misc/glosbib.cxx
+++ b/sw/source/ui/misc/glosbib.cxx
@@ -40,7 +40,7 @@
#define PATH_CASE_SENSITIVE 0x01
#define PATH_READONLY 0x02
-#define RENAME_TOKEN_DELIM (sal_Unicode)1
+#define RENAME_TOKEN_DELIM u'\x0001'
SwGlossaryGroupDlg::SwGlossaryGroupDlg(vcl::Window * pParent,
std::vector<OUString> const& rPathArr, SwGlossaryHdl *pHdl)