summaryrefslogtreecommitdiff
path: root/sot
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 /sot
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 'sot')
-rw-r--r--sot/source/sdstor/stgdir.cxx2
-rw-r--r--sot/source/sdstor/stgelem.cxx2
-rw-r--r--sot/source/sdstor/stgole.cxx2
-rw-r--r--sot/source/sdstor/stgole.hxx2
-rw-r--r--sot/source/sdstor/stgstrms.cxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/sot/source/sdstor/stgdir.cxx b/sot/source/sdstor/stgdir.cxx
index e9860b980a78..cec23162effa 100644
--- a/sot/source/sdstor/stgdir.cxx
+++ b/sot/source/sdstor/stgdir.cxx
@@ -18,7 +18,7 @@
*/
-#include <string.h> // memcpy()
+#include <string.h>
#include "sot/stg.hxx"
#include "stgelem.hxx"
diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx
index a4a2485bf898..4299994acc72 100644
--- a/sot/source/sdstor/stgelem.cxx
+++ b/sot/source/sdstor/stgelem.cxx
@@ -18,7 +18,7 @@
*/
-#include <string.h> // memset(), memcpy()
+#include <string.h>
#include <rtl/ustring.hxx>
#include <com/sun/star/lang/Locale.hpp>
#include <unotools/charclass.hxx>
diff --git a/sot/source/sdstor/stgole.cxx b/sot/source/sdstor/stgole.cxx
index b2f092fb845a..1825b357615c 100644
--- a/sot/source/sdstor/stgole.cxx
+++ b/sot/source/sdstor/stgole.cxx
@@ -19,7 +19,7 @@
#include "rtl/string.h"
#include "stgole.hxx"
-#include "sot/storinfo.hxx" // Read/WriteClipboardFormat()
+#include "sot/storinfo.hxx"
#ifdef _MSC_VER
#pragma warning(disable: 4342)
diff --git a/sot/source/sdstor/stgole.hxx b/sot/source/sdstor/stgole.hxx
index c5e7a5f2ab5a..eadb7e86436f 100644
--- a/sot/source/sdstor/stgole.hxx
+++ b/sot/source/sdstor/stgole.hxx
@@ -20,7 +20,7 @@
#ifndef _SDSTOR_STGOLE_HXX
#define _SDSTOR_STGOLE_HXX
-#include <string.h> // memset()
+#include <string.h>
#include "sot/stg.hxx"
#include "stgelem.hxx"
diff --git a/sot/source/sdstor/stgstrms.cxx b/sot/source/sdstor/stgstrms.cxx
index 16deea9168ba..fd9d1d1a513f 100644
--- a/sot/source/sdstor/stgstrms.cxx
+++ b/sot/source/sdstor/stgstrms.cxx
@@ -19,7 +19,7 @@
#include <algorithm>
-#include <string.h> // memcpy()
+#include <string.h>
#include <sal/log.hxx>
#include <osl/file.hxx>
#include <unotools/tempfile.hxx>