summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-22 09:42:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-22 09:57:47 +0200
commit6ff2d84ade299cb3d14d4110e4cf1a4b8070c030 (patch)
tree783dc367eacbe3eef9f226d0735d0137e7245648 /starmath
parent9406ab47a92386d676038e467e555c3c80b46f62 (diff)
Various #include <sal/log.hxx> fixups
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it. Cleaned up some, but something like grep -FwL sal/log.hxx $(git grep -Elw \ 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF') -- \*.cxx) shows lots more files that potentially need fixing before the include can be removed from rtl/string.hxx and rtl/ustring.hxx. Change-Id: Ibf033363e83d37851776f392dc0b077381cd8b90
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/caret.hxx4
-rw-r--r--starmath/inc/rect.hxx1
-rw-r--r--starmath/inc/utility.hxx3
-rw-r--r--starmath/inc/visitors.hxx4
4 files changed, 12 insertions, 0 deletions
diff --git a/starmath/inc/caret.hxx b/starmath/inc/caret.hxx
index 762df16364e6..3872b162e3d6 100644
--- a/starmath/inc/caret.hxx
+++ b/starmath/inc/caret.hxx
@@ -9,6 +9,10 @@
#ifndef INCLUDED_STARMATH_INC_CARET_HXX
#define INCLUDED_STARMATH_INC_CARET_HXX
+#include <sal/config.h>
+
+#include <sal/log.hxx>
+
#include "node.hxx"
/** Representation of caret position with an equation */
diff --git a/starmath/inc/rect.hxx b/starmath/inc/rect.hxx
index 480bb7c66ee5..074ae4cb36fc 100644
--- a/starmath/inc/rect.hxx
+++ b/starmath/inc/rect.hxx
@@ -23,6 +23,7 @@
#include <new>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <tools/gen.hxx>
#include <vcl/outdev.hxx>
#include <vcl/metric.hxx>
diff --git a/starmath/inc/utility.hxx b/starmath/inc/utility.hxx
index 304c10c7e841..ccd83f72274c 100644
--- a/starmath/inc/utility.hxx
+++ b/starmath/inc/utility.hxx
@@ -19,6 +19,9 @@
#ifndef INCLUDED_STARMATH_INC_UTILITY_HXX
#define INCLUDED_STARMATH_INC_UTILITY_HXX
+#include <sal/config.h>
+
+#include <sal/log.hxx>
#include <vcl/font.hxx>
#include <vcl/fixed.hxx>
#include <vcl/combobox.hxx>
diff --git a/starmath/inc/visitors.hxx b/starmath/inc/visitors.hxx
index 2544d95dad8b..adbab3b5c091 100644
--- a/starmath/inc/visitors.hxx
+++ b/starmath/inc/visitors.hxx
@@ -9,6 +9,10 @@
#ifndef INCLUDED_STARMATH_INC_VISITORS_HXX
#define INCLUDED_STARMATH_INC_VISITORS_HXX
+#include <sal/config.h>
+
+#include <sal/log.hxx>
+
#include "node.hxx"
#include "caret.hxx"
#include <memory>