From a7724966ab4fc8cd680a20e4f2a65f276e001a39 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 22 Oct 2013 15:58:57 +0300 Subject: Bin comments that claim to say why some header is included They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c --- basic/source/classes/image.cxx | 2 +- basic/source/classes/propacc.cxx | 2 +- basic/source/comp/exprtree.cxx | 2 +- basic/source/runtime/methods.cxx | 2 +- basic/source/runtime/methods1.cxx | 2 +- basic/source/sbx/sbxcurr.cxx | 2 +- basic/source/sbx/sbxform.cxx | 6 +++--- 7 files changed, 9 insertions(+), 9 deletions(-) (limited to 'basic') diff --git a/basic/source/classes/image.cxx b/basic/source/classes/image.cxx index c0748556651b..66d79853c799 100644 --- a/basic/source/classes/image.cxx +++ b/basic/source/classes/image.cxx @@ -22,7 +22,7 @@ #include #include #include "sb.hxx" -#include // memset() etc +#include #include "image.hxx" #include SbiImage::SbiImage() diff --git a/basic/source/classes/propacc.cxx b/basic/source/classes/propacc.cxx index 2ea51d4275db..166a07e5cb50 100644 --- a/basic/source/classes/propacc.cxx +++ b/basic/source/classes/propacc.cxx @@ -24,7 +24,7 @@ #include #include -#include // USHRT_MAX +#include using com::sun::star::uno::Reference; using namespace com::sun::star; diff --git a/basic/source/comp/exprtree.cxx b/basic/source/comp/exprtree.cxx index e56d70669eb9..8346e566d400 100644 --- a/basic/source/comp/exprtree.cxx +++ b/basic/source/comp/exprtree.cxx @@ -19,7 +19,7 @@ #include "sbcomp.hxx" -#include // because of ...IMPL_REF(...sbxvariable) +#include #include "expr.hxx" /*************************************************************************** diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index 549c56168262..691c5ea5931a 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -84,7 +84,7 @@ using namespace com::sun::star::uno; SbxVariable* getDefaultProp( SbxVariable* pRef ); #if defined (WNT) -#include // _getdcwd get current work directory, _chdrive +#include #endif #include diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx index de275d740735..bf83745efd25 100644 --- a/basic/source/runtime/methods1.cxx +++ b/basic/source/runtime/methods1.cxx @@ -21,7 +21,7 @@ #include -#include // getenv +#include #include #include #include diff --git a/basic/source/sbx/sbxcurr.cxx b/basic/source/sbx/sbxcurr.cxx index 851c6a8caa93..571eeb757230 100644 --- a/basic/source/sbx/sbxcurr.cxx +++ b/basic/source/sbx/sbxcurr.cxx @@ -19,7 +19,7 @@ #include -#include // for SvtSysLocale +#include #include #include diff --git a/basic/source/sbx/sbxform.cxx b/basic/source/sbx/sbxform.cxx index e2891085ad6c..b7338d8c8778 100644 --- a/basic/source/sbx/sbxform.cxx +++ b/basic/source/sbx/sbxform.cxx @@ -36,9 +36,9 @@ COMMENT: Visual-Basic treats the following (invalid) format-strings (this class behaves the same way) */ -#include // for: sprintf() -#include // for: DBL_DIG, DBL_EPSILON -#include // for: floor(), fabs(), log10(), pow() +#include +#include +#include //================================================================= //=========================== DEFINES ============================= -- cgit