summaryrefslogtreecommitdiff
path: root/package/inc/ZipFile.hxx
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-06-19 12:54:22 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-06-19 12:54:22 +0200
commite2682561337c521f10fa2c87594c86c01b3c662a (patch)
treea8cb220cf9888183c2de5edd3644597c63b67b9a /package/inc/ZipFile.hxx
parent68f53efa2572acc661c8a75ee2ec09f87348aa65 (diff)
parentf9c2beb2cdb4ae448d22ae390c63159b88df9e9e (diff)
Merge branch 'master' into feature/gnumake4
Conflicts: lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx lingucomponent/source/spellcheck/spell/sspellimp.cxx setup_native/prj/build.lst setup_native/prj/d.lst wizards/Jar_query.mk wizards/Module_wizards.mk wizards/Zip_launcher.mk wizards/com/sun/star/wizards/report/makefile.mk wizards/prj/build.lst wizards/prj/d.lst wizards/util/target.pmk
Diffstat (limited to 'package/inc/ZipFile.hxx')
-rw-r--r--package/inc/ZipFile.hxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/package/inc/ZipFile.hxx b/package/inc/ZipFile.hxx
index 2be52615c90b..05186c0abccf 100644
--- a/package/inc/ZipFile.hxx
+++ b/package/inc/ZipFile.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -34,8 +35,6 @@
#include <com/sun/star/xml/crypto/XCipherContext.hpp>
#include <com/sun/star/xml/crypto/XDigestContext.hpp>
-#include <rtl/ref.hxx>
-
#include <ByteGrabber.hxx>
#include <HashMaps.hxx>
#include <Inflater.hxx>
@@ -47,6 +46,10 @@ namespace com { namespace sun { namespace star {
namespace lang { class XMultiServiceFactory; }
namespace ucb { class XProgressHandler; }
} } }
+namespace rtl
+{
+ template < class T > class Reference;
+}
/*
* We impose arbitrary but reasonable limit on ZIP files.
@@ -66,7 +69,7 @@ protected:
::rtl::OUString sComment; /* zip file comment */
EntryHash aEntries;
ByteGrabber aGrabber;
- Inflater aInflater;
+ ZipUtils::Inflater aInflater;
com::sun::star::uno::Reference < com::sun::star::io::XInputStream > xStream;
com::sun::star::uno::Reference < com::sun::star::io::XSeekable > xSeek;
const ::com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory > m_xFactory;
@@ -95,7 +98,7 @@ protected:
sal_Bool bDecrypt,
::rtl::OUString aMediaType = ::rtl::OUString() );
- sal_Bool hasValidPassword ( ZipEntry & rEntry, const ::rtl::Reference < EncryptionData > &rData );
+ sal_Bool hasValidPassword ( ZipEntry & rEntry, const rtl::Reference < EncryptionData > &rData );
sal_Bool checkSizeAndCRC( const ZipEntry& aEntry );
@@ -210,3 +213,5 @@ protected:
};
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */