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
0473296b
Kaydet (Commit)
0473296b
authored
Tem 10, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
nCurrentDataFilesChangedCheckValue is kind of pointless
Change-Id: Ibded6b0a72c9501d35fb884c93c505a2f716f678
üst
b18e1e70
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
unolingu.hxx
editeng/inc/editeng/unolingu.hxx
+0
-1
unolingu.cxx
editeng/source/misc/unolingu.cxx
+1
-4
No files found.
editeng/inc/editeng/unolingu.hxx
Dosyayı görüntüle @
0473296b
...
...
@@ -55,7 +55,6 @@ class Window;
class
SvxLinguConfigUpdate
{
static
sal_Int32
nCurrentDataFilesChangedCheckValue
;
static
sal_Int16
nNeedUpdating
;
// n == -1 => needs to be checked
// n == 0 => already updated, nothing to be done
// n == 1 => needs to be updated
...
...
editeng/source/misc/unolingu.cxx
Dosyayı görüntüle @
0473296b
...
...
@@ -208,7 +208,6 @@ Sequence< OUString > lcl_MergeSeq(
}
sal_Int16
SvxLinguConfigUpdate
::
nNeedUpdating
=
-
1
;
sal_Int32
SvxLinguConfigUpdate
::
nCurrentDataFilesChangedCheckValue
=
-
1
;
void
SvxLinguConfigUpdate
::
UpdateAll
(
sal_Bool
bForceCheck
)
{
...
...
@@ -341,7 +340,6 @@ void SvxLinguConfigUpdate::UpdateAll( sal_Bool bForceCheck )
}
}
}
OSL_ENSURE
(
nCurrentDataFilesChangedCheckValue
!=
-
1
,
"SvxLinguConfigUpdate::UpdateAll DataFilesChangedCheckValue not yet calculated!"
);
Any
aAny
;
// for the time being (developer builds until OOo 3.0)
...
...
@@ -352,7 +350,6 @@ void SvxLinguConfigUpdate::UpdateAll( sal_Bool bForceCheck )
// Since the check is on-demand occuring and executed once it should
// not be too troublesome.
// In OOo 3.0 we will not need the respective code anymore at all.
// aAny <<= nCurrentDataFilesChangedCheckValue;
aAny
<<=
(
sal_Int32
)
-
1
;
// keep the value set to 'need to check'
aCfg
.
SetProperty
(
A2OU
(
"DataFilesChangedCheckValue"
),
aAny
);
...
...
@@ -386,7 +383,7 @@ sal_Bool SvxLinguConfigUpdate::IsNeedUpdateAll( sal_Bool bForceCheck )
if
(
nNeedUpdating
==
-
1
||
bForceCheck
)
// need to check if updating is necessary
{
// calculate hash value for current data files
nCurrentDataFilesChangedCheckValue
=
CalcDataFilesChangedCheckValue
();
sal_Int32
nCurrentDataFilesChangedCheckValue
=
CalcDataFilesChangedCheckValue
();
// compare hash value and check value to see if anything has changed
// and thus the configuration needs to be updated
...
...
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