summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/ui/uno/swdet2.cxx18
1 files changed, 5 insertions, 13 deletions
diff --git a/sw/source/ui/uno/swdet2.cxx b/sw/source/ui/uno/swdet2.cxx
index 13ffb4262077..0eacb62fcec7 100644
--- a/sw/source/ui/uno/swdet2.cxx
+++ b/sw/source/ui/uno/swdet2.cxx
@@ -17,27 +17,19 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <sfx2/docfac.hxx>
+#include "rtl/ustring.hxx" // for OUString, operator==
+#include "sal/types.h" // for sal_Bool
+#include "tools/errcode.hxx" // for ERRCODE_ABORT, ERRCODE_NONE
+#include "tools/solar.h" // for sal_uLong
+
#include <sfx2/docfilt.hxx>
#include <sfx2/fcontnr.hxx>
#include <sfx2/docfile.hxx>
-#include <sfx2/app.hxx>
-#include <svtools/sfxecode.hxx>
-#include <vcl/msgbox.hxx>
-#include <svtools/parhtml.hxx>
-#include <comphelper/classids.hxx>
#include <iodetect.hxx>
-
#include <swdetect.hxx>
-#include <app.hrc>
-#include <web.hrc>
-#include <globdoc.hrc>
-
#include <unotools/moduleoptions.hxx>
-#include <unomid.h>
-
bool IsDocShellRegistered()
{
return SvtModuleOptions().IsWriter();