author | ulf69 <ulf69> | 2004-10-16 01:05:12 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-10-16 01:05:12 (UTC) |
commit | a6b0eba5c1aac3ba170b99c2b773fcabe10d8a40 (patch) (side-by-side diff) | |
tree | 874b41d93e8cf796125038ea4fb5861788cfb2dd | |
parent | 6f229ba483beece68b9c408fb754864c8f0e3167 (diff) | |
download | kdepimpi-a6b0eba5c1aac3ba170b99c2b773fcabe10d8a40.zip kdepimpi-a6b0eba5c1aac3ba170b99c2b773fcabe10d8a40.tar.gz kdepimpi-a6b0eba5c1aac3ba170b99c2b773fcabe10d8a40.tar.bz2 |
removed references to bzip2 compressformat
-rw-r--r-- | pwmanager/pwmanager/pwmdoc.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pwmanager/pwmanager/pwmdoc.cpp b/pwmanager/pwmanager/pwmdoc.cpp index a5df8f0..0ac5517 100644 --- a/pwmanager/pwmanager/pwmdoc.cpp +++ b/pwmanager/pwmanager/pwmdoc.cpp @@ -16,25 +16,25 @@ * * $Id$ **************************************************************************/ #include "pwmdoc.h" #include "pwmview.h" #include "blowfish.h" #include "sha1.h" #include "globalstuff.h" #include "gpasmanfile.h" #include "serializer.h" #include "compressgzip.h" -#include "compressbzip2.h" +//US#include "compressbzip2.h" #include "randomizer.h" #include "pwminit.h" #include "libgcryptif.h" #ifdef PWM_EMBEDDED #include "pwmprefs.h" #include "kglobal.h" #endif #include <kmessagebox.h> #include <libkcal/syncdefines.h> @@ -1210,46 +1210,48 @@ PwMerror PwMDoc::getCommentByLvp(const QString &category, int listViewPos, } BUG(); return e_generic; } bool PwMDoc::compressDta(string *d, char algo) { PWM_ASSERT(d); switch (algo) { case PWM_COMPRESS_GZIP: { CompressGzip comp; return comp.compress(d); - } case PWM_COMPRESS_BZIP2: { + /*US } case PWM_COMPRESS_BZIP2: { CompressBzip2 comp; return comp.compress(d); +*/ } case PWM_COMPRESS_NONE: { return true; } default: { BUG(); } } return false; } bool PwMDoc::decompressDta(string *d, char algo) { PWM_ASSERT(d); switch (algo) { case PWM_COMPRESS_GZIP: { CompressGzip comp; return comp.decompress(d); - } case PWM_COMPRESS_BZIP2: { + /*US } case PWM_COMPRESS_BZIP2: { CompressBzip2 comp; return comp.decompress(d); + */ } case PWM_COMPRESS_NONE: { return true; } } return false; } PwMerror PwMDoc::encrypt(string *d, const QString *pw, QFile *f, char algo) { PWM_ASSERT(d); PWM_ASSERT(pw); PWM_ASSERT(f); |