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
e903601e
Kaydet (Commit)
e903601e
authored
Agu 23, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
can replace sequence with simple array here
Change-Id: I1b5125f5354dc2a1f4b4312dbe2b921d5cf13b49
üst
8d933132
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
xsecsign.cxx
xmlsecurity/source/helper/xsecsign.cxx
+3
-3
No files found.
xmlsecurity/source/helper/xsecsign.cxx
Dosyayı görüntüle @
e903601e
...
@@ -43,14 +43,14 @@ namespace cssxs = com::sun::star::xml::sax;
...
@@ -43,14 +43,14 @@ namespace cssxs = com::sun::star::xml::sax;
/* protected: for signature generation */
/* protected: for signature generation */
OUString
XSecController
::
createId
()
OUString
XSecController
::
createId
()
{
{
cssu
::
Sequence
<
sal_Int8
>
aSeq
(
16
)
;
sal_uInt8
aSeq
[
16
]
;
rtl_createUuid
(
reinterpret_cast
<
sal_uInt8
*>
(
aSeq
.
getArray
()),
0
,
sal_True
);
rtl_createUuid
(
aSeq
,
0
,
true
);
char
str
[
68
]
=
"ID_"
;
char
str
[
68
]
=
"ID_"
;
int
length
=
3
;
int
length
=
3
;
for
(
int
i
=
0
;
i
<
16
;
++
i
)
for
(
int
i
=
0
;
i
<
16
;
++
i
)
{
{
length
+=
sprintf
(
str
+
length
,
"%04x"
,
(
unsigned
char
)
aSeq
[
i
]);
length
+=
sprintf
(
str
+
length
,
"%04x"
,
aSeq
[
i
]);
}
}
return
OUString
::
createFromAscii
(
str
);
return
OUString
::
createFromAscii
(
str
);
...
...
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