summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/IwyuFilter_xmlsecurity.yaml5
-rw-r--r--xmlsecurity/inc/documentsignaturemanager.hxx29
-rw-r--r--xmlsecurity/source/helper/documentsignaturemanager.cxx3
3 files changed, 31 insertions, 6 deletions
diff --git a/xmlsecurity/IwyuFilter_xmlsecurity.yaml b/xmlsecurity/IwyuFilter_xmlsecurity.yaml
new file mode 100644
index 000000000000..fd05174b9891
--- /dev/null
+++ b/xmlsecurity/IwyuFilter_xmlsecurity.yaml
@@ -0,0 +1,5 @@
+---
+blacklist:
+ xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx:
+ # complete type is needed
+ - com/sun/star/security/DocumentSignatureInformation.hpp
diff --git a/xmlsecurity/inc/documentsignaturemanager.hxx b/xmlsecurity/inc/documentsignaturemanager.hxx
index f88820f03803..b5c6b1b985c7 100644
--- a/xmlsecurity/inc/documentsignaturemanager.hxx
+++ b/xmlsecurity/inc/documentsignaturemanager.hxx
@@ -26,12 +26,33 @@
#include <svl/sigstruct.hxx>
#include "xmlsignaturehelper.hxx"
-#include <com/sun/star/uno/XComponentContext.hpp>
-#include <com/sun/star/embed/XStorage.hpp>
-#include <com/sun/star/graphic/XGraphic.hpp>
#include "documentsignaturehelper.hxx"
-#include <com/sun/star/beans/PropertyValue.hpp>
+namespace com
+{
+namespace sun
+{
+namespace star
+{
+namespace beans
+{
+struct PropertyValue;
+}
+namespace embed
+{
+class XStorage;
+}
+namespace graphic
+{
+class XGraphic;
+}
+namespace uno
+{
+class XComponentContext;
+}
+}
+}
+}
class PDFSignatureHelper;
/// Manages signatures (addition, removal), used by DigitalSignaturesDialog.
diff --git a/xmlsecurity/source/helper/documentsignaturemanager.cxx b/xmlsecurity/source/helper/documentsignaturemanager.cxx
index c88c18964b22..2b24e03d587b 100644
--- a/xmlsecurity/source/helper/documentsignaturemanager.cxx
+++ b/xmlsecurity/source/helper/documentsignaturemanager.cxx
@@ -29,12 +29,11 @@
#include <com/sun/star/embed/XTransactedObject.hpp>
#include <com/sun/star/xml/crypto/SEInitializer.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <com/sun/star/graphic/XGraphic.hpp>
+#include <com/sun/star/beans/PropertyValue.hpp>
#include <comphelper/base64.hxx>
#include <comphelper/storagehelper.hxx>
#include <rtl/ustrbuf.hxx>
-#include <sax/tools/converter.hxx>
#include <tools/datetime.hxx>
#include <o3tl/make_unique.hxx>