Kaydet (Commit) 20f9bf58 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:salunicodeliteral: cui

Change-Id: I06e94b663402b65b7487b314cc71217e43f2de4e
üst 49300975
...@@ -531,7 +531,7 @@ std::vector< OUString > CuiAboutConfigTabPage::commaStringToSequence( const OUSt ...@@ -531,7 +531,7 @@ std::vector< OUString > CuiAboutConfigTabPage::commaStringToSequence( const OUSt
sal_Int32 index = 0; sal_Int32 index = 0;
do do
{ {
OUString word = rCommaSepString.getToken(0, static_cast<sal_Unicode> (','), index); OUString word = rCommaSepString.getToken(0, u',', index);
word = word.trim(); word = word.trim();
if( !word.isEmpty()) if( !word.isEmpty())
tempVector.push_back(word); tempVector.push_back(word);
......
...@@ -360,7 +360,7 @@ IMPL_LINK( SvxGeneralTabPage, ModifyHdl_Impl, Edit&, rEdit, void ) ...@@ -360,7 +360,7 @@ IMPL_LINK( SvxGeneralTabPage, ModifyHdl_Impl, Edit&, rEdit, void )
sShortName += " "; sShortName += " ";
OUString sName = rEdit.GetText(); OUString sName = rEdit.GetText();
OUString sLetter = sName.isEmpty() 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()); rShortName.pEdit->SetText(sShortName.replaceAt(nField, 1, sLetter).trim());
} }
} }
......
...@@ -100,8 +100,8 @@ using namespace css::style; ...@@ -100,8 +100,8 @@ using namespace css::style;
#define MAX_BMP_WIDTH 16 #define MAX_BMP_WIDTH 16
#define MAX_BMP_HEIGHT 16 #define MAX_BMP_HEIGHT 16
#define SEARCHPATH_DELIMITER ((sal_Unicode)';') #define SEARCHPATH_DELIMITER u';'
#define SEARCHFILENAME_DELIMITER ((sal_Unicode)'/') #define SEARCHFILENAME_DELIMITER u'/'
static bool bLastRelative = false; static bool bLastRelative = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment