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
5d2c125d
Kaydet (Commit)
5d2c125d
authored
Eki 02, 2011
tarafından
Pierre-André Jacquod
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cppcheck scope reduction in codemake/... cpputype.cxx
üst
3a1f8d5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
cpputype.cxx
codemaker/source/cppumaker/cpputype.cxx
+2
-3
No files found.
codemaker/source/cppumaker/cpputype.cxx
Dosyayı görüntüle @
5d2c125d
...
@@ -1924,7 +1924,6 @@ void InterfaceType::dumpCppuMethods(FileStream& o, sal_uInt32& index)
...
@@ -1924,7 +1924,6 @@ void InterfaceType::dumpCppuMethods(FileStream& o, sal_uInt32& index)
{
{
sal_uInt16
methodCount
=
m_reader
.
getMethodCount
();
sal_uInt16
methodCount
=
m_reader
.
getMethodCount
();
OString
methodName
,
returnType
,
paramType
,
paramName
;
OString
methodName
,
returnType
,
paramType
,
paramName
;
sal_uInt16
paramCount
=
0
;
RTMethodMode
methodMode
=
RT_MODE_INVALID
;
RTMethodMode
methodMode
=
RT_MODE_INVALID
;
RTParamMode
paramMode
=
RT_PARAM_INVALID
;
RTParamMode
paramMode
=
RT_PARAM_INVALID
;
sal_Bool
bWithRuntimeException
=
sal_True
;
sal_Bool
bWithRuntimeException
=
sal_True
;
...
@@ -1936,6 +1935,7 @@ void InterfaceType::dumpCppuMethods(FileStream& o, sal_uInt32& index)
...
@@ -1936,6 +1935,7 @@ void InterfaceType::dumpCppuMethods(FileStream& o, sal_uInt32& index)
o
<<
"
\n
"
<<
indent
()
<<
"typelib_InterfaceMethodTypeDescription * pMethod = 0;
\n
"
;
o
<<
"
\n
"
<<
indent
()
<<
"typelib_InterfaceMethodTypeDescription * pMethod = 0;
\n
"
;
OString
scope
=
m_typeName
.
replace
(
'/'
,
'.'
);
OString
scope
=
m_typeName
.
replace
(
'/'
,
'.'
);
sal_uInt16
paramCount
=
0
;
for
(
sal_uInt16
i
=
0
;
i
<
methodCount
;
i
++
)
for
(
sal_uInt16
i
=
0
;
i
<
methodCount
;
i
++
)
{
{
methodMode
=
m_reader
.
getMethodFlags
(
i
);
methodMode
=
m_reader
.
getMethodFlags
(
i
);
...
@@ -1966,8 +1966,7 @@ void InterfaceType::dumpCppuMethods(FileStream& o, sal_uInt32& index)
...
@@ -1966,8 +1966,7 @@ void InterfaceType::dumpCppuMethods(FileStream& o, sal_uInt32& index)
o
<<
indent
()
<<
"typelib_Parameter_Init aParameters["
<<
paramCount
<<
"];
\n
"
;
o
<<
indent
()
<<
"typelib_Parameter_Init aParameters["
<<
paramCount
<<
"];
\n
"
;
}
}
sal_uInt16
j
;
for
(
sal_uInt16
j
=
0
;
j
<
paramCount
;
j
++
)
for
(
j
=
0
;
j
<
paramCount
;
j
++
)
{
{
paramName
=
rtl
::
OUStringToOString
(
paramName
=
rtl
::
OUStringToOString
(
m_reader
.
getMethodParameterName
(
i
,
j
),
m_reader
.
getMethodParameterName
(
i
,
j
),
...
...
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