[Libreoffice-commits] core.git: comphelper/source
Muhammet Kara
muhammet.kara at pardus.org.tr
Sun Apr 15 16:08:17 UTC 2018
comphelper/source/misc/backupfilehelper.cxx | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit 786d3c2afdf70966617d13e27053dfd3964a0d89
Author: Muhammet Kara <muhammet.kara at pardus.org.tr>
Date: Sun Apr 15 11:39:44 2018 +0300
cppcheck: variableScope
Change-Id: Ia149b2b3f6f445e48cd469bb48a80f12b44648cd
Reviewed-on: https://gerrit.libreoffice.org/52903
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Muhammet Kara <muhammet.kara at pardus.org.tr>
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);
More information about the Libreoffice-commits
mailing list