diff -uNr kpogre-0.97/kpogre/DbObjects/kpgdatabase.cpp kpogre-0.97-fixed/kpogre/DbObjects/kpgdatabase.cpp
--- kpogre-0.97/kpogre/DbObjects/kpgdatabase.cpp	2004-03-20 17:25:20.000000000 +0100
+++ kpogre-0.97-fixed/kpogre/DbObjects/kpgdatabase.cpp	2004-04-16 11:36:38.199823760 +0200
@@ -368,7 +368,7 @@
   {
     kdError() << e.what() << endl;
     KMessageBox::sorry(0, e.what());
-    return false;
+    return;
   } 
 }
 
diff -uNr kpogre-0.97/kpogre/kpogreview.cpp kpogre-0.97-fixed/kpogre/kpogreview.cpp
--- kpogre-0.97/kpogre/kpogreview.cpp	2004-03-20 17:25:20.000000000 +0100
+++ kpogre-0.97-fixed/kpogre/kpogreview.cpp	2004-04-16 11:57:09.112696560 +0200
@@ -204,7 +204,7 @@
   connect(m_pTabPropertiesAndTerminals, SIGNAL(currentChanged( QWidget * )), this, SLOT  (slotTabWidgetCurrentChanged( QWidget *)) );
 	
   //construct 10 KPGSqlQueryResultWindow
-	m_ppTerminals = new (KPGSqlQueryResultWindow*)[10];
+	m_ppTerminals = new KPGSqlQueryResultWindow*[10];
 	tabIndex = 0;
 	KPGSqlQueryResultWindow* pQueryResultWindow;
 	for (int i=0 ; i<10 ; i++ )