[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kspread
From:       Inge Wallin <inge () lysator ! liu ! se>
Date:       2007-01-14 16:58:19
Message-ID: 1168793899.457811.20715.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 623369 by ingwa:

warnings--

 M  +10 -0     CellView.cpp  
 M  +1 -0      Doc.cpp  
 M  +6 -0      Style.cpp  


--- trunk/koffice/kspread/CellView.cpp #623368:623369
@@ -254,6 +254,9 @@
                                   const QPoint& cellRef,
                                   QLinkedList<QPoint> &mergedCellsPainted, Cell* \
cell )  {
+    Q_UNUSED( view );
+    Q_UNUSED( mergedCellsPainted );
+
     if ( d->hidden )
         return;
     if ( d->merged )
@@ -316,6 +319,8 @@
                                  const QPoint& cellCoordinate, const QRect& \
                cellRegion,
                                  QLinkedList<QPoint> &mergedCellsPainted, Cell* \
cell, SheetView* sheetView )  {
+    Q_UNUSED( mergedCellsPainted );
+
     // The parameter cellCoordinate should be *this, unless this is the default \
                cell.
     Q_ASSERT(cell->isDefault() || ((cellCoordinate.x() == cell->column()) && \
(cellCoordinate.y() == cell->row())));  
@@ -951,6 +956,8 @@
                           const QRectF &cellRect,
                           const QPoint &cellRef, Cell* cell )
 {
+  Q_UNUSED( cellRef );
+
   QColor textColorPrint = d->style.fontColor();
 
   // Resolve the text color if invalid (=default).
@@ -1217,6 +1224,8 @@
                                   const QRectF &cellRect, const QPoint &cellRef,
                                   Borders paintBorder )
 {
+    Q_UNUSED( cellRef );
+
     //Sanity check: If we are not painting any of the borders then the function
     //really shouldn't be called at all.
     if ( paintBorder == NoBorder )
@@ -1819,6 +1828,7 @@
 
 void CellView::calculateCellDimension( const Cell* cell )
 {
+    Q_UNUSED( cell );
 #if 0
   double width  = cell->sheet()->columnFormat( cell->column() )->dblWidth();
   double height = cell->sheet()->rowFormat( cell->row() )->dblHeight();
--- trunk/koffice/kspread/Doc.cpp #623368:623369
@@ -1368,6 +1368,7 @@
 
 void Doc::setKSpellConfig(K3SpellConfig _kspell)
 {
+    Q_UNUSED( _kspell );
 #ifdef __GNUC__
 #warning TODO KDE4 port to sonnet
 #endif
--- trunk/koffice/kspread/Style.cpp #623368:623369
@@ -1346,6 +1346,9 @@
 
 void Style::saveXML( QDomDocument& doc, QDomElement& format, bool force, bool copy ) \
const  {
+    Q_UNUSED( force );
+    Q_UNUSED( copy );
+
     if ( d->subStyles.contains( HorizontalAlignment ) && halign() != HAlignUndefined \
)  format.setAttribute( "alignX", (int) halign() );
 
@@ -1485,6 +1488,9 @@
 
 bool Style::loadXML( KoXmlElement& format, Paste::Mode mode, bool paste )
 {
+    Q_UNUSED( mode );
+    Q_UNUSED( paste );
+
     bool ok;
     if ( format.hasAttribute( "type" ) )
     {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic