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
b8338768
Kaydet (Commit)
b8338768
authored
Ock 10, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use bool
Change-Id: Id6c1f1d4e4ee7aa29f16ef6930c1eb3d4a3a411f
üst
f276c005
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
5 deletions
+4
-5
rscdef.hxx
rsc/inc/rscdef.hxx
+1
-1
rscrange.hxx
rsc/inc/rscrange.hxx
+1
-2
rscyacc.y
rsc/source/parser/rscyacc.y
+1
-1
rscdef.cxx
rsc/source/tools/rscdef.cxx
+1
-1
No files found.
rsc/inc/rscdef.hxx
Dosyayı görüntüle @
b8338768
...
@@ -49,7 +49,7 @@ public:
...
@@ -49,7 +49,7 @@ public:
}
aLong
;
}
aLong
;
}
aExp
;
}
aExp
;
char
cType
;
char
cType
;
char
cUnused
;
bool
cUnused
;
bool
IsNumber
()
const
{
return
(
RSCEXP_LONG
==
cType
);
}
bool
IsNumber
()
const
{
return
(
RSCEXP_LONG
==
cType
);
}
bool
IsExpression
()
const
{
return
(
RSCEXP_EXP
==
cType
);
}
bool
IsExpression
()
const
{
return
(
RSCEXP_EXP
==
cType
);
}
bool
IsDefinition
()
const
{
return
(
RSCEXP_DEF
==
cType
);
}
bool
IsDefinition
()
const
{
return
(
RSCEXP_DEF
==
cType
);
}
...
...
rsc/inc/rscrange.hxx
Dosyayı görüntüle @
b8338768
...
@@ -136,8 +136,7 @@ public:
...
@@ -136,8 +136,7 @@ public:
bool
IsDefault
(
const
RSCINST
&
rInst
)
bool
IsDefault
(
const
RSCINST
&
rInst
)
{
{
//cUnused wird fuer Defaultkennung verwendet
//cUnused wird fuer Defaultkennung verwendet
return
((
RscId
*
)
rInst
.
pData
)
->
aExp
.
cUnused
return
((
RscId
*
)
rInst
.
pData
)
->
aExp
.
cUnused
;
?
true
:
false
;
}
}
// Als Default setzen
// Als Default setzen
bool
IsValueDefault
(
const
RSCINST
&
rInst
,
CLASS_DATA
pDef
);
bool
IsValueDefault
(
const
RSCINST
&
rInst
,
CLASS_DATA
pDef
);
...
...
rsc/source/parser/rscyacc.y
Dosyayı görüntüle @
b8338768
...
@@ -387,7 +387,7 @@ resource_definition
...
@@ -387,7 +387,7 @@ resource_definition
RscExpType aExpType;
RscExpType aExpType;
RscExpression * pExpr;
RscExpression * pExpr;
aExpType.cUnused =
0
;
aExpType.cUnused =
false
;
aExpType.cType = RSCEXP_NOTHING;
aExpType.cType = RSCEXP_NOTHING;
aExpType.SetLong( 0 );
aExpType.SetLong( 0 );
aExpType.cType = RSCEXP_LONG;
aExpType.cType = RSCEXP_LONG;
...
...
rsc/source/tools/rscdef.cxx
Dosyayı görüntüle @
b8338768
...
@@ -69,7 +69,7 @@ RscId::RscId( RscDefine * pDef )
...
@@ -69,7 +69,7 @@ RscId::RscId( RscDefine * pDef )
aExpType
.
aExp
.
pDef
=
pDef
;
aExpType
.
aExp
.
pDef
=
pDef
;
aExpType
.
cType
=
RSCEXP_DEF
;
aExpType
.
cType
=
RSCEXP_DEF
;
aExpType
.
cUnused
=
0
;
aExpType
.
cUnused
=
false
;
Create
(
aExpType
);
Create
(
aExpType
);
}
}
...
...
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