diff options
Diffstat (limited to 'kaddressbook/common/locationmap.cpp')
| -rw-r--r-- | kaddressbook/common/locationmap.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/kaddressbook/common/locationmap.cpp b/kaddressbook/common/locationmap.cpp index 63ed10ac..8ef225cf 100644 --- a/kaddressbook/common/locationmap.cpp +++ b/kaddressbook/common/locationmap.cpp @@ -23,7 +23,6 @@ #include <tdeapplication.h> #include <tdeconfig.h> -#include <tdeversion.h> #include <tdeglobal.h> #include <tdelocale.h> #include <tdemessagebox.h> @@ -78,19 +77,11 @@ TQString LocationMap::createUrl( const TDEABC::Address &addr ) return TQString(); } -#if TDE_VERSION >= 319 return urlTemplate.replace( "%s", addr.street() ). replace( "%r", addr.region() ). replace( "%l", addr.locality() ). replace( "%z", addr.postalCode() ). replace( "%c", addr.countryToISO( addr.country() ) ); -#else - return urlTemplate.replace( "%s", addr.street() ). - replace( "%r", addr.region() ). - replace( "%l", addr.locality() ). - replace( "%z", addr.postalCode() ). - replace( "%c", "" ); -#endif } #include "locationmap.moc" |
