diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-03-27 17:35:34 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-03-28 07:54:50 +0000 |
commit | 157cb703888f4187c2c6709b13ebf9f779580fe2 (patch) | |
tree | 05e1626d0478f8daaffab36ea028932ac2afa1e3 | |
parent | 4d5ce76d894d2335b551f8c2b29437e2049894f0 (diff) |
sc: include cleanup for --enable_formula_logger
don't include osl/file.hxx everywhere it's only needed
for --enable_formula_logger builds
Change-Id: I6ba30351b5a7afe975ea859e838930f9d1454c8c
Reviewed-on: https://gerrit.libreoffice.org/35766
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
-rw-r--r-- | sc/inc/formulalogger.hxx | 5 | ||||
-rw-r--r-- | sc/source/core/tool/formulalogger.cxx | 1 |
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> |