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
7fe61368
Kaydet (Commit)
7fe61368
authored
Tem 10, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
CalcDataFilesChangedCheckValue is always zero
Change-Id: I851c0ac078b57f07e0a58a9fb2119d11cc5048e5
üst
0473296b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
13 deletions
+1
-13
unolingu.hxx
editeng/inc/editeng/unolingu.hxx
+0
-2
unolingu.cxx
editeng/source/misc/unolingu.cxx
+1
-11
No files found.
editeng/inc/editeng/unolingu.hxx
Dosyayı görüntüle @
7fe61368
...
@@ -59,8 +59,6 @@ class SvxLinguConfigUpdate
...
@@ -59,8 +59,6 @@ class SvxLinguConfigUpdate
// n == 0 => already updated, nothing to be done
// n == 0 => already updated, nothing to be done
// n == 1 => needs to be updated
// n == 1 => needs to be updated
static
sal_Int32
CalcDataFilesChangedCheckValue
();
public
:
public
:
EDITENG_DLLPUBLIC
static
void
UpdateAll
(
sal_Bool
bForceCheck
=
sal_False
);
EDITENG_DLLPUBLIC
static
void
UpdateAll
(
sal_Bool
bForceCheck
=
sal_False
);
...
...
editeng/source/misc/unolingu.cxx
Dosyayı görüntüle @
7fe61368
...
@@ -367,23 +367,13 @@ void SvxLinguConfigUpdate::UpdateAll( sal_Bool bForceCheck )
...
@@ -367,23 +367,13 @@ void SvxLinguConfigUpdate::UpdateAll( sal_Bool bForceCheck )
}
}
sal_Int32
SvxLinguConfigUpdate
::
CalcDataFilesChangedCheckValue
()
{
RTL_LOGFILE_CONTEXT
(
aLog
,
"svx: SvxLinguConfigUpdate::CalcDataFilesChangedCheckValue"
);
sal_Int32
nHashVal
=
0
;
// nothing to be checked anymore since those old directory paths are gone by now
return
nHashVal
;
}
sal_Bool
SvxLinguConfigUpdate
::
IsNeedUpdateAll
(
sal_Bool
bForceCheck
)
sal_Bool
SvxLinguConfigUpdate
::
IsNeedUpdateAll
(
sal_Bool
bForceCheck
)
{
{
RTL_LOGFILE_CONTEXT
(
aLog
,
"svx: SvxLinguConfigUpdate::IsNeedUpdateAll"
);
RTL_LOGFILE_CONTEXT
(
aLog
,
"svx: SvxLinguConfigUpdate::IsNeedUpdateAll"
);
if
(
nNeedUpdating
==
-
1
||
bForceCheck
)
// need to check if updating is necessary
if
(
nNeedUpdating
==
-
1
||
bForceCheck
)
// need to check if updating is necessary
{
{
// calculate hash value for current data files
// calculate hash value for current data files
sal_Int32
nCurrentDataFilesChangedCheckValue
=
CalcDataFilesChangedCheckValue
()
;
sal_Int32
nCurrentDataFilesChangedCheckValue
=
0
;
// compare hash value and check value to see if anything has changed
// compare hash value and check value to see if anything has changed
// and thus the configuration needs to be updated
// 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