desktop/source/app/app.cxx |    9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

New commits:
commit 35e2aa6204925c74a988abc37d6486e5597b51c0
Author:     Bogdan Buzea <[email protected]>
AuthorDate: Mon Oct 21 16:22:46 2024 +0200
Commit:     Xisco Fauli <[email protected]>
CommitDate: Tue Oct 22 12:08:25 2024 +0200

    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 <[email protected]>
    Tested-by: Jenkins

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:
         {

Reply via email to