summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/inc/formulalogger.hxx5
-rw-r--r--sc/source/core/tool/formulalogger.cxx1
2 files changed, 5 insertions, 1 deletions
diff --git a/sc/inc/formulalogger.hxx b/sc/inc/formulalogger.hxx
index 626594719194..2675f7fc4b4c 100644
--- a/sc/inc/formulalogger.hxx
+++ b/sc/inc/formulalogger.hxx
@@ -8,7 +8,8 @@
#ifndef INCLUDED_SC_INC_FORMULALOGGER_HXX
#define INCLUDED_SC_INC_FORMULALOGGER_HXX
-#include <osl/file.hxx>
+#include <rtl/ustring.hxx>
+
#include <memory>
#include <vector>
@@ -26,6 +27,8 @@ struct VectorRefArray;
}
+namespace osl { class File; }
+
namespace sc {
#if ENABLE_FORMULA_LOGGER
diff --git a/sc/source/core/tool/formulalogger.cxx b/sc/source/core/tool/formulalogger.cxx
index a386feb1864c..b0c5064fb2b9 100644
--- a/sc/source/core/tool/formulalogger.cxx
+++ b/sc/source/core/tool/formulalogger.cxx
@@ -12,6 +12,7 @@
#include <tokenstringcontext.hxx>
#include <address.hxx>
+#include <osl/file.hxx>
#include <o3tl/make_unique.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/docfile.hxx>