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
e69f752b
Kaydet (Commit)
e69f752b
authored
Ock 24, 2011
tarafından
Joseph Powers
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove DECLARE_LIST( RscBaseList, RscTop* )
üst
e01c5fc7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
16 deletions
+11
-16
rscdb.hxx
rsc/inc/rscdb.hxx
+2
-2
rscdb.cxx
rsc/source/parser/rscdb.cxx
+9
-14
rscicpx.cxx
rsc/source/parser/rscicpx.cxx
+0
-0
rscinit.cxx
rsc/source/parser/rscinit.cxx
+0
-0
No files found.
rsc/inc/rscdb.hxx
Dosyayı görüntüle @
e69f752b
...
...
@@ -57,7 +57,7 @@ struct WriteRcContext
/****************** R s c T y p C o n ************************************/
// Liste die alle Basistypen enthaelt
DECLARE_LIST
(
RscBaseList
,
RscTop
*
)
typedef
::
std
::
vector
<
RscTop
*
>
RscBaseList
;
// Tabelle fuer Systemabhaengige Resourcen
struct
RscSysEntry
...
...
@@ -332,7 +332,7 @@ public:
ByteString
GetSysSearchPath
()
const
{
return
aSysSearchPath
;
}
void
InsertType
(
RscTop
*
pType
)
{
aBaseLst
.
Insert
(
pType
,
LIST_APPEND
);
aBaseLst
.
push_back
(
pType
);
}
RscTop
*
SearchType
(
Atom
nTypId
);
RscTop
*
Search
(
Atom
typ
);
...
...
rsc/source/parser/rscdb.cxx
Dosyayı görüntüle @
e69f752b
...
...
@@ -224,7 +224,6 @@ void Pre_dtorTree( RscTop * pRscTop ){
}
RscTypCont
::
~
RscTypCont
(){
RscTop
*
pRscTmp
;
RscSysEntry
*
pSysEntry
;
// Alle Unterbaeume loeschen
...
...
@@ -234,11 +233,8 @@ RscTypCont :: ~RscTypCont(){
// Alle Klassen noch gueltig, jeweilige Instanzen freigeben
// BasisTypen
pRscTmp
=
aBaseLst
.
First
();
while
(
pRscTmp
){
pRscTmp
->
Pre_dtor
();
pRscTmp
=
aBaseLst
.
Next
();
};
for
(
size_t
i
=
0
,
n
=
aBaseLst
.
size
();
i
<
n
;
++
i
)
aBaseLst
[
i
]
->
Pre_dtor
();
aBool
.
Pre_dtor
();
aShort
.
Pre_dtor
();
aUShort
.
Pre_dtor
();
...
...
@@ -256,9 +252,9 @@ RscTypCont :: ~RscTypCont(){
delete
aVersion
.
pClass
;
DestroyTree
(
pRoot
);
while
(
NULL
!=
(
pRscTmp
=
aBaseLst
.
Remove
())
){
delete
pRscTmp
;
}
;
for
(
size_t
i
=
0
,
n
=
aBaseLst
.
size
();
i
<
n
;
++
i
)
delete
aBaseLst
[
i
]
;
aBaseLst
.
clear
()
;
while
(
NULL
!=
(
pSysEntry
=
aSysLst
.
Remove
())
){
delete
pSysEntry
;
...
...
@@ -309,12 +305,11 @@ RscTop * RscTypCont::SearchType( Atom nId )
ELSE_IF
(
aLangString
)
ELSE_IF
(
aLangShort
)
RscTop
*
pEle
=
aBaseLst
.
First
();
while
(
pEle
)
for
(
size_t
i
=
0
,
n
=
aBaseLst
.
size
();
i
<
n
;
++
i
)
{
RscTop
*
pEle
=
aBaseLst
[
i
];
if
(
pEle
->
GetId
()
==
nId
)
return
pEle
;
pEle
=
aBaseLst
.
Next
();
}
return
NULL
;
}
...
...
@@ -921,8 +916,8 @@ ERRTYPE RscTypCont::WriteCxx( FILE * fOutput, ULONG nFileKey,
*************************************************************************/
void
RscTypCont
::
WriteSyntax
(
FILE
*
fOutput
)
{
for
(
s
al_uInt32
i
=
0
;
i
<
aBaseLst
.
Count
();
i
++
)
aBaseLst
.
GetObject
(
i
)
->
WriteSyntaxHeader
(
fOutput
,
this
);
for
(
s
ize_t
i
=
0
;
i
<
aBaseLst
.
size
();
i
++
)
aBaseLst
[
i
]
->
WriteSyntaxHeader
(
fOutput
,
this
);
RscEnumerateRef
aEnumRef
(
this
,
pRoot
,
fOutput
);
aEnumRef
.
WriteSyntax
();
}
...
...
rsc/source/parser/rscicpx.cxx
Dosyayı görüntüle @
e69f752b
This diff is collapsed.
Click to expand it.
rsc/source/parser/rscinit.cxx
Dosyayı görüntüle @
e69f752b
This diff is collapsed.
Click to expand it.
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