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
9d725554
Kaydet (Commit)
9d725554
authored
Nis 09, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:salbool
Change-Id: Id4194f4d5bb6fcf064985fddc6f7344a4d34ca04
üst
3c00e75c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
+11
-11
reflread.hxx
include/registry/reflread.hxx
+1
-1
typereg_reader.hxx
include/registry/typereg_reader.hxx
+4
-4
types.hxx
include/registry/types.hxx
+1
-1
reflread.cxx
registry/source/reflread.cxx
+5
-5
No files found.
include/registry/reflread.hxx
Dosyayı görüntüle @
9d725554
...
@@ -44,7 +44,7 @@ extern "C" {
...
@@ -44,7 +44,7 @@ extern "C" {
*/
*/
struct
RegistryTypeReader_Api
struct
RegistryTypeReader_Api
{
{
TypeReaderImpl
(
TYPEREG_CALLTYPE
*
createEntry
)
(
const
sal_uInt8
*
,
sal_uInt32
,
sal_B
ool
);
TypeReaderImpl
(
TYPEREG_CALLTYPE
*
createEntry
)
(
const
sal_uInt8
*
,
sal_uInt32
,
b
ool
);
void
(
TYPEREG_CALLTYPE
*
acquire
)
(
TypeReaderImpl
);
void
(
TYPEREG_CALLTYPE
*
acquire
)
(
TypeReaderImpl
);
void
(
TYPEREG_CALLTYPE
*
release
)
(
TypeReaderImpl
);
void
(
TYPEREG_CALLTYPE
*
release
)
(
TypeReaderImpl
);
sal_uInt16
(
TYPEREG_CALLTYPE
*
getMinorVersion
)
(
TypeReaderImpl
);
sal_uInt16
(
TYPEREG_CALLTYPE
*
getMinorVersion
)
(
TypeReaderImpl
);
...
...
include/registry/typereg_reader.hxx
Dosyayı görüntüle @
9d725554
...
@@ -56,8 +56,8 @@
...
@@ -56,8 +56,8 @@
@since UDK 3.2.0
@since UDK 3.2.0
*/
*/
REG_DLLPUBLIC
sal_B
ool
SAL_CALL
typereg_reader_create
(
REG_DLLPUBLIC
b
ool
SAL_CALL
typereg_reader_create
(
void
const
*
buffer
,
sal_uInt32
length
,
sal_B
ool
copy
,
void
const
*
buffer
,
sal_uInt32
length
,
b
ool
copy
,
typereg_Version
maxVersion
,
void
**
result
);
typereg_Version
maxVersion
,
void
**
result
);
/**
/**
...
@@ -148,7 +148,7 @@ REG_DLLPUBLIC RTTypeClass SAL_CALL typereg_reader_getTypeClass(void * handle);
...
@@ -148,7 +148,7 @@ REG_DLLPUBLIC RTTypeClass SAL_CALL typereg_reader_getTypeClass(void * handle);
@since UDK 3.2.0
@since UDK 3.2.0
*/
*/
REG_DLLPUBLIC
sal_B
ool
SAL_CALL
typereg_reader_isPublished
(
void
*
handle
);
REG_DLLPUBLIC
b
ool
SAL_CALL
typereg_reader_isPublished
(
void
*
handle
);
/**
/**
Returns the type name of a type reader.
Returns the type name of a type reader.
...
@@ -301,7 +301,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_getFieldTypeName(
...
@@ -301,7 +301,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_getFieldTypeName(
@since UDK 3.2.0
@since UDK 3.2.0
*/
*/
REG_DLLPUBLIC
sal_B
ool
SAL_CALL
typereg_reader_getFieldValue
(
REG_DLLPUBLIC
b
ool
SAL_CALL
typereg_reader_getFieldValue
(
void
*
handle
,
sal_uInt16
index
,
RTValueType
*
type
,
void
*
handle
,
sal_uInt16
index
,
RTValueType
*
type
,
union
RTConstValueUnion
*
value
);
union
RTConstValueUnion
*
value
);
...
...
include/registry/types.hxx
Dosyayı görüntüle @
9d725554
...
@@ -210,7 +210,7 @@ enum RTValueType {
...
@@ -210,7 +210,7 @@ enum RTValueType {
/** specifies a variable container for field values.
/** specifies a variable container for field values.
*/
*/
union
RTConstValueUnion
{
union
RTConstValueUnion
{
sal_B
ool
aBool
;
b
ool
aBool
;
sal_Int8
aByte
;
sal_Int8
aByte
;
sal_Int16
aShort
;
sal_Int16
aShort
;
sal_uInt16
aUShort
;
sal_uInt16
aUShort
;
...
...
registry/source/reflread.cxx
Dosyayı görüntüle @
9d725554
...
@@ -1252,8 +1252,8 @@ typereg_Version TypeRegistryEntry::getVersion() const {
...
@@ -1252,8 +1252,8 @@ typereg_Version TypeRegistryEntry::getVersion() const {
**************************************************************************/
**************************************************************************/
sal_B
ool
TYPEREG_CALLTYPE
typereg_reader_create
(
b
ool
TYPEREG_CALLTYPE
typereg_reader_create
(
void
const
*
buffer
,
sal_uInt32
length
,
sal_B
ool
copy
,
void
const
*
buffer
,
sal_uInt32
length
,
b
ool
copy
,
typereg_Version
maxVersion
,
void
**
result
)
typereg_Version
maxVersion
,
void
**
result
)
{
{
if
(
length
<
OFFSET_CP
||
length
>
SAL_MAX_UINT32
)
{
if
(
length
<
OFFSET_CP
||
length
>
SAL_MAX_UINT32
)
{
...
@@ -1287,7 +1287,7 @@ sal_Bool TYPEREG_CALLTYPE typereg_reader_create(
...
@@ -1287,7 +1287,7 @@ sal_Bool TYPEREG_CALLTYPE typereg_reader_create(
}
}
}
}
static
TypeReaderImpl
TYPEREG_CALLTYPE
createEntry
(
const
sal_uInt8
*
buffer
,
sal_uInt32
len
,
sal_B
ool
copyBuffer
)
static
TypeReaderImpl
TYPEREG_CALLTYPE
createEntry
(
const
sal_uInt8
*
buffer
,
sal_uInt32
len
,
b
ool
copyBuffer
)
{
{
void
*
handle
;
void
*
handle
;
typereg_reader_create
(
buffer
,
len
,
copyBuffer
,
TYPEREG_VERSION_1
,
&
handle
);
typereg_reader_create
(
buffer
,
len
,
copyBuffer
,
TYPEREG_VERSION_1
,
&
handle
);
...
@@ -1364,7 +1364,7 @@ RTTypeClass TYPEREG_CALLTYPE typereg_reader_getTypeClass(void * hEntry)
...
@@ -1364,7 +1364,7 @@ RTTypeClass TYPEREG_CALLTYPE typereg_reader_getTypeClass(void * hEntry)
return
RT_TYPE_INVALID
;
return
RT_TYPE_INVALID
;
}
}
sal_B
ool
TYPEREG_CALLTYPE
typereg_reader_isPublished
(
void
*
hEntry
)
b
ool
TYPEREG_CALLTYPE
typereg_reader_isPublished
(
void
*
hEntry
)
{
{
TypeRegistryEntry
*
entry
=
static_cast
<
TypeRegistryEntry
*
>
(
hEntry
);
TypeRegistryEntry
*
entry
=
static_cast
<
TypeRegistryEntry
*
>
(
hEntry
);
if
(
entry
!=
nullptr
)
{
if
(
entry
!=
nullptr
)
{
...
@@ -1515,7 +1515,7 @@ RTFieldAccess TYPEREG_CALLTYPE typereg_reader_getFieldFlags(void * hEntry, sal_u
...
@@ -1515,7 +1515,7 @@ RTFieldAccess TYPEREG_CALLTYPE typereg_reader_getFieldFlags(void * hEntry, sal_u
return
pEntry
->
m_pFields
->
getFieldAccess
(
index
);
return
pEntry
->
m_pFields
->
getFieldAccess
(
index
);
}
}
sal_B
ool
TYPEREG_CALLTYPE
typereg_reader_getFieldValue
(
b
ool
TYPEREG_CALLTYPE
typereg_reader_getFieldValue
(
void
*
hEntry
,
sal_uInt16
index
,
RTValueType
*
type
,
void
*
hEntry
,
sal_uInt16
index
,
RTValueType
*
type
,
RTConstValueUnion
*
value
)
RTConstValueUnion
*
value
)
{
{
...
...
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