diff options
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/backupfilehelper.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/comphelper/source/misc/backupfilehelper.cxx b/comphelper/source/misc/backupfilehelper.cxx index 778f0a0e7d27..7a353b8e90bb 100644 --- a/comphelper/source/misc/backupfilehelper.cxx +++ b/comphelper/source/misc/backupfilehelper.cxx @@ -15,6 +15,7 @@ namespace comphelper { sal_uInt16 BackupFileHelper::mnMaxAllowedBackups = 10; + bool BackupFileHelper::mbExitWasCalled = false; BackupFileHelper::BackupFileHelper( const OUString& rBaseURL, @@ -28,6 +29,16 @@ namespace comphelper { } + void BackupFileHelper::setExitWasCalled() + { + mbExitWasCalled = true; + } + + bool BackupFileHelper::getExitWasCalled() + { + return mbExitWasCalled; + } + bool BackupFileHelper::tryPush() { if (isDifferentOrNew()) |