summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorBogdan Buzea <buzea.bogdan@libreoffice.org>2024-10-21 16:22:46 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-10-22 12:08:25 +0200
commit35e2aa6204925c74a988abc37d6486e5597b51c0 (patch)
treec1d318e811ab1b55b58e227e6b3aa960f6945f22 /desktop/source
parenteff1137fd2a5a48bea44a05f7891c5a31fffda7f (diff)
tdf#163486: PVS: Identical branches
V1037 Two or more case-branches perform the same actions. Check lines: 717, 733 Change-Id: I57fc125abb8c9a4c9dea197945f45b95b90e41b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175320 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/app/app.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index a4ce4c965d3a..624b5cb0b6b4 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -713,6 +713,8 @@ OUString Desktop::CreateErrorMsgString(
/// the bootstrap INI file could not be found or read
case ::utl::Bootstrap::MISSING_BOOTSTRAP_FILE:
+ /// the version locator INI file could not be found or read
+ case ::utl::Bootstrap::MISSING_VERSION_FILE:
{
aMsg = DpResId(STR_BOOTSTRAP_ERR_FILE_MISSING);
}
@@ -727,13 +729,6 @@ OUString Desktop::CreateErrorMsgString(
}
break;
- /// the version locator INI file could not be found or read
- case ::utl::Bootstrap::MISSING_VERSION_FILE:
- {
- aMsg = DpResId(STR_BOOTSTRAP_ERR_FILE_MISSING);
- }
- break;
-
/// the version locator INI has no entry for this version
case ::utl::Bootstrap::MISSING_VERSION_FILE_ENTRY:
{