summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-09-20 21:56:37 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-09-21 08:24:19 +0200
commit504d2209e47ffeb223b2bcde9fc24e828cc5cd6f (patch)
tree4c936b98ad7ccedb62761b6183c33ac0bb9d568a /framework
parent7246e57216bb20c15af0ecf6a0183f5ffa81e780 (diff)
Remove some "Attention" comments of little value
...and rather add sal/config.h includes, while at it Change-Id: I0ea917b101d89f16228bea6b3102b630c8202e07 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122369 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/helper/propertysetcontainer.hxx5
-rw-r--r--framework/inc/helper/statusindicatorfactory.hxx4
-rw-r--r--framework/inc/recording/dispatchrecorder.hxx5
-rw-r--r--framework/inc/uielement/menubarmanager.hxx5
-rw-r--r--framework/source/fwe/xml/saxnamespacefilter.cxx5
-rw-r--r--framework/source/layoutmanager/toolbarlayoutmanager.hxx5
6 files changed, 12 insertions, 17 deletions
diff --git a/framework/inc/helper/propertysetcontainer.hxx b/framework/inc/helper/propertysetcontainer.hxx
index f943a112a7ac..75c8414c3698 100644
--- a/framework/inc/helper/propertysetcontainer.hxx
+++ b/framework/inc/helper/propertysetcontainer.hxx
@@ -19,9 +19,8 @@
#pragma once
-/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
- with solaris headers ...
-*/
+#include <sal/config.h>
+
#include <vector>
#include <cppuhelper/weak.hxx>
#include <com/sun/star/container/XIndexContainer.hpp>
diff --git a/framework/inc/helper/statusindicatorfactory.hxx b/framework/inc/helper/statusindicatorfactory.hxx
index 3443bd881d25..b3f3984f7a2c 100644
--- a/framework/inc/helper/statusindicatorfactory.hxx
+++ b/framework/inc/helper/statusindicatorfactory.hxx
@@ -19,8 +19,8 @@
#pragma once
-// Attention: stl headers must(!) be included at first. Otherwise it can make trouble
-// with solaris headers ...
+#include <sal/config.h>
+
#include <vector>
#include <mutex>
diff --git a/framework/inc/recording/dispatchrecorder.hxx b/framework/inc/recording/dispatchrecorder.hxx
index e8ba276da891..ec03189d3cb4 100644
--- a/framework/inc/recording/dispatchrecorder.hxx
+++ b/framework/inc/recording/dispatchrecorder.hxx
@@ -19,9 +19,8 @@
#pragma once
-/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
- with solaris headers ...
-*/
+#include <sal/config.h>
+
#include <vector>
#include <rtl/ustring.hxx>
diff --git a/framework/inc/uielement/menubarmanager.hxx b/framework/inc/uielement/menubarmanager.hxx
index e9fb1a9c32ae..a77552a67213 100644
--- a/framework/inc/uielement/menubarmanager.hxx
+++ b/framework/inc/uielement/menubarmanager.hxx
@@ -19,9 +19,8 @@
#pragma once
-/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
- with solaris headers ...
-*/
+#include <sal/config.h>
+
#include <unordered_map>
#include <vector>
diff --git a/framework/source/fwe/xml/saxnamespacefilter.cxx b/framework/source/fwe/xml/saxnamespacefilter.cxx
index 18baa687422b..ac1ff571c26a 100644
--- a/framework/source/fwe/xml/saxnamespacefilter.cxx
+++ b/framework/source/fwe/xml/saxnamespacefilter.cxx
@@ -17,9 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
- with solaris headers ...
-*/
+#include <sal/config.h>
+
#include <vector>
#include <com/sun/star/xml/sax/SAXException.hpp>
diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.hxx b/framework/source/layoutmanager/toolbarlayoutmanager.hxx
index 3741875c1d3f..d91938a55d47 100644
--- a/framework/source/layoutmanager/toolbarlayoutmanager.hxx
+++ b/framework/source/layoutmanager/toolbarlayoutmanager.hxx
@@ -19,9 +19,8 @@
#pragma once
-/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
- with solaris headers ...
-*/
+#include <sal/config.h>
+
#include <vector>
#include <uiconfiguration/globalsettings.hxx>