-rw-r--r-- | kde2file/abdump/main.cpp | 3 | ||||
-rw-r--r-- | kde2file/caldump/main.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/kde2file/abdump/main.cpp b/kde2file/abdump/main.cpp index b359cfe..824d054 100644 --- a/kde2file/abdump/main.cpp +++ b/kde2file/abdump/main.cpp | |||
@@ -102,7 +102,8 @@ int main( int argc, char *argv[] ) | |||
102 | KABC::VCardConverter converter; | 102 | KABC::VCardConverter converter; |
103 | QString datastream; | 103 | QString datastream; |
104 | for( it = standardAddressBook->begin(); it != standardAddressBook->end(); ++it ) { | 104 | for( it = standardAddressBook->begin(); it != standardAddressBook->end(); ++it ) { |
105 | if ( (*it).isEmpty() || ! (*it).resource() ) | 105 | // if ( (*it).isEmpty() || ! (*it).resource() ) |
106 | if ( (*it).isEmpty() ) | ||
106 | continue; | 107 | continue; |
107 | KABC::Addressee a = ( *it ); | 108 | KABC::Addressee a = ( *it ); |
108 | QString vcard = converter.createVCard( a ); | 109 | QString vcard = converter.createVCard( a ); |
diff --git a/kde2file/caldump/main.cpp b/kde2file/caldump/main.cpp index 9cc1a73..c8755cd 100644 --- a/kde2file/caldump/main.cpp +++ b/kde2file/caldump/main.cpp | |||
@@ -129,7 +129,8 @@ int main( int argc, char *argv[] ) | |||
129 | int num = 0; | 129 | int num = 0; |
130 | for( it = allInc.begin(); it != allInc.end(); ++it ) { | 130 | for( it = allInc.begin(); it != allInc.end(); ++it ) { |
131 | ResourceCalendar * re = calendarResource->resource( (*it) ); | 131 | ResourceCalendar * re = calendarResource->resource( (*it) ); |
132 | if ( re ) { | 132 | //if ( re ) |
133 | { | ||
133 | ++num; | 134 | ++num; |
134 | Incidence* cl = (*it)->clone(); | 135 | Incidence* cl = (*it)->clone(); |
135 | cl->setLastModified( (*it)->lastModified() ); | 136 | cl->setLastModified( (*it)->lastModified() ); |