diff options
| -rw-r--r-- | libkexiv2/libkexiv2/kexiv2private.cpp | 6 | ||||
| -rw-r--r-- | libkexiv2/libkexiv2/kexiv2private.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/libkexiv2/libkexiv2/kexiv2private.cpp b/libkexiv2/libkexiv2/kexiv2private.cpp index 6377bb7..52e0eb5 100644 --- a/libkexiv2/libkexiv2/kexiv2private.cpp +++ b/libkexiv2/libkexiv2/kexiv2private.cpp @@ -172,16 +172,10 @@ TQString KExiv2Priv::detectEncodingAndDecode(const std::string &value) if (value.empty()) return TQString(); -#if KDE_IS_VERSION(3,2,0) if (KStringHandler::isUtf8(value.c_str())) { return TQString::fromUtf8(value.c_str()); } -#else - // anyone who is still running KDE 3.0 or 3.1 is missing so many features - // that he will have to accept this missing feature. - return TQString::fromUtf8(value.c_str()); -#endif // Utf8 has a pretty unique byte pattern. // Thats not true for ASCII, it is not possible diff --git a/libkexiv2/libkexiv2/kexiv2private.h b/libkexiv2/libkexiv2/kexiv2private.h index 906598b..8f98736 100644 --- a/libkexiv2/libkexiv2/kexiv2private.h +++ b/libkexiv2/libkexiv2/kexiv2private.h @@ -50,7 +50,6 @@ #include <tdetempfile.h> #include <kstringhandler.h> -#include <tdeversion.h> // Exiv2 includes. |
