Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 8ad34ae091162226fd4d1de7b1eb562d > files > 4

salome-5.1.3-7mdv2010.1.src.rpm

--- src5.1.3/GUI_SRC_5.1.3/src/CAM/CAM_Application.cxx.orig	2010-02-18 21:01:09.059064419 -0200
+++ src5.1.3/GUI_SRC_5.1.3/src/CAM/CAM_Application.cxx	2010-02-18 21:02:42.878060902 -0200
@@ -246,7 +246,7 @@
       if ( desktop() && desktop()->isVisible() )
 	SUIT_MessageBox::critical( desktop(), tr( "Loading modules" ), wrn );
       else
-	qWarning( qPrintable( wrn ) ); 
+	qWarning( "%s", qPrintable( wrn ) ); 
     }
   }
 }
@@ -266,14 +266,14 @@
 {
   if ( myInfoList.isEmpty() )
   {
-    qWarning( qPrintable( tr( "Modules configuration is not defined." ) ) );
+    qWarning( "%s", qPrintable( tr( "Modules configuration is not defined." ) ) );
     return 0;
   }
 
   QString libName = moduleLibrary( modName );
   if ( libName.isEmpty() )
   {
-    qWarning( qPrintable( tr( "Information about module \"%1\" doesn't exist." ).arg( modName ) ) );
+    qWarning( "%s", qPrintable( tr( "Information about module \"%1\" doesn't exist." ).arg( modName ) ) );
     return 0;
   }
 
@@ -325,7 +325,7 @@
     if ( desktop() && desktop()->isVisible() )
       SUIT_MessageBox::warning( desktop(), tr( "Error" ), err );
     else
-      qWarning( qPrintable( err ) ); 
+      qWarning( "%s", qPrintable( err ) ); 
   }
 
   return module;
@@ -396,7 +396,7 @@
       if ( desktop() && desktop()->isVisible() )
 	SUIT_MessageBox::critical( desktop(), tr( "ERROR_TLT" ), wrn );
       else
-	qWarning( qPrintable( wrn ) ); 
+	qWarning( "%s", qPrintable( wrn ) ); 
       myModule = 0;
       return false;
     }
--- src5.1.3/GUI_SRC_5.1.3/src/LightApp/LightApp_OBSelector.cxx.orig	2010-02-19 15:34:11.662281320 -0200
+++ src5.1.3/GUI_SRC_5.1.3/src/LightApp/LightApp_OBSelector.cxx	2010-02-19 15:34:57.538060717 -0200
@@ -104,7 +104,7 @@
   mySelectedList.clear();
   selectionChanged();
   QTime t2 = QTime::currentTime();
-  qDebug( QString( "selection time = %1 msecs" ).arg( t1.msecsTo( t2 ) ).toLatin1().constData() );
+  qDebug( "%s", QString( "selection time = %1 msecs" ).arg( t1.msecsTo( t2 ) ).toLatin1().constData() );
 }
 
 /*!
--- src5.1.3/GUI_SRC_5.1.3/src/SalomeApp/SalomeApp_DataModel.cxx.orig	2010-02-19 17:41:31.137065167 -0200
+++ src5.1.3/GUI_SRC_5.1.3/src/SalomeApp/SalomeApp_DataModel.cxx	2010-02-19 17:42:00.934172258 -0200
@@ -239,7 +239,7 @@
   {
     QString marg; marg.fill( ' ', 3*it.depth() );
     QString nnn = "%1 '%2'";
-    qDebug( nnn.arg( marg ).arg( it.current()->name() ).toLatin1() );
+    qDebug( "%s", nnn.arg( marg ).arg( it.current()->name() ).toLatin1() );
   }
 }