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
87641344
Kaydet (Commit)
87641344
authored
Ock 17, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some more loplugin:cstylecast: comphelper
Change-Id: I6d3ffb195a7c9a3c44744d296fb9d9eca00115cd
üst
19970e90
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
docpasswordhelper.cxx
comphelper/source/misc/docpasswordhelper.cxx
+2
-2
evtmethodhelper.cxx
comphelper/source/misc/evtmethodhelper.cxx
+2
-2
storagehelper.cxx
comphelper/source/misc/storagehelper.cxx
+1
-1
servicehelper.hxx
include/comphelper/servicehelper.hxx
+1
-1
No files found.
comphelper/source/misc/docpasswordhelper.cxx
Dosyayı görüntüle @
87641344
...
@@ -288,7 +288,7 @@ Sequence< sal_Int8 > DocPasswordHelper::GetXLHashAsSequence(
...
@@ -288,7 +288,7 @@ Sequence< sal_Int8 > DocPasswordHelper::GetXLHashAsSequence(
uno
::
Sequence
<
sal_Int8
>
aResultKey
;
uno
::
Sequence
<
sal_Int8
>
aResultKey
;
if
(
aDocId
.
getLength
()
==
16
)
if
(
aDocId
.
getLength
()
==
16
)
aResultKey
=
GenerateStd97Key
(
pPassData
,
(
const
sal_uInt8
*
)
aDocId
.
getConstArray
(
));
aResultKey
=
GenerateStd97Key
(
pPassData
,
reinterpret_cast
<
const
sal_uInt8
*>
(
aDocId
.
getConstArray
()
));
return
aResultKey
;
return
aResultKey
;
}
}
...
@@ -338,7 +338,7 @@ Sequence< sal_Int8 > DocPasswordHelper::GetXLHashAsSequence(
...
@@ -338,7 +338,7 @@ Sequence< sal_Int8 > DocPasswordHelper::GetXLHashAsSequence(
// Fill raw digest of above updates
// Fill raw digest of above updates
aResultKey
.
realloc
(
RTL_DIGEST_LENGTH_MD5
);
aResultKey
.
realloc
(
RTL_DIGEST_LENGTH_MD5
);
rtl_digest_rawMD5
(
hDigest
,
(
sal_uInt8
*
)
aResultKey
.
getArray
(
),
aResultKey
.
getLength
()
);
rtl_digest_rawMD5
(
hDigest
,
reinterpret_cast
<
sal_uInt8
*>
(
aResultKey
.
getArray
()
),
aResultKey
.
getLength
()
);
// Erase KeyData array and leave.
// Erase KeyData array and leave.
memset
(
pKeyData
,
0
,
sizeof
(
pKeyData
)
);
memset
(
pKeyData
,
0
,
sizeof
(
pKeyData
)
);
...
...
comphelper/source/misc/evtmethodhelper.cxx
Dosyayı görüntüle @
87641344
...
@@ -29,7 +29,7 @@ namespace comphelper
...
@@ -29,7 +29,7 @@ namespace comphelper
Sequence
<
OUString
>
getEventMethodsForType
(
const
Type
&
type
)
Sequence
<
OUString
>
getEventMethodsForType
(
const
Type
&
type
)
{
{
typelib_InterfaceTypeDescription
*
pType
=
0
;
typelib_InterfaceTypeDescription
*
pType
=
0
;
type
.
getDescription
(
(
typelib_TypeDescription
**
)
&
pType
);
type
.
getDescription
(
reinterpret_cast
<
typelib_TypeDescription
**>
(
&
pType
)
);
if
(
!
pType
)
if
(
!
pType
)
return
Sequence
<
OUString
>
();
return
Sequence
<
OUString
>
();
...
@@ -50,7 +50,7 @@ namespace comphelper
...
@@ -50,7 +50,7 @@ namespace comphelper
*
pNames
=
pRealMemberDescription
->
pMemberName
;
*
pNames
=
pRealMemberDescription
->
pMemberName
;
}
}
}
}
typelib_typedescription_release
(
(
typelib_TypeDescription
*
)
pTyp
e
);
typelib_typedescription_release
(
&
pType
->
aBas
e
);
return
aNames
;
return
aNames
;
}
}
...
...
comphelper/source/misc/storagehelper.cxx
Dosyayı görüntüle @
87641344
...
@@ -439,7 +439,7 @@ uno::Sequence< beans::NamedValue > OStorageHelper::CreatePackageEncryptionData(
...
@@ -439,7 +439,7 @@ uno::Sequence< beans::NamedValue > OStorageHelper::CreatePackageEncryptionData(
break
;
break
;
}
}
aEncryptionData
[
nSha1Ind
+
nInd
].
Value
<<=
uno
::
Sequence
<
sal_Int8
>
(
(
sal_Int8
*
)
pBuffer
,
RTL_DIGEST_LENGTH_SHA1
);
aEncryptionData
[
nSha1Ind
+
nInd
].
Value
<<=
uno
::
Sequence
<
sal_Int8
>
(
reinterpret_cast
<
sal_Int8
*>
(
pBuffer
)
,
RTL_DIGEST_LENGTH_SHA1
);
}
}
}
}
...
...
include/comphelper/servicehelper.hxx
Dosyayı görüntüle @
87641344
...
@@ -31,7 +31,7 @@ private:
...
@@ -31,7 +31,7 @@ private:
public
:
public
:
UnoTunnelIdInit
()
:
m_aSeq
(
16
)
UnoTunnelIdInit
()
:
m_aSeq
(
16
)
{
{
rtl_createUuid
(
(
sal_uInt8
*
)
m_aSeq
.
getArray
(
),
0
,
sal_True
);
rtl_createUuid
(
reinterpret_cast
<
sal_uInt8
*>
(
m_aSeq
.
getArray
()
),
0
,
sal_True
);
}
}
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>&
getSeq
()
const
{
return
m_aSeq
;
}
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>&
getSeq
()
const
{
return
m_aSeq
;
}
};
};
...
...
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