summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-22 15:58:57 +0300
committerTor Lillqvist <tml@collabora.com>2013-10-22 16:56:28 +0300
commita7724966ab4fc8cd680a20e4f2a65f276e001a39 (patch)
tree5aeb953a7172ea061c7884be8c19849b9e2d81d8 /sal
parent1cbe2313edda8a04f0fe233b4a29ef4e2485f557 (diff)
Bin comments that claim to say why some header is included
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/all/log.cxx4
-rw-r--r--sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx2
-rw-r--r--sal/qa/rtl/oustring/rtl_OUString2.cxx2
-rw-r--r--sal/qa/sal/test_types.cxx4
4 files changed, 6 insertions, 6 deletions
diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx
index 3a496b8db75e..056d2a4cd437 100644
--- a/sal/osl/all/log.cxx
+++ b/sal/osl/all/log.cxx
@@ -17,8 +17,8 @@
#include <cstring>
#include <sstream>
-#include <stdio.h> // vsnprintf
-#include <string.h> // strdup
+#include <stdio.h>
+#include <string.h>
#include "osl/thread.hxx"
#include "rtl/string.h"
diff --git a/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx b/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx
index 2e6c2fef0c67..c51fe8287773 100644
--- a/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx
+++ b/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx
@@ -24,7 +24,7 @@
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
-#include <algorithm> // STL
+#include <algorithm>
#include "testshl/stringhelper.hxx"
diff --git a/sal/qa/rtl/oustring/rtl_OUString2.cxx b/sal/qa/rtl/oustring/rtl_OUString2.cxx
index 4878540bb06f..f4f25670f71a 100644
--- a/sal/qa/rtl/oustring/rtl_OUString2.cxx
+++ b/sal/qa/rtl/oustring/rtl_OUString2.cxx
@@ -23,7 +23,7 @@
#include <math.h>
#include <stdio.h>
-#include <algorithm> // STL
+#include <algorithm>
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
diff --git a/sal/qa/sal/test_types.cxx b/sal/qa/sal/test_types.cxx
index 35d74bb6f90b..5cb3b11970c4 100644
--- a/sal/qa/sal/test_types.cxx
+++ b/sal/qa/sal/test_types.cxx
@@ -18,8 +18,8 @@
*/
#include <cstddef>
-#include <stdio.h> // C99 snprintf not necessarily in <cstdio>
-#include <string.h> // wntmsci10 does not know <cstring> std::strcmp
+#include <stdio.h>
+#include <string.h>
#include <sal/types.h>
#include <cppunit/TestFixture.h>