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
cc74d3ce
Kaydet (Commit)
cc74d3ce
authored
Şub 16, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix debug=2 build
Change-Id: Id7c6db5c6cbefef427d9c2cc4bd210811b5a7991
üst
0809f1ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
45 deletions
+2
-45
emfplus.cxx
cppcanvas/source/mtfrenderer/emfplus.cxx
+1
-31
enhwmf.cxx
vcl/source/filter/wmf/enhwmf.cxx
+1
-14
No files found.
cppcanvas/source/mtfrenderer/emfplus.cxx
Dosyayı görüntüle @
cc74d3ce
...
...
@@ -120,22 +120,6 @@ namespace cppcanvas
{
namespace
internal
{
#if OSL_DEBUG_LEVEL > 1
void
dumpWords
(
SvStream
&
s
,
int
i
)
{
sal_uInt32
pos
=
s
.
Tell
();
sal_Int16
data
;
SAL_INFO
(
"cppcanvas.emf"
,
"EMF+ dumping words"
);
for
(;
i
>
0
;
i
--
)
{
s
>>
data
;
SAL_INFO
(
"cppcanvas.emf"
,
"EMF+
\t
data: "
<<
std
::
hex
<<
data
<<
std
::
dec
);
}
SAL_INFO
(
"cppcanvas.emf"
,
"EMF+ end dumping words"
);
s
.
Seek
(
pos
);
}
#endif
struct
EMFPPath
:
public
EMFPObject
{
::
basegfx
::
B2DPolyPolygon
aPolygon
;
...
...
@@ -454,9 +438,6 @@ namespace cppcanvas
SAL_INFO
(
"cppcanvas.emf"
,
"EMF+
\t
path length: "
<<
pathLength
);
sal_uInt32
pos
=
s
.
Tell
();
#if OSL_DEBUG_LEVEL > 1
dumpWords
(
s
,
32
);
#endif
sal_uInt32
pathHeader
;
sal_Int32
pathPoints
,
pathFlags
;
...
...
@@ -523,10 +504,6 @@ namespace cppcanvas
SAL_INFO
(
"cppcanvas.emf"
,
"EMF+
\t
color["
<<
i
<<
"]: 0x"
<<
std
::
hex
<<
color
<<
std
::
dec
);
}
}
}
else
{
#if OSL_DEBUG_LEVEL > 1
dumpWords
(
s
,
1024
);
#endif
}
break
;
}
...
...
@@ -1009,7 +986,7 @@ namespace cppcanvas
SvFileStream
file
(
emfp_debug_filename
,
STREAM_WRITE
|
STREAM_TRUNC
);
mfStream
>>
file
;
mfStream
.
WriteStream
(
file
)
;
file
.
Flush
();
file
.
Close
();
#endif
...
...
@@ -1616,10 +1593,6 @@ namespace cppcanvas
sal_uInt32
length
=
pAct
->
GetDataSize
();
SvMemoryStream
rMF
((
void
*
)
pAct
->
GetData
(),
length
,
STREAM_READ
);
#if OSL_DEBUG_LEVEL > 2
SAL_INFO
(
"cppcanvas.emf"
,
"EMF+
\t
Dump of EMF+ record"
);
dumpWords
(
rMF
,
length
);
#endif
length
-=
4
;
while
(
length
>
0
)
{
...
...
@@ -2274,9 +2247,6 @@ namespace cppcanvas
{
SAL_WARN
(
"cppcanvas.emf"
,
"ImplRenderer::processEMFPlus: "
"size "
<<
size
<<
" > length "
<<
length
);
#if OSL_DEBUG_LEVEL > 1
dumpWords
(
rMF
,
length
);
#endif
length
=
0
;
}
}
...
...
vcl/source/filter/wmf/enhwmf.cxx
Dosyayı görüntüle @
cc74d3ce
...
...
@@ -236,19 +236,6 @@ static bool ImplReadRegion( PolyPolygon& rPolyPoly, SvStream& rSt, sal_uInt32 nL
return
bOk
;
}
#if OSL_DEBUG_LEVEL > 1
void
dumpWords
(
SvStream
&
s
,
int
i
)
{
sal_uInt32
pos
=
s
.
Tell
();
sal_Int16
data
;
for
(
;
i
>
0
;
i
--
)
{
s
>>
data
;
SAL_INFO
(
"vcl.emf"
,
"
\t\t\t
data: "
<<
std
::
hex
<<
data
<<
std
::
dec
);
}
s
.
Seek
(
pos
);
};
#endif
void
EnhWMFReader
::
ReadEMFPlusComment
(
sal_uInt32
length
,
sal_Bool
&
bHaveDC
)
{
if
(
!
bEMFPlus
)
{
...
...
@@ -260,7 +247,7 @@ void EnhWMFReader::ReadEMFPlusComment(sal_uInt32 length, sal_Bool& bHaveDC)
pWMF
->
Seek
(
0
);
SvFileStream
file
(
OUString
(
"/tmp/emf-stream.emf"
),
STREAM_WRITE
|
STREAM_TRUNC
);
*
pWMF
>>
file
;
pWMF
->
WriteStream
(
file
)
;
file
.
Flush
();
file
.
Close
();
...
...
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