[glom/glom-1-30] Whitespace fixes.



commit c7329e373a2826a6aa11ac5166b1a966e3d79b0a
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Dec 17 22:06:20 2015 +0100

    Whitespace fixes.

 glom/frame_glom.cc |   20 +++++++++-----------
 1 files changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/glom/frame_glom.cc b/glom/frame_glom.cc
index bca56a2..952c986 100644
--- a/glom/frame_glom.cc
+++ b/glom/frame_glom.cc
@@ -2036,10 +2036,9 @@ bool Frame_Glom::connection_request_password_and_choose_new_database_name()
       m_pDialogConnection->set_self_hosted_user_and_password(connection_pool->get_user(), 
connection_pool->get_password());
 
       //std::cout << "DEBUG: after connection_pool->initialize(). The database cluster should now exist." << 
std::endl;
-    }
-
-    break;
 
+      break;
+    }
     case Document::HostingMode::POSTGRES_CENTRAL:
     case Document::HostingMode::MYSQL_CENTRAL:
     {
@@ -2069,11 +2068,10 @@ bool Frame_Glom::connection_request_password_and_choose_new_database_name()
         // The user cancelled
         return false;
       }
+      break;
     }
-
-    break;
 #ifdef GLOM_ENABLE_SQLITE
-  case Document::HostingMode::SQLITE:
+    case Document::HostingMode::SQLITE:
     {
       // SQLite:
       ConnectionPool::SlotProgress slot_ignored;
@@ -2082,13 +2080,13 @@ bool Frame_Glom::connection_request_password_and_choose_new_database_name()
 
       m_pDialogConnection->load_from_document(); //Get good defaults.
       // No authentication required
+      
+      break;
     }
-
-    break;
 #endif //GLOM_ENABLE_SQLITE
-  default:
-    g_assert_not_reached();
-    break;
+    default:
+      g_assert_not_reached();
+      break;
   }
 
   // Do startup, such as starting the self-hosting database server


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]