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

List:       kde-commits
Subject:    kdepim/libkdepim
From:       Tom Albers <tomalbers () kde ! nl>
Date:       2005-03-02 22:32:18
Message-ID: 20050302223218.897B516EF1 () office ! kde ! org
[Download RAW message or body]

CVS commit by toma: 

Changed reference->value for the bools


  M +5 -5      kfileio.cpp   1.51
  M +5 -5      kfileio.h   1.15


--- kdepim/libkdepim/kfileio.cpp  #1.50:1.51
@@ -269,7 +269,7 @@ KDE_EXPORT bool kByteArrayToFile(const Q
 
 
-QString checkAndCorrectPermissionsIfPossible(const QString &toCheck,
-  const bool &recursive, const bool &wantItReadable,
-  const bool &wantItWritable)
+QString checkAndCorrectPermissionsIfPossible( const QString &toCheck,
+  const bool recursive, const bool wantItReadable,
+  const bool wantItWritable )
 {
   // First we have to find out which type the toCheck is. This can be
@@ -367,6 +367,6 @@ QString checkAndCorrectPermissionsIfPoss
 
 bool checkAndCorrectPermissionsIfPossibleWithErrorHandling( QWidget *parent,
-  const QString &toCheck, const bool &recursive, const bool &wantItReadable,
-  const bool &wantItWritable)
+  const QString &toCheck, const bool recursive, const bool wantItReadable,
+  const bool wantItWritable )
 {
   QString error = checkAndCorrectPermissionsIfPossible(toCheck, recursive, 

--- kdepim/libkdepim/kfileio.h  #1.14:1.15
@@ -70,7 +70,7 @@ KDE_EXPORT bool kByteArrayToFile(const Q
    *         have the right permissions. If empty, then all permissions are ok.
    */
-QString checkAndCorrectPermissionsIfPossible(const QString &toCheck,
-   const bool &recursive, const bool &wantItReadable,
-   const bool &wantItWritable);
+QString checkAndCorrectPermissionsIfPossible( const QString &toCheck,
+   const bool recursive, const bool wantItReadable,
+   const bool wantItWritable );
 
   /**
@@ -99,6 +99,6 @@ QString checkAndCorrectPermissionsIfPoss
    */
 bool checkAndCorrectPermissionsIfPossibleWithErrorHandling( QWidget *parent, 
-   const QString &toCheck, const bool &recursive, const bool &wantItReadable,
-   const bool &wantItWritable);
+   const QString &toCheck, const bool recursive, const bool wantItReadable,
+   const bool wantItWritable );
 }
 


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

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