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
d6500b19
Kaydet (Commit)
d6500b19
authored
Eyl 11, 2012
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
-Werror,-Wunused-private-field (SC_TOKEN_FIX_MEMBERS -> ScRawTokenBase)
Change-Id: If9172eaed5ef1bf853e6e29cc81141f226aac264
üst
2d679037
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
compiler.hxx
sc/inc/compiler.hxx
+10
-11
No files found.
sc/inc/compiler.hxx
Dosyayı görüntüle @
d6500b19
...
...
@@ -101,16 +101,17 @@ class ScTokenArray;
bool bRaw; // not cloned yet and trimmed to real size
*/
#define SC_TOKEN_FIX_MEMBERS \
OpCode eOp; \
formula::StackVar eType; \
mutable sal_uInt16 nRefCnt; \
struct
ScRawTokenBase
{
protected
:
OpCode
eOp
;
formula
::
StackVar
eType
;
mutable
sal_uInt16
nRefCnt
;
bool
bRaw
;
};
struct
ScDoubleRawToken
struct
ScDoubleRawToken
:
private
ScRawTokenBase
{
private
:
SC_TOKEN_FIX_MEMBERS
public
:
union
{
// union only to assure alignment identical to ScRawToken
...
...
@@ -123,15 +124,13 @@ public:
DECL_FIXEDMEMPOOL_NEWDEL
(
ScDoubleRawToken
);
};
struct
ScRawToken
struct
ScRawToken
:
private
ScRawTokenBase
{
friend
class
ScCompiler
;
// Friends that use a temporary ScRawToken on the stack (and therefor need
// the private dtor) and know what they're doing..
friend
class
ScTokenArray
;
friend
sal_uInt16
lcl_ScRawTokenOffset
();
private
:
SC_TOKEN_FIX_MEMBERS
public
:
union
{
double
nValue
;
...
...
@@ -160,7 +159,7 @@ public:
};
//! other members not initialized
ScRawToken
()
:
bRaw
(
true
)
{
}
ScRawToken
()
{
bRaw
=
true
;
}
private
:
~
ScRawToken
()
{}
//! only delete via Delete()
public
:
...
...
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