mirror of
https://github.com/LibreOffice/core.git
synced 2025-07-26 15:45:26 +00:00
make mnMaxAllowedBackups constexpr
Change-Id: I67ba3481ed5b43c370d1cadc01e8bbd06a880512 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187586 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
@ -1450,7 +1450,6 @@ namespace
|
||||
|
||||
namespace comphelper
|
||||
{
|
||||
sal_uInt16 BackupFileHelper::mnMaxAllowedBackups = 10;
|
||||
bool BackupFileHelper::mbExitWasCalled = false;
|
||||
bool BackupFileHelper::mbSafeModeDirExists = false;
|
||||
OUString BackupFileHelper::maInitialBaseURL;
|
||||
|
@ -83,7 +83,7 @@ namespace comphelper
|
||||
static bool mbSafeModeDirExists;
|
||||
|
||||
// internal upper limit (max) of allowed backups
|
||||
static sal_uInt16 mnMaxAllowedBackups;
|
||||
static constexpr sal_uInt16 mnMaxAllowedBackups = 10;
|
||||
|
||||
// path to User's configuration directory and derived strings
|
||||
static OUString maInitialBaseURL;
|
||||
|
Reference in New Issue
Block a user