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
62ee548b
Kaydet (Commit)
62ee548b
authored
Haz 08, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I62a6714749eba8226ba3a5416ee81f2d76cf0afc
üst
950f7c31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
elements.cxx
jvmfwk/source/elements.cxx
+2
-2
framework.cxx
jvmfwk/source/framework.cxx
+3
-3
No files found.
jvmfwk/source/elements.cxx
Dosyayı görüntüle @
62ee548b
...
...
@@ -484,7 +484,7 @@ void NodeJava::write() const
xmlNode
*
nodeEnabled
=
pathObj
->
nodesetval
->
nodeTab
[
0
];
xmlSetNsProp
(
nodeEnabled
,
nsXsi
,
reinterpret_cast
<
xmlChar
const
*>
(
"nil"
),
reinterpret_cast
<
xmlChar
const
*>
(
"false"
));
xmlNodeSetContent
(
nodeEnabled
,
(
xmlChar
*
)
CXmlCharPtr
(
*
m_userClassPath
));
xmlNodeSetContent
(
nodeEnabled
,
static_cast
<
xmlChar
*>
(
CXmlCharPtr
(
*
m_userClassPath
)
));
}
//set <javaInfo> element
...
...
@@ -852,7 +852,7 @@ void CNodeJavaInfo::loadFromNode(xmlDoc * pDoc, xmlNode * pJavaInfo)
CXmlCharPtr
xmlData
;
xmlData
=
xmlNodeListGetString
(
pDoc
,
cur
->
children
,
1
);
xmlChar
*
_data
=
(
xmlChar
*
)
xmlData
;
xmlChar
*
_data
=
static_cast
<
xmlChar
*>
(
xmlData
)
;
if
(
_data
)
{
rtl
::
ByteSequence
seq
(
reinterpret_cast
<
sal_Int8
*>
(
_data
),
strlen
(
reinterpret_cast
<
char
*>
(
_data
)));
...
...
jvmfwk/source/framework.cxx
Dosyayı görüntüle @
62ee548b
...
...
@@ -451,7 +451,7 @@ javaFrameworkError SAL_CALL jfw_findAndSelectJRE(JavaInfo **pInfo)
aCurrentInfo
=
pJInfo
;
bInfoFound
=
true
;
}
else
if
(
(
JavaInfo
*
)
aCurrentInfo
==
NULL
)
else
if
(
static_cast
<
JavaInfo
*>
(
aCurrentInfo
)
==
NULL
)
{
// current Java installation does not provide all features
// but no Java installation has been detected before
...
...
@@ -537,7 +537,7 @@ javaFrameworkError SAL_CALL jfw_findAndSelectJRE(JavaInfo **pInfo)
//All Java installations found by the current plug-in lib
//do not provide the required features. Try the next plug-in
}
if
(
(
JavaInfo
*
)
aCurrentInfo
==
NULL
)
if
(
static_cast
<
JavaInfo
*>
(
aCurrentInfo
)
==
NULL
)
{
//The plug-ins did not find a suitable Java. Now try the paths which have been
//added manually.
//get the list of paths to jre locations which have been added manually
...
...
@@ -595,7 +595,7 @@ javaFrameworkError SAL_CALL jfw_findAndSelectJRE(JavaInfo **pInfo)
}
// end iterate plug-ins
}
}
if
(
(
JavaInfo
*
)
aCurrentInfo
)
if
(
static_cast
<
JavaInfo
*>
(
aCurrentInfo
)
)
{
jfw
::
NodeJava
javaNode
(
jfw
::
NodeJava
::
USER
);
javaNode
.
setJavaInfo
(
aCurrentInfo
,
true
);
...
...
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