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
473c20d8
Kaydet (Commit)
473c20d8
authored
Ock 20, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some more loplugin:cstylecast: xmlhelp
Change-Id: I1aa45f669711a90cce52bafd839bd84eb711436a
üst
e4fd2972
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
db.cxx
xmlhelp/source/cxxhelp/provider/db.cxx
+3
-3
urlparameter.cxx
xmlhelp/source/cxxhelp/provider/urlparameter.cxx
+3
-3
No files found.
xmlhelp/source/cxxhelp/provider/db.cxx
Dosyayı görüntüle @
473c20d8
...
...
@@ -85,7 +85,7 @@ void Hdf::createHashMap( bool bOptimizeForPerformance )
sal_Int32
nSize
=
m_xSFA
->
getSize
(
m_aFileURL
);
sal_Int32
nRead
=
xIn
->
readBytes
(
aData
,
nSize
);
const
char
*
pData
=
(
const
char
*
)
aData
.
getConstArray
(
);
const
char
*
pData
=
reinterpret_cast
<
const
char
*>
(
aData
.
getConstArray
()
);
int
iPos
=
0
;
while
(
iPos
<
nRead
)
{
...
...
@@ -173,7 +173,7 @@ bool Hdf::getValueForKey( const OString& rKey, HDFData& rValue )
sal_Int32
nRead
=
xIn
->
readBytes
(
aData
,
nValueLen
);
if
(
nRead
==
nValueLen
)
{
const
char
*
pData
=
(
const
sal_Char
*
)
aData
.
getConstArray
(
);
const
char
*
pData
=
reinterpret_cast
<
const
sal_Char
*>
(
aData
.
getConstArray
()
);
rValue
.
copyToBuffer
(
pData
,
nValueLen
);
bSuccess
=
true
;
}
...
...
@@ -218,7 +218,7 @@ bool Hdf::startIteration( void )
if
(
m_nItRead
==
nSize
)
{
bSuccess
=
true
;
m_pItData
=
(
const
char
*
)
m_aItData
.
getConstArray
(
);
m_pItData
=
reinterpret_cast
<
const
char
*>
(
m_aItData
.
getConstArray
()
);
m_iItPos
=
0
;
}
else
...
...
xmlhelp/source/cxxhelp/provider/urlparameter.cxx
Dosyayı görüntüle @
473c20d8
...
...
@@ -370,7 +370,7 @@ public:
void
addToBuffer
(
const
char
*
buffer
,
int
len
);
sal_Int8
*
getData
()
const
{
return
(
sal_Int8
*
)
buffer
;
}
sal_Int8
const
*
getData
()
const
{
return
reinterpret_cast
<
sal_Int8
const
*>
(
buffer
)
;
}
sal_Int32
getLen
()
const
{
return
sal_Int32
(
len
);
}
...
...
@@ -986,7 +986,7 @@ InputStreamTransformer::InputStreamTransformer( URLParameter* urlParam,
xmlRegisterInputCallbacks
(
fileMatch
,
fileOpen
,
fileRead
,
fileClose
);
xsltStylesheetPtr
cur
=
xsltParseStylesheetFile
(
(
const
xmlChar
*
)
xslURLascii
.
getStr
(
));
xsltParseStylesheetFile
(
reinterpret_cast
<
const
xmlChar
*>
(
xslURLascii
.
getStr
()
));
xmlDocPtr
doc
=
xmlParseFile
(
"vnd.sun.star.zip:/"
);
...
...
@@ -996,7 +996,7 @@ InputStreamTransformer::InputStreamTransformer( URLParameter* urlParam,
xmlChar
*
doc_txt_ptr
=
0
;
int
doc_txt_len
;
xsltSaveResultToString
(
&
doc_txt_ptr
,
&
doc_txt_len
,
res
,
cur
);
addToBuffer
(
(
const
char
*
)
doc_txt_ptr
,
doc_txt_len
);
addToBuffer
(
reinterpret_cast
<
char
*>
(
doc_txt_ptr
)
,
doc_txt_len
);
xmlFree
(
doc_txt_ptr
);
}
xmlPopInputCallbacks
();
//filePatch
...
...
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