Kaydet (Commit) c210019f authored tarafından Miklos Vajna's avatar Miklos Vajna

xmlsecurity: no need to have pdfio/pdfdocument.hxx as a global header

Which means xmlsecurity can be again a module that has no public
headers.

Change-Id: I3d0b03680398f80196fac187263e770fd44ed0ed
Reviewed-on: https://gerrit.libreoffice.org/41966Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst 4f7034b6
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <com/sun/star/xml/sax/XDocumentHandler.hpp> #include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <svl/sigstruct.hxx> #include <svl/sigstruct.hxx>
#include "xmlsecurity/xmlsecuritydllapi.h" #include "xmlsecuritydllapi.h"
#include <vector> #include <vector>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef INCLUDED_XMLSECURITY_INC_DOCUMENTSIGNATUREMANAGER_HXX #ifndef INCLUDED_XMLSECURITY_INC_DOCUMENTSIGNATUREMANAGER_HXX
#define INCLUDED_XMLSECURITY_INC_DOCUMENTSIGNATUREMANAGER_HXX #define INCLUDED_XMLSECURITY_INC_DOCUMENTSIGNATUREMANAGER_HXX
#include "xmlsecurity/xmlsecuritydllapi.h" #include "xmlsecuritydllapi.h"
#include <memory> #include <memory>
......
...@@ -8,14 +8,14 @@ ...@@ -8,14 +8,14 @@
* *
*/ */
#ifndef INCLUDED_XMLSECURITY_PDFIO_PDFDOCUMENT_HXX #ifndef INCLUDED_XMLSECURITY_INC_PDFIO_PDFDOCUMENT_HXX
#define INCLUDED_XMLSECURITY_PDFIO_PDFDOCUMENT_HXX #define INCLUDED_XMLSECURITY_INC_PDFIO_PDFDOCUMENT_HXX
#include <vcl/filter/pdfdocument.hxx> #include <vcl/filter/pdfdocument.hxx>
#include <tools/stream.hxx> #include <tools/stream.hxx>
#include <xmlsecurity/xmlsecuritydllapi.h> #include <xmlsecuritydllapi.h>
struct SignatureInformation; struct SignatureInformation;
...@@ -34,6 +34,6 @@ XMLSECURITY_DLLPUBLIC bool ValidateSignature(SvStream& rStream, vcl::filter::PDF ...@@ -34,6 +34,6 @@ XMLSECURITY_DLLPUBLIC bool ValidateSignature(SvStream& rStream, vcl::filter::PDF
} // namespace pdfio } // namespace pdfio
} // namespace xmlsecurity } // namespace xmlsecurity
#endif // INCLUDED_XMLSECURITY_PDFIO_PDFDOCUMENT_HXX #endif // INCLUDED_XMLSECURITY_INC_PDFIO_PDFDOCUMENT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#ifndef INCLUDED_XMLSECURITY_INC_PDFSIGNATUREHELPER_HXX #ifndef INCLUDED_XMLSECURITY_INC_PDFSIGNATUREHELPER_HXX
#define INCLUDED_XMLSECURITY_INC_PDFSIGNATUREHELPER_HXX #define INCLUDED_XMLSECURITY_INC_PDFSIGNATUREHELPER_HXX
#include <xmlsecurity/xmlsecuritydllapi.h> #include <xmlsecuritydllapi.h>
#include <com/sun/star/io/XInputStream.hpp> #include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/security/DocumentSignatureInformation.hpp> #include <com/sun/star/security/DocumentSignatureInformation.hpp>
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/ */
#ifndef INCLUDED_XMLSECURITY_XMLSECURITYDLLAPI_H #ifndef INCLUDED_XMLSECURITY_INC_XMLSECURITYDLLAPI_H
#define INCLUDED_XMLSECURITY_XMLSECURITYDLLAPI_H #define INCLUDED_XMLSECURITY_INC_XMLSECURITYDLLAPI_H
#include <sal/types.h> #include <sal/types.h>
...@@ -18,6 +18,6 @@ ...@@ -18,6 +18,6 @@
#define XMLSECURITY_DLLPUBLIC SAL_DLLPUBLIC_IMPORT #define XMLSECURITY_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif #endif
#endif // INCLUDED_XMLSECURITY_XMLSECURITYDLLAPI_H #endif // INCLUDED_XMLSECURITY_INC_XMLSECURITYDLLAPI_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include <rtl/ref.hxx> #include <rtl/ref.hxx>
#include <svl/sigstruct.hxx> #include <svl/sigstruct.hxx>
#include <xsecctl.hxx> #include <xsecctl.hxx>
#include <xmlsecurity/xmlsecuritydllapi.h> #include <xmlsecuritydllapi.h>
#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/xml/sax/XWriter.hpp> #include <com/sun/star/xml/sax/XWriter.hpp>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <unotools/ucbstreamhelper.hxx> #include <unotools/ucbstreamhelper.hxx>
#include <documentsignaturemanager.hxx> #include <documentsignaturemanager.hxx>
#include <xmlsecurity/pdfio/pdfdocument.hxx> #include <pdfio/pdfdocument.hxx>
using namespace com::sun::star; using namespace com::sun::star;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <tools/stream.hxx> #include <tools/stream.hxx>
#include <unotools/ucbstreamhelper.hxx> #include <unotools/ucbstreamhelper.hxx>
#include <xmlsecurity/pdfio/pdfdocument.hxx> #include <pdfio/pdfdocument.hxx>
using namespace ::com::sun::star; using namespace ::com::sun::star;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/ */
#include <xmlsecurity/pdfio/pdfdocument.hxx> #include <pdfio/pdfdocument.hxx>
#include <map> #include <map>
#include <memory> #include <memory>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <vcl/svapp.hxx> #include <vcl/svapp.hxx>
#include <vcl/graphicfilter.hxx> #include <vcl/graphicfilter.hxx>
#include <xmlsecurity/pdfio/pdfdocument.hxx> #include <pdfio/pdfdocument.hxx>
#include <svl/sigstruct.hxx> #include <svl/sigstruct.hxx>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment