diff options
-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 |