Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
f06e6967
Kaydet (Commit)
f06e6967
authored
Nis 28, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:salunicodeliteral: basic
Change-Id: I479666b439f1d6324f07253d65181983b7c2c3ea
üst
c9a36f5c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
image.cxx
basic/source/classes/image.cxx
+1
-1
parser.cxx
basic/source/comp/parser.cxx
+1
-1
sbxscan.cxx
basic/source/sbx/sbxscan.cxx
+2
-2
sbxdef.hxx
include/basic/sbxdef.hxx
+1
-1
No files found.
basic/source/classes/image.cxx
Dosyayı görüntüle @
f06e6967
...
@@ -660,7 +660,7 @@ OUString SbiImage::GetString( short nId ) const
...
@@ -660,7 +660,7 @@ OUString SbiImage::GetString( short nId ) const
if
(
nLen
==
1
)
if
(
nLen
==
1
)
{
{
// Force length 1 and make char 0 afterwards
// Force length 1 and make char 0 afterwards
OUString
aNullCharStr
(
(
sal_Unicode
)
0
);
OUString
aNullCharStr
(
u'\0'
);
return
aNullCharStr
;
return
aNullCharStr
;
}
}
}
}
...
...
basic/source/comp/parser.cxx
Dosyayı görüntüle @
f06e6967
...
@@ -860,7 +860,7 @@ void SbiParser::AddConstants()
...
@@ -860,7 +860,7 @@ void SbiParser::AddConstants()
addStringConst
(
aPublics
,
"vbVerticalTab"
,
"
\x0B
"
);
addStringConst
(
aPublics
,
"vbVerticalTab"
,
"
\x0B
"
);
// Force length 1 and make char 0 afterwards
// Force length 1 and make char 0 afterwards
OUString
aNullCharStr
(
(
sal_Unicode
)
0
);
OUString
aNullCharStr
(
u'\0'
);
addStringConst
(
aPublics
,
"vbNullChar"
,
aNullCharStr
);
addStringConst
(
aPublics
,
"vbNullChar"
,
aNullCharStr
);
}
}
...
...
basic/source/sbx/sbxscan.cxx
Dosyayı görüntüle @
f06e6967
...
@@ -530,11 +530,11 @@ static sal_uInt16 printfmtstr( const OUString& rStr, OUString& rRes, const OUStr
...
@@ -530,11 +530,11 @@ static sal_uInt16 printfmtstr( const OUString& rStr, OUString& rRes, const OUStr
case
'\\'
:
case
'\\'
:
do
do
{
{
aTemp
.
append
(
*
pStr
?
*
pStr
++
:
static_cast
<
sal_Unicode
>
(
' '
)
);
aTemp
.
append
(
*
pStr
?
*
pStr
++
:
u' '
);
pFmt
++
;
pFmt
++
;
}
}
while
(
*
pFmt
&&
*
pFmt
!=
'\\'
);
while
(
*
pFmt
&&
*
pFmt
!=
'\\'
);
aTemp
.
append
(
*
pStr
?
*
pStr
++
:
static_cast
<
sal_Unicode
>
(
' '
)
);
aTemp
.
append
(
*
pStr
?
*
pStr
++
:
u' '
);
pFmt
++
;
break
;
pFmt
++
;
break
;
case
'&'
:
case
'&'
:
aTemp
=
rStr
;
aTemp
=
rStr
;
...
...
include/basic/sbxdef.hxx
Dosyayı görüntüle @
f06e6967
...
@@ -220,7 +220,7 @@ namespace o3tl
...
@@ -220,7 +220,7 @@ namespace o3tl
// of the implementation. Only type double is greedy and takes
// of the implementation. Only type double is greedy and takes
// what it gets.
// what it gets.
#define SbxMAXCHAR
((sal_Unicode)65535)
#define SbxMAXCHAR
u'\xFFFF'
#define SbxMINCHAR (0)
#define SbxMINCHAR (0)
#define SbxMAXBYTE ( 255)
#define SbxMAXBYTE ( 255)
#define SbxMAXINT ( 32767)
#define SbxMAXINT ( 32767)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment