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

List:       kde-commits
Subject:    koffice/kspread
From:       Laurent Montel <montel () kde ! org>
Date:       2004-05-01 13:37:01
Message-ID: 20040501133701.54FDF90FD () office ! kde ! org
[Download RAW message or body]

CVS commit by mlaurent: 

Add const


  M +2 -2      kspread_sheetprint.cc   1.14
  M +2 -2      kspread_sheetprint.h   1.8


--- koffice/kspread/kspread_sheetprint.cc  #1.13:1.14
@@ -120,5 +120,5 @@ QRect KSpreadSheetPrint::cellsPrintRange
 }
 
-int KSpreadSheetPrint::pagesX( QRect& cellsPrintRange )
+int KSpreadSheetPrint::pagesX( const QRect& cellsPrintRange )
 {
     int pages = 0;
@@ -134,5 +134,5 @@ int KSpreadSheetPrint::pagesX( QRect& ce
 }
 
-int KSpreadSheetPrint::pagesY( QRect& cellsPrintRange )
+int KSpreadSheetPrint::pagesY( const QRect& cellsPrintRange )
 {
     int pages = 0;

--- koffice/kspread/kspread_sheetprint.h  #1.7:1.8
@@ -458,10 +458,10 @@ private:
      * Returns the numbers of pages in x direction
      */
-    int pagesX( QRect& cellsPrintRange );
+    int pagesX( const QRect& cellsPrintRange );
 
     /**
      * Returns the numbers of pages in y direction
      */
-    int pagesY( QRect& cellsPrintRange );
+    int pagesY( const QRect& cellsPrintRange );
 
     /**


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

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