summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comphelper/source/misc/backupfilehelper.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/comphelper/source/misc/backupfilehelper.cxx b/comphelper/source/misc/backupfilehelper.cxx
index 9b8003edf161..3c681437eb55 100644
--- a/comphelper/source/misc/backupfilehelper.cxx
+++ b/comphelper/source/misc/backupfilehelper.cxx
@@ -1898,10 +1898,9 @@ namespace comphelper
void BackupFileHelper::tryPop()
{
- bool bDidPop(false);
-
if (mbActive)
{
+ bool bDidPop(false);
const OUString aPackURL(getPackURL());
// ensure dir and file vectors
@@ -1941,10 +1940,9 @@ namespace comphelper
void BackupFileHelper::tryPopExtensionInfo()
{
- bool bDidPop(false);
-
if (mbActive && mbExtensions)
{
+ bool bDidPop(false);
const OUString aPackURL(getPackURL());
bDidPop = tryPop_extensionInfo(aPackURL);