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
92404853
Kaydet (Commit)
92404853
authored
Ock 17, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some more loplugin:cstylecast: embeddedobj
Change-Id: Iea3b2ca4f2598c501206ab631f86d9aa44a0407c
üst
aa99d57a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
olepersist.cxx
embeddedobj/source/msole/olepersist.cxx
+3
-3
ownview.cxx
embeddedobj/source/msole/ownview.cxx
+1
-1
No files found.
embeddedobj/source/msole/olepersist.cxx
Dosyayı görüntüle @
92404853
...
...
@@ -409,7 +409,7 @@ void OleEmbeddedObject::InsertVisualCache_Impl( const uno::Reference< io::XStrea
// write 0xFFFFFFFF at the beginning
uno
::
Sequence
<
sal_Int8
>
aData
(
4
);
*
(
(
sal_uInt32
*
)
aData
.
getArray
(
)
)
=
0xFFFFFFFF
;
*
(
reinterpret_cast
<
sal_uInt32
*>
(
aData
.
getArray
()
)
)
=
0xFFFFFFFF
;
xTempOutStream
->
writeBytes
(
aData
);
...
...
@@ -440,7 +440,7 @@ void OleEmbeddedObject::InsertVisualCache_Impl( const uno::Reference< io::XStrea
xTempOutStream
->
writeBytes
(
aData
);
// write l-index
*
(
(
sal_uInt32
*
)
aData
.
getArray
(
)
)
=
0xFFFFFFFF
;
*
(
reinterpret_cast
<
sal_uInt32
*>
(
aData
.
getArray
()
)
)
=
0xFFFFFFFF
;
xTempOutStream
->
writeBytes
(
aData
);
// write adv. flags
...
...
@@ -448,7 +448,7 @@ void OleEmbeddedObject::InsertVisualCache_Impl( const uno::Reference< io::XStrea
xTempOutStream
->
writeBytes
(
aData
);
// write compression
*
(
(
sal_uInt32
*
)
aData
.
getArray
(
)
)
=
0x0
;
*
(
reinterpret_cast
<
sal_uInt32
*>
(
aData
.
getArray
()
)
)
=
0x0
;
xTempOutStream
->
writeBytes
(
aData
);
// get the size
...
...
embeddedobj/source/msole/ownview.cxx
Dosyayı görüntüle @
92404853
...
...
@@ -424,7 +424,7 @@ void OwnView_Impl::CreateNative()
{
sal_uInt8
aClassID
[]
=
{
0x00
,
0x03
,
0x00
,
0x0C
,
0x00
,
0x00
,
0x00
,
0x00
,
0xC0
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x46
};
uno
::
Sequence
<
sal_Int8
>
aPackageClassID
(
(
sal_Int8
*
)
aClassID
,
16
);
uno
::
Sequence
<
sal_Int8
>
aPackageClassID
(
reinterpret_cast
<
sal_Int8
*>
(
aClassID
)
,
16
);
uno
::
Reference
<
io
::
XStream
>
xSubStream
;
xNameAccess
->
getByName
(
aSubStreamName
)
>>=
xSubStream
;
...
...
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