summaryrefslogtreecommitdiffabout
path: root/kaddressbook
Unidiff
Diffstat (limited to 'kaddressbook') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/xxport/opie/opie_xxport.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/kaddressbook/xxport/opie/opie_xxport.cpp b/kaddressbook/xxport/opie/opie_xxport.cpp
index 90d05cd..f30a205 100644
--- a/kaddressbook/xxport/opie/opie_xxport.cpp
+++ b/kaddressbook/xxport/opie/opie_xxport.cpp
@@ -36,2 +36,4 @@ $Id$
36#include <opie/ocontactaccess.h> 36#include <opie/ocontactaccess.h>
37#include <opie/ocontactaccessbackend_xml.h>
38
37#include "stdaddressbook.h" 39#include "stdaddressbook.h"
@@ -98,3 +100,4 @@ bool OpieXXPort::exportContacts( const KABC::AddresseeList &list, const QString
98 100
99 OContactAccess* access = new OContactAccess("KA/Pi", fileName, 0l, false); 101 OContactAccessBackend_XML* backend = new OContactAccessBackend_XML( "KA/Pi", fileName );
102 OContactAccess* access = new OContactAccess("KA/Pi", 0l, backend, false);
100 103
@@ -141,3 +144,4 @@ bool OpieXXPort::exportContacts( const KABC::AddresseeList &list, const QString
141 delete access; 144 delete access;
142 145 delete backend;
146
143 return true; 147 return true;
@@ -160,3 +164,4 @@ KABC::AddresseeList OpieXXPort::importContacts( const QString& ) const
160 164
161 OContactAccess* access = new OContactAccess("KA/Pi", fileName, 0l, false); 165 OContactAccessBackend_XML* backend = new OContactAccessBackend_XML( "KA/Pi", fileName );
166 OContactAccess* access = new OContactAccess("KA/Pi", 0l, backend, false);
162 167
@@ -192,2 +197,3 @@ KABC::AddresseeList OpieXXPort::importContacts( const QString& ) const
192 delete access; 197 delete access;
198 delete backend;
193 199