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
4423b09f
Kaydet (Commit)
4423b09f
authored
Ock 18, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some more loplugin:cstylecast: svl
Change-Id: I98f34cd3925189941d33056d709a5f5bc26412a7
üst
c2c134cd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
documentlockfile.cxx
svl/source/misc/documentlockfile.cxx
+1
-1
sharecontrolfile.cxx
svl/source/misc/sharecontrolfile.cxx
+1
-1
passwordcontainer.cxx
svl/source/passwordcontainer/passwordcontainer.cxx
+6
-6
No files found.
svl/source/misc/documentlockfile.cxx
Dosyayı görüntüle @
4423b09f
...
...
@@ -80,7 +80,7 @@ void DocumentLockFile::WriteEntryToStream( const uno::Sequence< OUString >& aEnt
}
OString
aStringData
(
OUStringToOString
(
aBuffer
.
makeStringAndClear
(),
RTL_TEXTENCODING_UTF8
)
);
uno
::
Sequence
<
sal_Int8
>
aData
(
(
sal_Int8
*
)
aStringData
.
getStr
(
),
aStringData
.
getLength
()
);
uno
::
Sequence
<
sal_Int8
>
aData
(
reinterpret_cast
<
sal_Int8
const
*>
(
aStringData
.
getStr
()
),
aStringData
.
getLength
()
);
xOutput
->
writeBytes
(
aData
);
}
...
...
svl/source/misc/sharecontrolfile.cxx
Dosyayı görüntüle @
4423b09f
...
...
@@ -222,7 +222,7 @@ void ShareControlFile::SetUsersDataAndStore( const uno::Sequence< uno::Sequence<
}
OString
aStringData
(
OUStringToOString
(
aBuffer
.
makeStringAndClear
(),
RTL_TEXTENCODING_UTF8
)
);
uno
::
Sequence
<
sal_Int8
>
aData
(
(
sal_Int8
*
)
aStringData
.
getStr
(
),
aStringData
.
getLength
()
);
uno
::
Sequence
<
sal_Int8
>
aData
(
reinterpret_cast
<
sal_Int8
const
*>
(
aStringData
.
getStr
()
),
aStringData
.
getLength
()
);
m_xOutputStream
->
writeBytes
(
aData
);
m_aUsersData
=
aUsersData
;
}
...
...
svl/source/passwordcontainer/passwordcontainer.cxx
Dosyayı görüntüle @
4423b09f
...
...
@@ -156,7 +156,7 @@ static OUString getAsciiLine( const ::rtl::ByteSequence& buf )
}
outbuf
[
buf
.
getLength
()
*
2
]
=
'\0'
;
aResult
=
OUString
::
createFromAscii
(
(
sal_Char
*
)
outbuf
.
getArray
(
)
);
aResult
=
OUString
::
createFromAscii
(
reinterpret_cast
<
char
*>
(
outbuf
.
getArray
()
)
);
return
aResult
;
}
...
...
@@ -466,10 +466,10 @@ vector< OUString > PasswordContainer::DecodePasswords( const OUString& aLine, co
::
rtl
::
ByteSequence
resSeq
(
aSeq
.
getLength
()
);
result
=
rtl_cipher_decode
(
aDecoder
,
(
sal_uInt8
*
)
aSeq
.
getArray
(),
aSeq
.
getLength
(),
(
sal_uInt8
*
)
resSeq
.
getArray
(
),
resSeq
.
getLength
()
);
result
=
rtl_cipher_decode
(
aDecoder
,
aSeq
.
getArray
(),
aSeq
.
getLength
(),
reinterpret_cast
<
sal_uInt8
*>
(
resSeq
.
getArray
()
),
resSeq
.
getLength
()
);
OUString
aPasswd
(
(
sal_Char
*
)
resSeq
.
getArray
(
),
resSeq
.
getLength
(),
RTL_TEXTENCODING_UTF8
);
OUString
aPasswd
(
reinterpret_cast
<
char
*>
(
resSeq
.
getArray
()
),
resSeq
.
getLength
(),
RTL_TEXTENCODING_UTF8
);
rtl_cipher_destroy
(
aDecoder
);
...
...
@@ -517,8 +517,8 @@ OUString PasswordContainer::EncodePasswords( vector< OUString > lines, const OUS
{
::
rtl
::
ByteSequence
resSeq
(
aSeq
.
getLength
()
+
1
);
result
=
rtl_cipher_encode
(
aEncoder
,
(
sal_uInt8
*
)
aSeq
.
getStr
(),
aSeq
.
getLength
()
+
1
,
(
sal_uInt8
*
)
resSeq
.
getArray
(
),
resSeq
.
getLength
()
);
result
=
rtl_cipher_encode
(
aEncoder
,
aSeq
.
getStr
(),
aSeq
.
getLength
()
+
1
,
reinterpret_cast
<
sal_uInt8
*>
(
resSeq
.
getArray
()
),
resSeq
.
getLength
()
);
/*
//test
...
...
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