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
9a8281f0
Kaydet (Commit)
9a8281f0
authored
Şub 13, 2013
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix scope + member variables not initialized
Change-Id: I0a2c14246a814859c9752f96aaad9f28f6d59c75
üst
e52792c9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
dxf2mtf.cxx
filter/source/graphicfilter/idxf/dxf2mtf.cxx
+2
-3
No files found.
filter/source/graphicfilter/idxf/dxf2mtf.cxx
Dosyayı görüntüle @
9a8281f0
...
@@ -115,7 +115,6 @@ DXFLineInfo DXF2GDIMetaFile::LTypeToDXFLineInfo(const char * sLineType)
...
@@ -115,7 +115,6 @@ DXFLineInfo DXF2GDIMetaFile::LTypeToDXFLineInfo(const char * sLineType)
DXFLineInfo
DXF2GDIMetaFile
::
GetEntityDXFLineInfo
(
const
DXFBasicEntity
&
rE
)
DXFLineInfo
DXF2GDIMetaFile
::
GetEntityDXFLineInfo
(
const
DXFBasicEntity
&
rE
)
{
{
DXFLineInfo
aDXFLineInfo
;
DXFLineInfo
aDXFLineInfo
;
const
DXFLayer
*
pLayer
;
aDXFLineInfo
.
eStyle
=
LINE_SOLID
;
aDXFLineInfo
.
eStyle
=
LINE_SOLID
;
aDXFLineInfo
.
fWidth
=
0
;
aDXFLineInfo
.
fWidth
=
0
;
...
@@ -128,7 +127,7 @@ DXFLineInfo DXF2GDIMetaFile::GetEntityDXFLineInfo(const DXFBasicEntity & rE)
...
@@ -128,7 +127,7 @@ DXFLineInfo DXF2GDIMetaFile::GetEntityDXFLineInfo(const DXFBasicEntity & rE)
if
(
strcmp
(
rE
.
sLineType
,
"BYLAYER"
)
==
0
)
{
if
(
strcmp
(
rE
.
sLineType
,
"BYLAYER"
)
==
0
)
{
if
(
rE
.
sLayer
[
0
]
==
'0'
&&
rE
.
sLayer
[
1
]
==
0
)
aDXFLineInfo
=
aParentLayerDXFLineInfo
;
if
(
rE
.
sLayer
[
0
]
==
'0'
&&
rE
.
sLayer
[
1
]
==
0
)
aDXFLineInfo
=
aParentLayerDXFLineInfo
;
else
{
else
{
pLayer
=
pDXF
->
aTables
.
SearchLayer
(
rE
.
sLayer
);
const
DXFLayer
*
pLayer
=
pDXF
->
aTables
.
SearchLayer
(
rE
.
sLayer
);
if
(
pLayer
!=
NULL
)
aDXFLineInfo
=
LTypeToDXFLineInfo
(
pLayer
->
sLineType
);
if
(
pLayer
!=
NULL
)
aDXFLineInfo
=
LTypeToDXFLineInfo
(
pLayer
->
sLineType
);
else
aDXFLineInfo
=
aParentLayerDXFLineInfo
;
else
aDXFLineInfo
=
aParentLayerDXFLineInfo
;
}
}
...
@@ -746,7 +745,7 @@ void DXF2GDIMetaFile::DrawEntities(const DXFEntities & rEntities,
...
@@ -746,7 +745,7 @@ void DXF2GDIMetaFile::DrawEntities(const DXFEntities & rEntities,
}
}
DXF2GDIMetaFile
::
DXF2GDIMetaFile
()
DXF2GDIMetaFile
::
DXF2GDIMetaFile
()
:
pVirDev
(
NULL
),
pDXF
(
NULL
),
nBlockColor
(
0
),
nParentLayerColor
(
0
)
{
{
}
}
...
...
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