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
7e74fe41
Kaydet (Commit)
7e74fe41
authored
Tem 03, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove unused functions
Change-Id: Ic4058c133a676646bc0c5d1e52207471bb78a1cb
üst
cd047455
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
87 deletions
+1
-87
reflwrit.cxx
registry/source/reflwrit.cxx
+1
-79
reflwrit.hxx
registry/source/reflwrit.hxx
+0
-8
No files found.
registry/source/reflwrit.cxx
Dosyayı görüntüle @
7e74fe41
...
...
@@ -1184,35 +1184,6 @@ static void TYPEREG_CALLTYPE release(TypeWriterImpl hEntry)
}
}
static
void
TYPEREG_CALLTYPE
setUik
(
TypeWriterImpl
hEntry
,
const
RTUik
*
uik
)
{
TypeWriter
*
pEntry
=
static_cast
<
TypeWriter
*>
(
hEntry
);
if
(
pEntry
!=
NULL
)
{
if
(
pEntry
->
m_pUik
)
{
pEntry
->
m_pUik
->
m_Data1
=
uik
->
m_Data1
;
pEntry
->
m_pUik
->
m_Data2
=
uik
->
m_Data2
;
pEntry
->
m_pUik
->
m_Data3
=
uik
->
m_Data3
;
pEntry
->
m_pUik
->
m_Data4
=
uik
->
m_Data4
;
pEntry
->
m_pUik
->
m_Data5
=
uik
->
m_Data5
;
}
else
pEntry
->
m_pUik
=
new
RTUik
(
*
uik
);
}
}
static
void
TYPEREG_CALLTYPE
setDoku
(
TypeWriterImpl
hEntry
,
rtl_uString
*
doku
)
{
static_cast
<
TypeWriter
*
>
(
hEntry
)
->
m_doku
=
toByteString
(
doku
);
}
static
void
TYPEREG_CALLTYPE
setFileName
(
TypeWriterImpl
hEntry
,
rtl_uString
*
fileName
)
{
static_cast
<
TypeWriter
*
>
(
hEntry
)
->
m_fileName
=
toByteString
(
fileName
);
}
sal_Bool
TYPEREG_CALLTYPE
typereg_writer_setFieldData
(
void
*
handle
,
sal_uInt16
index
,
rtl_uString
const
*
documentation
,
rtl_uString
const
*
fileName
,
RTFieldAccess
flags
,
rtl_uString
const
*
name
,
...
...
@@ -1263,19 +1234,6 @@ sal_Bool TYPEREG_CALLTYPE typereg_writer_setMethodData(
return
true
;
}
static
void
TYPEREG_CALLTYPE
setMethodData
(
TypeWriterImpl
hEntry
,
sal_uInt16
index
,
rtl_uString
*
name
,
rtl_uString
*
returnTypeName
,
RTMethodMode
mode
,
sal_uInt16
paramCount
,
sal_uInt16
excCount
,
rtl_uString
*
doku
)
{
typereg_writer_setMethodData
(
hEntry
,
index
,
doku
,
mode
,
name
,
returnTypeName
,
paramCount
,
excCount
);
}
sal_Bool
TYPEREG_CALLTYPE
typereg_writer_setMethodParameterData
(
void
*
handle
,
sal_uInt16
methodIndex
,
sal_uInt16
parameterIndex
,
RTParamMode
flags
,
rtl_uString
const
*
name
,
rtl_uString
const
*
typeName
)
...
...
@@ -1291,17 +1249,6 @@ sal_Bool TYPEREG_CALLTYPE typereg_writer_setMethodParameterData(
return
true
;
}
static
void
TYPEREG_CALLTYPE
setParamData
(
TypeWriterImpl
hEntry
,
sal_uInt16
index
,
sal_uInt16
paramIndex
,
rtl_uString
*
type
,
rtl_uString
*
name
,
RTParamMode
mode
)
{
typereg_writer_setMethodParameterData
(
hEntry
,
index
,
paramIndex
,
mode
,
name
,
type
);
}
sal_Bool
TYPEREG_CALLTYPE
typereg_writer_setMethodExceptionTypeName
(
void
*
handle
,
sal_uInt16
methodIndex
,
sal_uInt16
exceptionIndex
,
rtl_uString
const
*
typeName
)
...
...
@@ -1316,14 +1263,6 @@ sal_Bool TYPEREG_CALLTYPE typereg_writer_setMethodExceptionTypeName(
return
true
;
}
static
void
TYPEREG_CALLTYPE
setExcData
(
TypeWriterImpl
hEntry
,
sal_uInt16
index
,
sal_uInt16
excIndex
,
rtl_uString
*
type
)
{
typereg_writer_setMethodExceptionTypeName
(
hEntry
,
index
,
excIndex
,
type
);
}
void
const
*
TYPEREG_CALLTYPE
typereg_writer_getBlob
(
void
*
handle
,
sal_uInt32
*
size
)
SAL_THROW_EXTERN_C
()
{
...
...
@@ -1367,16 +1306,6 @@ sal_Bool TYPEREG_CALLTYPE typereg_writer_setReferenceData(
return
true
;
}
static
void
TYPEREG_CALLTYPE
setReferenceData
(
TypeWriterImpl
hEntry
,
sal_uInt16
index
,
rtl_uString
*
name
,
RTReferenceType
refType
,
rtl_uString
*
doku
,
RTFieldAccess
access
)
{
typereg_writer_setReferenceData
(
hEntry
,
index
,
doku
,
refType
,
access
,
name
);
}
void
*
TYPEREG_CALLTYPE
typereg_writer_create
(
typereg_Version
version
,
rtl_uString
const
*
documentation
,
rtl_uString
const
*
fileName
,
RTTypeClass
typeClass
,
sal_Bool
published
,
...
...
@@ -1429,22 +1358,15 @@ static TypeWriterImpl TYPEREG_CALLTYPE createEntry(
RegistryTypeWriter_Api
*
TYPEREG_CALLTYPE
initRegistryTypeWriter_Api
()
{
static
RegistryTypeWriter_Api
aApi
=
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
static
RegistryTypeWriter_Api
aApi
=
{
0
,
0
,
0
,
0
,
0
,
0
};
if
(
!
aApi
.
acquire
)
{
aApi
.
createEntry
=
&
createEntry
;
aApi
.
acquire
=
&
acquire
;
aApi
.
release
=
&
release
;
aApi
.
setUik
=
&
setUik
;
aApi
.
setDoku
=
&
setDoku
;
aApi
.
setFileName
=
&
setFileName
;
aApi
.
setFieldData
=
&
setFieldData
;
aApi
.
setMethodData
=
&
setMethodData
;
aApi
.
setParamData
=
&
setParamData
;
aApi
.
setExcData
=
&
setExcData
;
aApi
.
getBlop
=
&
getBlop
;
aApi
.
getBlopSize
=
&
getBlopSize
;
aApi
.
setReferenceData
=
&
setReferenceData
;
return
(
&
aApi
);
}
...
...
registry/source/reflwrit.hxx
Dosyayı görüntüle @
7e74fe41
...
...
@@ -46,17 +46,9 @@ struct RegistryTypeWriter_Api
TypeWriterImpl
(
TYPEREG_CALLTYPE
*
createEntry
)
(
RTTypeClass
,
rtl_uString
*
,
rtl_uString
*
,
sal_uInt16
,
sal_uInt16
,
sal_uInt16
);
void
(
TYPEREG_CALLTYPE
*
acquire
)
(
TypeWriterImpl
);
void
(
TYPEREG_CALLTYPE
*
release
)
(
TypeWriterImpl
);
void
(
TYPEREG_CALLTYPE
*
setUik
)
(
TypeWriterImpl
,
const
RTUik
*
);
void
(
TYPEREG_CALLTYPE
*
setDoku
)
(
TypeWriterImpl
,
rtl_uString
*
);
void
(
TYPEREG_CALLTYPE
*
setFileName
)
(
TypeWriterImpl
,
rtl_uString
*
);
void
(
TYPEREG_CALLTYPE
*
setFieldData
)
(
TypeWriterImpl
,
sal_uInt16
,
rtl_uString
*
,
rtl_uString
*
,
rtl_uString
*
,
rtl_uString
*
,
RTFieldAccess
,
RTValueType
,
RTConstValueUnion
);
void
(
TYPEREG_CALLTYPE
*
setMethodData
)
(
TypeWriterImpl
,
sal_uInt16
,
rtl_uString
*
,
rtl_uString
*
,
RTMethodMode
,
sal_uInt16
,
sal_uInt16
,
rtl_uString
*
);
void
(
TYPEREG_CALLTYPE
*
setParamData
)
(
TypeWriterImpl
,
sal_uInt16
,
sal_uInt16
,
rtl_uString
*
,
rtl_uString
*
,
RTParamMode
);
void
(
TYPEREG_CALLTYPE
*
setExcData
)
(
TypeWriterImpl
,
sal_uInt16
,
sal_uInt16
,
rtl_uString
*
);
const
sal_uInt8
*
(
TYPEREG_CALLTYPE
*
getBlop
)
(
TypeWriterImpl
);
sal_uInt32
(
TYPEREG_CALLTYPE
*
getBlopSize
)
(
TypeWriterImpl
);
void
(
TYPEREG_CALLTYPE
*
setReferenceData
)
(
TypeWriterImpl
,
sal_uInt16
,
rtl_uString
*
,
RTReferenceType
,
rtl_uString
*
,
RTFieldAccess
);
};
/** the API initialization function.
...
...
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