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
c1edceb2
Kaydet (Commit)
c1edceb2
authored
Tem 17, 2015
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_uInt16 to sal_Int32 with some cleanup
Change-Id: Ib6e42702dd1ce29645215114b26286f05ccc1332
üst
c1122339
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
sbxvar.cxx
basic/source/sbx/sbxvar.cxx
+4
-5
No files found.
basic/source/sbx/sbxvar.cxx
Dosyayı görüntüle @
c1edceb2
...
@@ -322,20 +322,19 @@ const OUString& SbxVariable::GetName( SbxNameType t ) const
...
@@ -322,20 +322,19 @@ const OUString& SbxVariable::GetName( SbxNameType t ) const
return
aToolString
;
return
aToolString
;
}
}
// Create a simple hashcode: the first six characters
we
re evaluated.
// Create a simple hashcode: the first six characters
a
re evaluated.
sal_uInt16
SbxVariable
::
MakeHashCode
(
const
OUString
&
rName
)
sal_uInt16
SbxVariable
::
MakeHashCode
(
const
OUString
&
rName
)
{
{
sal_uInt16
n
=
0
;
sal_uInt16
n
=
0
;
sal_Int32
i
=
0
;
sal_Int32
nLen
=
rName
.
getLength
();
sal_uInt16
nLen
=
rName
.
getLength
();
if
(
nLen
>
6
)
if
(
nLen
>
6
)
{
{
nLen
=
6
;
nLen
=
6
;
}
}
while
(
nLen
--
)
for
(
sal_Int32
i
=
0
;
i
<
nLen
;
++
i
)
{
{
sal_uInt8
c
=
(
sal_uInt8
)
rName
[
i
++
]
;
sal_uInt8
c
=
static_cast
<
sal_uInt8
>
(
rName
[
i
])
;
// If we have a commen sigen break!!
// If we have a commen sigen break!!
if
(
c
>=
0x80
)
if
(
c
>=
0x80
)
{
{
...
...
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