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
9690dcc4
Kaydet (Commit)
9690dcc4
authored
Kas 10, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:nullptr (automatic rewrite)
Change-Id: Ic89c5fb56e1f11fa17f6014a8c9722592b144337
üst
715cabb4
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
12 deletions
+12
-12
cppcompskeleton.cxx
unodevtools/source/skeletonmaker/cppcompskeleton.cxx
+3
-3
cpptypemaker.cxx
unodevtools/source/skeletonmaker/cpptypemaker.cxx
+3
-3
javacompskeleton.cxx
unodevtools/source/skeletonmaker/javacompskeleton.cxx
+1
-1
javatypemaker.cxx
unodevtools/source/skeletonmaker/javatypemaker.cxx
+4
-4
skeletoncommon.cxx
unodevtools/source/skeletonmaker/skeletoncommon.cxx
+1
-1
No files found.
unodevtools/source/skeletonmaker/cppcompskeleton.cxx
Dosyayı görüntüle @
9690dcc4
...
...
@@ -584,7 +584,7 @@ void generateMemberInitialization(std::ostream& o,
i
!=
members
.
end
();
++
i
)
{
sal_Int32
rank
;
if
((
manager
->
decompose
(
i
->
type
,
true
,
0
,
&
rank
,
0
,
0
)
if
((
manager
->
decompose
(
i
->
type
,
true
,
nullptr
,
&
rank
,
nullptr
,
nullptr
)
<=
codemaker
::
UnoType
::
SORT_CHAR
)
&&
rank
==
0
)
{
...
...
@@ -993,7 +993,7 @@ void generateSkeleton(ProgramOptions const & options,
OString
compFileName
;
OString
tmpFileName
;
std
::
ostream
*
pofs
=
NULL
;
std
::
ostream
*
pofs
=
nullptr
;
bool
standardout
=
getOutputStream
(
options
,
".cxx"
,
&
pofs
,
compFileName
,
tmpFileName
);
...
...
@@ -1154,7 +1154,7 @@ void generateCalcAddin(ProgramOptions const & options,
OString
compFileName
;
OString
tmpFileName
;
std
::
ostream
*
pofs
=
NULL
;
std
::
ostream
*
pofs
=
nullptr
;
bool
standardout
=
getOutputStream
(
options
,
".cxx"
,
&
pofs
,
compFileName
,
tmpFileName
);
...
...
unodevtools/source/skeletonmaker/cpptypemaker.cxx
Dosyayı görüntüle @
9690dcc4
...
...
@@ -747,7 +747,7 @@ void printMapsToCppType(
rtl
::
Reference
<
unoidl
::
Entity
>
const
&
entity
,
const
char
*
cppTypeSort
)
{
o
<<
"maps to C++ "
;
if
(
cppTypeSort
!=
0
)
if
(
cppTypeSort
!=
nullptr
)
o
<<
cppTypeSort
<<
' '
;
o
<<
"type
\"
"
;
...
...
@@ -768,7 +768,7 @@ void generateDocumentation(std::ostream & o,
OUString
nucleus
;
sal_Int32
rank
;
codemaker
::
UnoType
::
Sort
sort
=
manager
->
decompose
(
b2u
(
type
),
false
,
&
nucleus
,
&
rank
,
0
,
0
);
b2u
(
type
),
false
,
&
nucleus
,
&
rank
,
nullptr
,
nullptr
);
bool
comment
=
true
;
if
(
!
delegate
.
isEmpty
())
{
...
...
@@ -862,7 +862,7 @@ void generateDocumentation(std::ostream & o,
}
else
if
(
sort
<=
codemaker
::
UnoType
::
SORT_ANY
)
{
if
(
comment
)
{
printMapsToCppType
(
o
,
options
,
manager
,
sort
,
nucleus
,
rank
,
arguments
,
entity
,
0
);
o
,
options
,
manager
,
sort
,
nucleus
,
rank
,
arguments
,
entity
,
nullptr
);
o
<<
'\n'
;
}
}
else
{
...
...
unodevtools/source/skeletonmaker/javacompskeleton.cxx
Dosyayı görüntüle @
9690dcc4
...
...
@@ -888,7 +888,7 @@ void generateSkeleton(ProgramOptions const & options,
OString
compFileName
;
OString
tmpFileName
;
std
::
ostream
*
pofs
=
NULL
;
std
::
ostream
*
pofs
=
nullptr
;
bool
standardout
=
getOutputStream
(
options
,
".java"
,
&
pofs
,
compFileName
,
tmpFileName
);
...
...
unodevtools/source/skeletonmaker/javatypemaker.cxx
Dosyayı görüntüle @
9690dcc4
...
...
@@ -117,7 +117,7 @@ void printType(
sal_Int32
rank
;
std
::
vector
<
OUString
>
arguments
;
codemaker
::
UnoType
::
Sort
sort
=
manager
->
decompose
(
name
,
true
,
&
nucleus
,
&
rank
,
&
arguments
,
0
);
name
,
true
,
&
nucleus
,
&
rank
,
&
arguments
,
nullptr
);
printType
(
o
,
options
,
manager
,
sort
,
nucleus
,
rank
,
arguments
,
referenceType
,
defaultvalue
);
...
...
@@ -662,7 +662,7 @@ void printMapsToJavaType(
std
::
vector
<
OUString
>
const
&
arguments
,
const
char
*
javaTypeSort
)
{
o
<<
"maps to Java 1.5 "
;
if
(
javaTypeSort
!=
0
)
{
if
(
javaTypeSort
!=
nullptr
)
{
o
<<
javaTypeSort
<<
' '
;
}
o
<<
"type
\"
"
;
...
...
@@ -682,7 +682,7 @@ void generateDocumentation(std::ostream & o,
OUString
nucleus
;
sal_Int32
rank
;
codemaker
::
UnoType
::
Sort
sort
=
manager
->
decompose
(
b2u
(
type
),
false
,
&
nucleus
,
&
rank
,
0
,
0
);
b2u
(
type
),
false
,
&
nucleus
,
&
rank
,
nullptr
,
nullptr
);
bool
comment
=
true
;
if
(
!
delegate
.
isEmpty
())
{
...
...
@@ -772,7 +772,7 @@ void generateDocumentation(std::ostream & o,
o
<<
'\n'
;
}
else
if
(
sort
<=
codemaker
::
UnoType
::
SORT_ANY
)
{
printMapsToJavaType
(
o
,
options
,
manager
,
sort
,
nucleus
,
rank
,
arguments
,
0
);
o
,
options
,
manager
,
sort
,
nucleus
,
rank
,
arguments
,
nullptr
);
o
<<
'\n'
;
}
else
{
switch
(
sort
)
{
...
...
unodevtools/source/skeletonmaker/skeletoncommon.cxx
Dosyayı görüntüle @
9690dcc4
...
...
@@ -459,7 +459,7 @@ bool checkAddinType(rtl::Reference< TypeManager > const & manager,
assert
(
manager
.
is
());
sal_Int32
rank
;
codemaker
::
UnoType
::
Sort
sort
=
manager
->
decompose
(
type
,
true
,
0
,
&
rank
,
0
,
0
);
type
,
true
,
nullptr
,
&
rank
,
nullptr
,
nullptr
);
if
(
sort
==
codemaker
::
UnoType
::
SORT_LONG
||
sort
==
codemaker
::
UnoType
::
SORT_DOUBLE
||
...
...
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