diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-28 17:57:55 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-28 18:27:00 +0200 |
commit | 20f9bf58ef0326236a699cdd45da20d1e997359b (patch) | |
tree | 7ad5a7b66d3960a19d2968c5b0cd94d3a81f19d6 /cui | |
parent | 49300975187df0d72bbd5cbf454ece56bfe5b0e6 (diff) |
loplugin:salunicodeliteral: cui
Change-Id: I06e94b663402b65b7487b314cc71217e43f2de4e
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optaboutconfig.cxx | 2 | ||||
-rw-r--r-- | cui/source/options/optgenrl.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/numpages.cxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx index 3eee7ba6cf89..7e8c850ff732 100644 --- a/cui/source/options/optaboutconfig.cxx +++ b/cui/source/options/optaboutconfig.cxx @@ -531,7 +531,7 @@ std::vector< OUString > CuiAboutConfigTabPage::commaStringToSequence( const OUSt sal_Int32 index = 0; do { - OUString word = rCommaSepString.getToken(0, static_cast<sal_Unicode> (','), index); + OUString word = rCommaSepString.getToken(0, u',', index); word = word.trim(); if( !word.isEmpty()) tempVector.push_back(word); diff --git a/cui/source/options/optgenrl.cxx b/cui/source/options/optgenrl.cxx index 8ea85be28857..991041917020 100644 --- a/cui/source/options/optgenrl.cxx +++ b/cui/source/options/optgenrl.cxx @@ -360,7 +360,7 @@ IMPL_LINK( SvxGeneralTabPage, ModifyHdl_Impl, Edit&, rEdit, void ) sShortName += " "; OUString sName = rEdit.GetText(); OUString sLetter = sName.isEmpty() - ? OUString(sal_Unicode(' ')) : sName.copy(0, 1); + ? OUString(u' ') : sName.copy(0, 1); rShortName.pEdit->SetText(sShortName.replaceAt(nField, 1, sLetter).trim()); } } diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index 6dc34355bcf6..441b143c69c9 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -100,8 +100,8 @@ using namespace css::style; #define MAX_BMP_WIDTH 16 #define MAX_BMP_HEIGHT 16 -#define SEARCHPATH_DELIMITER ((sal_Unicode)';') -#define SEARCHFILENAME_DELIMITER ((sal_Unicode)'/') +#define SEARCHPATH_DELIMITER u';' +#define SEARCHFILENAME_DELIMITER u'/' static bool bLastRelative = false; |