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
98215b5b
Kaydet (Commit)
98215b5b
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: Iafb0d21bc7e6483d7ca9e9ea05234ef78dbb18b2
üst
f1b0eec9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
emfplus.cxx
cppcanvas/source/mtfrenderer/emfplus.cxx
+1
-1
implrenderer.cxx
cppcanvas/source/mtfrenderer/implrenderer.cxx
+2
-2
No files found.
cppcanvas/source/mtfrenderer/emfplus.cxx
Dosyayı görüntüle @
98215b5b
...
@@ -1808,7 +1808,7 @@ namespace cppcanvas
...
@@ -1808,7 +1808,7 @@ namespace cppcanvas
OutDevState
&
rState
,
const
CanvasSharedPtr
&
rCanvas
)
OutDevState
&
rState
,
const
CanvasSharedPtr
&
rCanvas
)
{
{
sal_uInt32
length
=
pAct
->
GetDataSize
();
sal_uInt32
length
=
pAct
->
GetDataSize
();
SvMemoryStream
rMF
(
(
void
*
)
pAct
->
GetData
(
),
length
,
StreamMode
::
READ
);
SvMemoryStream
rMF
(
const_cast
<
sal_uInt8
*>
(
pAct
->
GetData
()
),
length
,
StreamMode
::
READ
);
length
-=
4
;
length
-=
4
;
...
...
cppcanvas/source/mtfrenderer/implrenderer.cxx
Dosyayı görüntüle @
98215b5b
...
@@ -1662,7 +1662,7 @@ namespace cppcanvas
...
@@ -1662,7 +1662,7 @@ namespace cppcanvas
const
sal_uInt8
*
pData
=
pAct
->
GetData
();
const
sal_uInt8
*
pData
=
pAct
->
GetData
();
if
(
pData
)
if
(
pData
)
{
{
SvMemoryStream
aMemStm
(
(
void
*
)
pData
,
pAct
->
GetDataSize
(),
StreamMode
::
READ
);
SvMemoryStream
aMemStm
(
const_cast
<
sal_uInt8
*>
(
pData
)
,
pAct
->
GetDataSize
(),
StreamMode
::
READ
);
SvtGraphicFill
aFill
;
SvtGraphicFill
aFill
;
ReadSvtGraphicFill
(
aMemStm
,
aFill
);
ReadSvtGraphicFill
(
aMemStm
,
aFill
);
...
@@ -1789,7 +1789,7 @@ namespace cppcanvas
...
@@ -1789,7 +1789,7 @@ namespace cppcanvas
}
else
if
(
pAct
->
GetComment
()
==
"EMF_PLUS_HEADER_INFO"
)
{
}
else
if
(
pAct
->
GetComment
()
==
"EMF_PLUS_HEADER_INFO"
)
{
SAL_INFO
(
"cppcanvas.emf"
,
"EMF+ passed to canvas mtf renderer - header info, size: "
<<
pAct
->
GetDataSize
());
SAL_INFO
(
"cppcanvas.emf"
,
"EMF+ passed to canvas mtf renderer - header info, size: "
<<
pAct
->
GetDataSize
());
SvMemoryStream
rMF
(
(
void
*
)
pAct
->
GetData
(
),
pAct
->
GetDataSize
(),
StreamMode
::
READ
);
SvMemoryStream
rMF
(
const_cast
<
sal_uInt8
*>
(
pAct
->
GetData
()
),
pAct
->
GetDataSize
(),
StreamMode
::
READ
);
rMF
.
ReadInt32
(
nFrameLeft
).
ReadInt32
(
nFrameTop
).
ReadInt32
(
nFrameRight
).
ReadInt32
(
nFrameBottom
);
rMF
.
ReadInt32
(
nFrameLeft
).
ReadInt32
(
nFrameTop
).
ReadInt32
(
nFrameRight
).
ReadInt32
(
nFrameBottom
);
SAL_INFO
(
"cppcanvas.emf"
,
"EMF+ picture frame: "
<<
nFrameLeft
<<
","
<<
nFrameTop
<<
" - "
<<
nFrameRight
<<
","
<<
nFrameBottom
);
SAL_INFO
(
"cppcanvas.emf"
,
"EMF+ picture frame: "
<<
nFrameLeft
<<
","
<<
nFrameTop
<<
" - "
<<
nFrameRight
<<
","
<<
nFrameBottom
);
...
...
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