sfx2/source/appl/appdde.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 5cd76b925e3b8b20bc5ab91a49d91b2d52e2e69d
Author: Michael Weghorn <[email protected]>
AuthorDate: Tue Feb 24 11:01:39 2026 +0000
Commit: Michael Weghorn <[email protected]>
CommitDate: Tue Feb 24 15:26:13 2026 +0100
sfx2: Add missing include for SfxPoolItemHolder
Fixes this build failure seen in a local --enable-pch=no
Windows build:
C:/Users/mwegh/development/git/libreoffice/sfx2/source/appl/appdde.cxx(148):
error C2079: 'aResult' uses undefined class 'SfxPoolItemHolder'
C:/Users/mwegh/development/git/libreoffice/sfx2/source/appl/appdde.cxx(148):
error C2027: use of undefined type 'SfxPoolItemHolder'
C:\Users\mwegh\development\git\libreoffice\include\sfx2/shell.hxx(53): note:
see declaration of 'SfxPoolItemHolder'
C:/Users/mwegh/development/git/libreoffice/sfx2/source/appl/appdde.cxx(152):
error C2737: 'item': const object must be initialized
C:/Users/mwegh/development/git/libreoffice/sfx2/source/appl/appdde.cxx(153):
error C3536: 'item': cannot be used before it is initialized
Change-Id: I2c86c79d7381349bc24079c399b24f2df630fe07
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200174
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <[email protected]>
diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx
index 896aa6db0e3d..ccb6b220265f 100644
--- a/sfx2/source/appl/appdde.cxx
+++ b/sfx2/source/appl/appdde.cxx
@@ -47,6 +47,7 @@
#include <sfx2/dispatch.hxx>
#include <sfx2/sfxsids.hrc>
#include <sfx2/docfile.hxx>
+#include <svl/itemset.hxx>
#include <ucbhelper/content.hxx>
#include <comphelper/processfactory.hxx>