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
1c2c47ca
Kaydet (Commit)
1c2c47ca
authored
Nis 12, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Avoid reserved identifier
Change-Id: I3b1505e788af009a0ff4bb2502883de5bfb45617
üst
682ffda0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
tool.h
sc/source/filter/inc/tool.h
+4
-4
tool.cxx
sc/source/filter/lotus/tool.cxx
+2
-2
No files found.
sc/source/filter/inc/tool.h
Dosyayı görüntüle @
1c2c47ca
...
...
@@ -85,14 +85,14 @@ public:
};
#define
__nSize
2048
#define
nSize_
2048
class
FormCache
{
private
:
FormIdent
aIdents
[
__nSize
];
//gepufferte Formate
sal_Bool
bValid
[
__nSize
];
FormIdent
aIdents
[
nSize_
];
//gepufferte Formate
sal_Bool
bValid
[
nSize_
];
FormIdent
aCompareIdent
;
// zum Vergleichen
sal_uInt8
nDefaultFormat
;
// Defaultformat der Datei
SvNumberFormatter
*
pFormTable
;
// Value-Format-Table-Anker
...
...
@@ -118,7 +118,7 @@ inline const SfxUInt32Item* FormCache::GetAttr( sal_uInt8 nFormat, sal_uInt8 nSt
aCompareIdent
.
SetStamp
(
nFormat
,
nSt
);
nIndex
=
aCompareIdent
.
GetStamp
();
OSL_ENSURE
(
nIndex
<
__nSize
,
"FormCache::GetAttr(): Oups... not this way!"
);
OSL_ENSURE
(
nIndex
<
nSize_
,
"FormCache::GetAttr(): Oups... not this way!"
);
if
(
bValid
[
nIndex
]
)
pRet
=
aIdents
[
nIndex
].
GetAttr
();
else
...
...
sc/source/filter/lotus/tool.cxx
Dosyayı görüntüle @
1c2c47ca
...
...
@@ -152,14 +152,14 @@ FormCache::FormCache( ScDocument* pDoc1, sal_uInt8 nNewDefaultFormat )
{
// Default format is 'Default'
nDefaultFormat
=
nNewDefaultFormat
;
pFormTable
=
pDoc1
->
GetFormatTable
();
for
(
sal_uInt16
nC
=
0
;
nC
<
__nSize
;
nC
++
)
for
(
sal_uInt16
nC
=
0
;
nC
<
nSize_
;
nC
++
)
bValid
[
nC
]
=
false
;
eLanguage
=
ScGlobal
::
eLnge
;
}
FormCache
::~
FormCache
()
{
for
(
sal_uInt16
nC
=
0
;
nC
<
__nSize
;
nC
++
)
for
(
sal_uInt16
nC
=
0
;
nC
<
nSize_
;
nC
++
)
delete
aIdents
[
nC
].
GetAttr
();
}
...
...
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