[Libreoffice-commits] core.git: sc/inc sc/source

Jochen Nitschke j.nitschke+logerrit at ok.de
Tue Mar 28 07:55:13 UTC 2017


 sc/inc/formulalogger.hxx              |    5 ++++-
 sc/source/core/tool/formulalogger.cxx |    1 +
 2 files changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 157cb703888f4187c2c6709b13ebf9f779580fe2
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Mon Mar 27 17:35:34 2017 +0200

    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 at libreoffice.org>
    Reviewed-by: Jochen Nitschke <j.nitschke+logerrit at ok.de>

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>


More information about the Libreoffice-commits mailing list