diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-07-10 14:59:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-07-11 09:59:10 +0100 |
commit | 7fe61368cead27eef5d6175abd1cc254e99e8a05 (patch) | |
tree | a989e3282b88bf3dcb0bc42a396e0da3b5a9126c /editeng | |
parent | 0473296bd9a71b81c6aa9638d8a231ace503dbb8 (diff) |
CalcDataFilesChangedCheckValue is always zero
Change-Id: I851c0ac078b57f07e0a58a9fb2119d11cc5048e5
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/inc/editeng/unolingu.hxx | 2 | ||||
-rw-r--r-- | editeng/source/misc/unolingu.cxx | 12 |
2 files changed, 1 insertions, 13 deletions
diff --git a/editeng/inc/editeng/unolingu.hxx b/editeng/inc/editeng/unolingu.hxx index 5b41e48b8007..d25be047cf3c 100644 --- a/editeng/inc/editeng/unolingu.hxx +++ b/editeng/inc/editeng/unolingu.hxx @@ -59,8 +59,6 @@ class SvxLinguConfigUpdate // n == 0 => already updated, nothing to be done // n == 1 => needs to be updated - static sal_Int32 CalcDataFilesChangedCheckValue(); - public: EDITENG_DLLPUBLIC static void UpdateAll( sal_Bool bForceCheck = sal_False ); diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx index da2fac53cefb..bad9e03edc5b 100644 --- a/editeng/source/misc/unolingu.cxx +++ b/editeng/source/misc/unolingu.cxx @@ -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 ) { RTL_LOGFILE_CONTEXT( aLog, "svx: SvxLinguConfigUpdate::IsNeedUpdateAll" ); if (nNeedUpdating == -1 || bForceCheck ) // need to check if updating is necessary { // 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 // and thus the configuration needs to be updated |