diff options
-rw-r--r-- | writerfilter/source/rtftok/rtflookahead.cxx | 16 | ||||
-rw-r--r-- | writerfilter/source/rtftok/rtftokenizer.cxx | 1 | ||||
-rw-r--r-- | writerfilter/source/rtftok/rtftokenizer.hxx | 17 | ||||
-rw-r--r-- | writerperfect/source/writer/EPUBExportUIComponent.cxx | 1 | ||||
-rw-r--r-- | writerperfect/source/writer/EPUBExportUIComponent.hxx | 20 | ||||
-rw-r--r-- | writerperfect/source/writer/EPUBPackage.cxx | 1 | ||||
-rw-r--r-- | writerperfect/source/writer/EPUBPackage.hxx | 38 | ||||
-rw-r--r-- | writerperfect/source/writer/exp/xmlimp.hxx | 25 | ||||
-rw-r--r-- | xmlsecurity/inc/pdfsignaturehelper.hxx | 33 | ||||
-rw-r--r-- | xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx | 1 | ||||
-rw-r--r-- | xmlsecurity/source/helper/ooxmlsecexporter.hxx | 28 | ||||
-rw-r--r-- | xmlsecurity/source/helper/pdfsignaturehelper.cxx | 2 |
12 files changed, 164 insertions, 19 deletions
diff --git a/writerfilter/source/rtftok/rtflookahead.cxx b/writerfilter/source/rtftok/rtflookahead.cxx index 009155bc8faf..f7c457bc754c 100644 --- a/writerfilter/source/rtftok/rtflookahead.cxx +++ b/writerfilter/source/rtftok/rtflookahead.cxx @@ -8,10 +8,24 @@ */ #include "rtflookahead.hxx" -#include <com/sun/star/task/XStatusIndicator.hpp> +#include <com/sun/star/uno/Reference.hxx> #include <tools/stream.hxx> #include "rtftokenizer.hxx" +namespace com +{ +namespace sun +{ +namespace star +{ +namespace task +{ +class XStatusIndicator; +} +} +} +} + using namespace com::sun::star; namespace writerfilter diff --git a/writerfilter/source/rtftok/rtftokenizer.cxx b/writerfilter/source/rtftok/rtftokenizer.cxx index 8ca3a9dade36..a3a4aff2da7e 100644 --- a/writerfilter/source/rtftok/rtftokenizer.cxx +++ b/writerfilter/source/rtftok/rtftokenizer.cxx @@ -16,6 +16,7 @@ #include <rtl/character.hxx> #include "rtfskipdestination.hxx" #include <com/sun/star/io/BufferSizeExceededException.hpp> +#include <com/sun/star/task/XStatusIndicator.hpp> #include <osl/diagnose.h> #include <filter/msfilter/rtfutil.hxx> diff --git a/writerfilter/source/rtftok/rtftokenizer.hxx b/writerfilter/source/rtftok/rtftokenizer.hxx index d4847e6ed861..b260ae8d0a7b 100644 --- a/writerfilter/source/rtftok/rtftokenizer.hxx +++ b/writerfilter/source/rtftok/rtftokenizer.hxx @@ -14,8 +14,23 @@ #include <vector> -#include <com/sun/star/task/XStatusIndicator.hpp> +#include <com/sun/star/uno/Reference.h> +#include <rtl/ustring.hxx> + +namespace com +{ +namespace sun +{ +namespace star +{ +namespace task +{ +class XStatusIndicator; +} +} +} +} class SvStream; namespace writerfilter diff --git a/writerperfect/source/writer/EPUBExportUIComponent.cxx b/writerperfect/source/writer/EPUBExportUIComponent.cxx index 13e7be6b59d8..a34655802d7f 100644 --- a/writerperfect/source/writer/EPUBExportUIComponent.cxx +++ b/writerperfect/source/writer/EPUBExportUIComponent.cxx @@ -13,7 +13,6 @@ #include <comphelper/namedvaluecollection.hxx> #include <cppuhelper/supportsservice.hxx> #include <vcl/svapp.hxx> -#include <vcl/vclptr.hxx> #include "EPUBExportDialog.hxx" diff --git a/writerperfect/source/writer/EPUBExportUIComponent.hxx b/writerperfect/source/writer/EPUBExportUIComponent.hxx index 84f3ed8be893..4576dad6a88c 100644 --- a/writerperfect/source/writer/EPUBExportUIComponent.hxx +++ b/writerperfect/source/writer/EPUBExportUIComponent.hxx @@ -10,17 +10,33 @@ #ifndef INCLUDED_WRITERPERFECT_SOURCE_WRITER_EPUBEXPORTUICOMPONENT_HXX #define INCLUDED_WRITERPERFECT_SOURCE_WRITER_EPUBEXPORTUICOMPONENT_HXX -#include <com/sun/star/awt/XWindow.hpp> #include <com/sun/star/beans/XPropertyAccess.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/ui/dialogs/XExecutableDialog.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/document/XExporter.hpp> #include <comphelper/sequenceashashmap.hxx> #include <cppuhelper/implbase.hxx> +namespace com +{ +namespace sun +{ +namespace star +{ +namespace awt +{ +class XWindow; +} +namespace uno +{ +class XComponentContext; +} +} +} +} + namespace writerperfect { /// EPUB export UI component implementation. diff --git a/writerperfect/source/writer/EPUBPackage.cxx b/writerperfect/source/writer/EPUBPackage.cxx index 6decc3b8f9b7..96a0bb714789 100644 --- a/writerperfect/source/writer/EPUBPackage.cxx +++ b/writerperfect/source/writer/EPUBPackage.cxx @@ -14,6 +14,7 @@ #include <com/sun/star/io/XSeekable.hpp> #include <com/sun/star/xml/sax/Writer.hpp> #include <com/sun/star/beans/XPropertySet.hpp> +#include <com/sun/star/embed/XHierarchicalStorageAccess.hpp> #include <comphelper/storagehelper.hxx> #include <unotools/mediadescriptor.hxx> diff --git a/writerperfect/source/writer/EPUBPackage.hxx b/writerperfect/source/writer/EPUBPackage.hxx index e7d135648326..00cd129d8045 100644 --- a/writerperfect/source/writer/EPUBPackage.hxx +++ b/writerperfect/source/writer/EPUBPackage.hxx @@ -12,11 +12,41 @@ #include <libepubgen/EPUBPackage.h> -#include <com/sun/star/beans/PropertyValue.hpp> -#include <com/sun/star/embed/XHierarchicalStorageAccess.hpp> #include <com/sun/star/uno/Sequence.h> -#include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/xml/sax/XWriter.hpp> +#include <com/sun/star/uno/Reference.h> + +namespace com +{ +namespace sun +{ +namespace star +{ +namespace beans +{ +struct PropertyValue; +} +namespace embed +{ +class XHierarchicalStorageAccess; +} +namespace io +{ +class XOutputStream; +} +namespace uno +{ +class XComponentContext; +} +namespace xml +{ +namespace sax +{ +class XWriter; +} +} +} +} +} namespace writerperfect { diff --git a/writerperfect/source/writer/exp/xmlimp.hxx b/writerperfect/source/writer/exp/xmlimp.hxx index 9d0dfd430d12..fc6c473a048b 100644 --- a/writerperfect/source/writer/exp/xmlimp.hxx +++ b/writerperfect/source/writer/exp/xmlimp.hxx @@ -16,15 +16,34 @@ #include <librevenge/librevenge.h> -#include <com/sun/star/beans/PropertyValue.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/uri/XUriReferenceFactory.hpp> #include <com/sun/star/xml/sax/XDocumentHandler.hpp> #include <cppuhelper/implbase.hxx> #include <rtl/ref.hxx> #include <tools/gen.hxx> +namespace com +{ +namespace sun +{ +namespace star +{ +namespace beans +{ +struct PropertyValue; +} +namespace uno +{ +class XComponentContext; +} +namespace uri +{ +class XUriReferenceFactory; +} +} +} +} + namespace writerperfect { namespace exp diff --git a/xmlsecurity/inc/pdfsignaturehelper.hxx b/xmlsecurity/inc/pdfsignaturehelper.hxx index 2997a333d9a7..f23a371d2820 100644 --- a/xmlsecurity/inc/pdfsignaturehelper.hxx +++ b/xmlsecurity/inc/pdfsignaturehelper.hxx @@ -13,12 +13,37 @@ #include "xmlsecuritydllapi.h" -#include <com/sun/star/io/XInputStream.hpp> -#include <com/sun/star/security/DocumentSignatureInformation.hpp> -#include <com/sun/star/xml/crypto/XSecurityEnvironment.hpp> - #include <svl/sigstruct.hxx> +namespace com +{ +namespace sun +{ +namespace star +{ +namespace io +{ +class XInputStream; +} +namespace security +{ +class XCertificate; +} +namespace security +{ +struct DocumentSignatureInformation; +} +namespace xml +{ +namespace crypto +{ +class XSecurityEnvironment; +} +} +} +} +} + /// Handles signatures of a PDF file. class XMLSECURITY_DLLPUBLIC PDFSignatureHelper { diff --git a/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx b/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx index e28b01a61d5e..442323deb6ad 100644 --- a/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx +++ b/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx @@ -8,6 +8,7 @@ */ #include <com/sun/star/xml/crypto/SEInitializer.hpp> +#include <com/sun/star/security/DocumentSignatureInformation.hpp> #include <comphelper/processfactory.hxx> #include <osl/file.hxx> diff --git a/xmlsecurity/source/helper/ooxmlsecexporter.hxx b/xmlsecurity/source/helper/ooxmlsecexporter.hxx index 12c7c197047c..5d94da2fdb6c 100644 --- a/xmlsecurity/source/helper/ooxmlsecexporter.hxx +++ b/xmlsecurity/source/helper/ooxmlsecexporter.hxx @@ -12,11 +12,33 @@ #include <memory> -#include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/embed/XStorage.hpp> -#include <com/sun/star/xml/sax/XDocumentHandler.hpp> #include <svl/sigstruct.hxx> +namespace com +{ +namespace sun +{ +namespace star +{ +namespace embed +{ +class XStorage; +} +namespace uno +{ +class XComponentContext; +} +namespace xml +{ +namespace sax +{ +class XDocumentHandler; +} +} +} +} +} + /// Writes a single OOXML digital signature. class OOXMLSecExporter { diff --git a/xmlsecurity/source/helper/pdfsignaturehelper.cxx b/xmlsecurity/source/helper/pdfsignaturehelper.cxx index 3e3e6ebdf467..a54d121d97eb 100644 --- a/xmlsecurity/source/helper/pdfsignaturehelper.cxx +++ b/xmlsecurity/source/helper/pdfsignaturehelper.cxx @@ -14,6 +14,8 @@ #include <com/sun/star/io/XTruncate.hpp> #include <com/sun/star/security/CertificateValidity.hpp> #include <com/sun/star/uno/SecurityException.hpp> +#include <com/sun/star/security/DocumentSignatureInformation.hpp> +#include <com/sun/star/xml/crypto/XSecurityEnvironment.hpp> #include <tools/stream.hxx> #include <unotools/ucbstreamhelper.hxx> |