summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx2
-rw-r--r--bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx2
-rw-r--r--bridges/source/jni_uno/jni_java2uno.cxx1
-rw-r--r--bridges/test/testcomp.h4
-rw-r--r--cli_ure/source/native/path.cxx1
-rw-r--r--cppu/source/uno/cascade_mapping.cxx4
-rw-r--r--jvmfwk/source/libxmlutil.hxx1
-rw-r--r--offapi/com/sun/star/chart2/CoordinateSystemType.idl9
-rw-r--r--offapi/com/sun/star/chart2/DataSeries.idl1
-rw-r--r--offapi/com/sun/star/chart2/FillBitmap.idl4
-rw-r--r--offapi/com/sun/star/chart2/XDataSeries.idl2
-rw-r--r--offapi/com/sun/star/chart2/XTarget.idl9
-rw-r--r--offapi/com/sun/star/chart2/XUndoHelper.idl1
-rw-r--r--offapi/com/sun/star/chart2/data/XLabeledDataSequence.idl1
-rw-r--r--offapi/com/sun/star/util/XTextSearch.idl5
-rw-r--r--sal/inc/rtl/tres.hxx3
-rw-r--r--sal/osl/os2/dllentry.c1
-rw-r--r--sal/osl/os2/process.c5
-rw-r--r--sal/osl/unx/file_volume.cxx3
-rw-r--r--sal/osl/unx/pipe.c5
-rwxr-xr-xsal/qa/osl/security/osl_Security_Const.h8
-rw-r--r--sal/qa/osl/socket/osl_DatagramSocket.cxx5
-rw-r--r--sal/qa/osl/socket/osl_Socket2.cxx5
-rw-r--r--sal/qa/osl/socket/osl_SocketAddr.cxx5
-rw-r--r--sal/qa/osl/socket/osl_StreamSocket.cxx5
-rw-r--r--sal/qa/osl/socket/sockethelper.hxx10
-rw-r--r--sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx2
-rw-r--r--sal/qa/rtl/logfile/rtl_logfile.cxx6
-rw-r--r--sal/qa/rtl/math/test_rtl_math.cxx1
-rw-r--r--sal/qa/rtl_strings/rtl_old_testostring.cxx10
-rw-r--r--sal/qa/rtl_strings/rtl_old_testowstring.cxx11
-rw-r--r--sal/qa/rtl_strings/rtl_old_teststrbuf.cxx11
-rw-r--r--sal/workben/salstattest.c3
-rw-r--r--stoc/test/javavm/jvm_interaction/interactionhandler.cxx1
-rw-r--r--stoc/test/javavm/testjavavm.cxx3
-rw-r--r--stoc/test/testintrosp.cxx3
36 files changed, 3 insertions, 150 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx
index 864684283..4d1704921 100644
--- a/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx
@@ -40,7 +40,6 @@
#include "bridges/cpp_uno/shared/vtablefactory.hxx"
#include "share.hxx"
-// #include <stdio.h>
using namespace ::com::sun::star::uno;
@@ -48,7 +47,6 @@ using namespace ::com::sun::star::uno;
namespace
{
-//==================================================================================================
static typelib_TypeClass cpp2uno_call(
bridges::cpp_uno::shared::CppInterfaceProxy * pThis,
const typelib_TypeDescription * pMemberTypeDescr,
diff --git a/bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx
index db2099518..f90c1e508 100644
--- a/bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx
@@ -30,8 +30,6 @@
#include <stdio.h>
-// #include <malloc.h>
-
#include <com/sun/star/uno/genfunc.hxx>
#include "com/sun/star/uno/RuntimeException.hpp"
#include <uno/data.h>
diff --git a/bridges/source/jni_uno/jni_java2uno.cxx b/bridges/source/jni_uno/jni_java2uno.cxx
index 158b74dc5..5dd729e8f 100644
--- a/bridges/source/jni_uno/jni_java2uno.cxx
+++ b/bridges/source/jni_uno/jni_java2uno.cxx
@@ -31,7 +31,6 @@
#include <sal/alloca.h>
#include "jni_bridge.h"
-//#include "jni_finalizer.h"
#include <rtl/ustrbuf.hxx>
diff --git a/bridges/test/testcomp.h b/bridges/test/testcomp.h
index 66bef3d24..52d45044d 100644
--- a/bridges/test/testcomp.h
+++ b/bridges/test/testcomp.h
@@ -24,12 +24,10 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-//#include <com/sun/star/bridge/XServer.hpp>
-//#include <com/sun/star/bridge/XClient.hpp>
+
#include <stdio.h>
#include <com/sun/star/bridge/XInstanceProvider.hpp>
-//#include <com/sun/star/bridge/XConnectionAdministration.hpp>
#include <osl/thread.hxx>
diff --git a/cli_ure/source/native/path.cxx b/cli_ure/source/native/path.cxx
index 914c75c0b..97a9caca3 100644
--- a/cli_ure/source/native/path.cxx
+++ b/cli_ure/source/native/path.cxx
@@ -35,7 +35,6 @@
#include <windows.h>
#include "sal/types.h"
-//#include "tools/pathutils.hxx"
namespace cli_ure {
diff --git a/cppu/source/uno/cascade_mapping.cxx b/cppu/source/uno/cascade_mapping.cxx
index 4d8e3f19e..fe204a249 100644
--- a/cppu/source/uno/cascade_mapping.cxx
+++ b/cppu/source/uno/cascade_mapping.cxx
@@ -31,13 +31,9 @@
#include "uno/mapping.hxx"
#include "uno/dispatcher.h"
-//#include "cascade_mappping.hxx"
#include "cppu/EnvDcp.hxx"
-//#define LOG_CALLING_named_purpose_getMapping
-
-//#define LOG_LIFECYLE_MediatorMapping
#ifdef LOG_LIFECYLE_MediatorMapping
# include <iostream>
# define LOG_LIFECYLE_MediatorMapping_emit(x) x
diff --git a/jvmfwk/source/libxmlutil.hxx b/jvmfwk/source/libxmlutil.hxx
index ed4a6d750..0b5b88e13 100644
--- a/jvmfwk/source/libxmlutil.hxx
+++ b/jvmfwk/source/libxmlutil.hxx
@@ -30,7 +30,6 @@
#include "libxml/parser.h"
#include "libxml/xpath.h"
-//#include "libxml/xpathinternals.h"
#include "rtl/ustring.hxx"
namespace jfw
{
diff --git a/offapi/com/sun/star/chart2/CoordinateSystemType.idl b/offapi/com/sun/star/chart2/CoordinateSystemType.idl
index a16e2a238..e693acb81 100644
--- a/offapi/com/sun/star/chart2/CoordinateSystemType.idl
+++ b/offapi/com/sun/star/chart2/CoordinateSystemType.idl
@@ -1,16 +1,9 @@
#ifndef com_sun_star_chart2_CoordinateSystemType_idl
#define com_sun_star_chart2_CoordinateSystemType_idl
-// #ifndef com_sun_star_chart2_XCoordinateSystemType_idl
-// #include <com/sun/star/chart2/XCoordinateSystemType.idl>
-// #endif
-
-//=============================================================================
module com { module sun { module star { module chart2 {
-//=============================================================================
-
/**
<p>
The service CoordinateSystemType represents a special type of coordinate system.
@@ -29,8 +22,6 @@ service CoordinateSystemType
// interface ::com::sun::star::chart2::XCoordinateSystemType;
};
-//=============================================================================
-
}; }; }; };
#endif
diff --git a/offapi/com/sun/star/chart2/DataSeries.idl b/offapi/com/sun/star/chart2/DataSeries.idl
index 144a74e3f..aab42d231 100644
--- a/offapi/com/sun/star/chart2/DataSeries.idl
+++ b/offapi/com/sun/star/chart2/DataSeries.idl
@@ -32,7 +32,6 @@
#include <com/sun/star/container/XContainer.idl>
#include <com/sun/star/style/XStyle.idl>
-//#include <com/sun/star/chart2/ChartTypeSupplier.idl>
#include <com/sun/star/chart2/CoordinateSystemSupplier.idl>
#include <com/sun/star/chart2/data/XDataSink.idl>
#include <com/sun/star/chart2/data/XDataSource.idl>
diff --git a/offapi/com/sun/star/chart2/FillBitmap.idl b/offapi/com/sun/star/chart2/FillBitmap.idl
index c58b35471..1f4db636c 100644
--- a/offapi/com/sun/star/chart2/FillBitmap.idl
+++ b/offapi/com/sun/star/chart2/FillBitmap.idl
@@ -27,10 +27,6 @@
#ifndef com_sun_star_chart2_FillBitmap_idl
#define com_sun_star_chart2_FillBitmap_idl
-// #ifndef __com_sun_star_awt_XBitmap_idl__
-// #include <com/sun/star/awt/XBitmap.idl>
-// #endif
-
#ifndef __com_sun_star_awt_Point_idl__
#include <com/sun/star/awt/Point.idl>
#endif
diff --git a/offapi/com/sun/star/chart2/XDataSeries.idl b/offapi/com/sun/star/chart2/XDataSeries.idl
index 9558dde9c..694837a3e 100644
--- a/offapi/com/sun/star/chart2/XDataSeries.idl
+++ b/offapi/com/sun/star/chart2/XDataSeries.idl
@@ -27,8 +27,6 @@
#ifndef com_sun_star_chart2_XDataSeries_idl
#define com_sun_star_chart2_XDataSeries_idl
-// #include <com/sun/star/chart2/XCoordinateSystem.idl>
-
#ifndef __com_sun_star_beans_XPropertySet_idl__
#include <com/sun/star/beans/XPropertySet.idl>
#endif
diff --git a/offapi/com/sun/star/chart2/XTarget.idl b/offapi/com/sun/star/chart2/XTarget.idl
index 1e18166d3..e41afe75f 100644
--- a/offapi/com/sun/star/chart2/XTarget.idl
+++ b/offapi/com/sun/star/chart2/XTarget.idl
@@ -5,16 +5,9 @@
#include <com/sun/star/uno/XInterface.idl>
#endif
-// #ifndef __com_sun_star_drawing_XShapes_idl__
-// #include <com/sun/star/drawing/XShapes.idl>
-// #endif
-
-//=============================================================================
module com { module sun { module star { module chart2 {
-//=============================================================================
-
//................... wrong --> XDrawGroup
// [in] com::sun::star::drawing::XShapes xShapes
@@ -26,8 +19,6 @@ interface XTarget : ::com::sun::star::uno::XInterface
//... provide something for creation of Transformation ...
};
-//=============================================================================
-
}; }; }; };
#endif
diff --git a/offapi/com/sun/star/chart2/XUndoHelper.idl b/offapi/com/sun/star/chart2/XUndoHelper.idl
index 1a8f9d03b..b5d82c25f 100644
--- a/offapi/com/sun/star/chart2/XUndoHelper.idl
+++ b/offapi/com/sun/star/chart2/XUndoHelper.idl
@@ -29,7 +29,6 @@
#include <com/sun/star/uno/XInterface.idl>
#include <com/sun/star/frame/XModel.idl>
-// #include <com/sun/star/beans/PropertyValue.idl>
module com
{
diff --git a/offapi/com/sun/star/chart2/data/XLabeledDataSequence.idl b/offapi/com/sun/star/chart2/data/XLabeledDataSequence.idl
index beda2cb9c..2fefcafc9 100644
--- a/offapi/com/sun/star/chart2/data/XLabeledDataSequence.idl
+++ b/offapi/com/sun/star/chart2/data/XLabeledDataSequence.idl
@@ -29,7 +29,6 @@
#include <com/sun/star/uno/XInterface.idl>
#include <com/sun/star/chart2/data/XDataSequence.idl>
-// #include <com/sun/star/lang/IllegalArgumentException.idl>
module com
{
diff --git a/offapi/com/sun/star/util/XTextSearch.idl b/offapi/com/sun/star/util/XTextSearch.idl
index e1ea524d1..6144b336e 100644
--- a/offapi/com/sun/star/util/XTextSearch.idl
+++ b/offapi/com/sun/star/util/XTextSearch.idl
@@ -31,15 +31,10 @@
#include <com/sun/star/lang/Locale.idl>
#include <com/sun/star/uno/XInterface.idl>
-//#include <com/sun/star/lang/CascadeTransliterator.idl>
-//=============================================================================
module com { module sun { module star { module util {
-//=============================================================================
-
-
published enum SearchAlgorithms {
ABSOLUTE, // "normal" a kind of Boyer-Moore
REGEXP, // regular expression
diff --git a/sal/inc/rtl/tres.hxx b/sal/inc/rtl/tres.hxx
index 68c3df845..cd2e505c2 100644
--- a/sal/inc/rtl/tres.hxx
+++ b/sal/inc/rtl/tres.hxx
@@ -28,11 +28,8 @@
#ifndef _RTL_TRES_HXX_
#define _RTL_TRES_HXX_
-
#include <rtl/tres.h>
-//#include <stdarg.h>
-
// <namespace_rtl>
namespace rtl
{
diff --git a/sal/osl/os2/dllentry.c b/sal/osl/os2/dllentry.c
index 1ba2a0579..b1ba3479b 100644
--- a/sal/osl/os2/dllentry.c
+++ b/sal/osl/os2/dllentry.c
@@ -28,7 +28,6 @@
#include "system.h"
#include "sockimpl.h"
#include "secimpl.h"
-//#include "daemimpl.h"
#include <osl/diagnose.h>
diff --git a/sal/osl/os2/process.c b/sal/osl/os2/process.c
index 407d9461c..f2c18c5d6 100644
--- a/sal/osl/os2/process.c
+++ b/sal/osl/os2/process.c
@@ -29,21 +29,16 @@
#include <osl/thread.h>
#include <osl/diagnose.h>
-//#include <osl/socket.h>
#ifndef _OSL_FILE_PATH_HELPER_H_
#include "file_path_helper.h"
#endif
#include "procimpl.h"
-//#include "sockimpl.h"
-//#include "secimpl.h"
#include <ctype.h>
-//#ifndef _RTL_USTRING_HXX_
#include <rtl/ustring.hxx>
-//#endif
// for exception logging
#include <stdio.h>
diff --git a/sal/osl/unx/file_volume.cxx b/sal/osl/unx/file_volume.cxx
index 61ddade4e..f0be6a7ec 100644
--- a/sal/osl/unx/file_volume.cxx
+++ b/sal/osl/unx/file_volume.cxx
@@ -66,7 +66,6 @@ static const sal_Char* MOUNTTAB="/etc/mnttab";
#include <sys/vfs.h>
#define HAVE_STATFS_H
#include <sys/quota.h>
-//#include <ctype.h>
static const sal_Char* MOUNTTAB="/etc/mtab";
#elif defined(NETBSD) || defined(FREEBSD)
@@ -75,7 +74,6 @@ static const sal_Char* MOUNTTAB="/etc/mtab";
#include <sys/ucred.h>
#include <sys/mount.h>
#include <ufs/ufs/quota.h>
-//#include <ctype.h>
#define HAVE_STATFS_H
/* No mounting table on *BSD
@@ -85,7 +83,6 @@ static const sal_Char* MOUNTTAB="/etc/mtab";
#elif defined(MACOSX)
#include <ufs/ufs/quota.h>
-//#include <ctype.h>
#include <sys/param.h>
#include <sys/mount.h>
#define HAVE_STATFS_H
diff --git a/sal/osl/unx/pipe.c b/sal/osl/unx/pipe.c
index cfcefda25..e807054a1 100644
--- a/sal/osl/unx/pipe.c
+++ b/sal/osl/unx/pipe.c
@@ -25,12 +25,10 @@
*
************************************************************************/
-
#include "system.h"
#include <osl/pipe.h>
#include <osl/diagnose.h>
-/*#include <osl/signal.h>*/
#include <osl/thread.h>
#include <osl/interlck.h>
@@ -45,9 +43,6 @@
sal_Bool SAL_CALL osl_psz_getUserIdent(oslSecurity Security, sal_Char *pszIdent, sal_uInt32 nMax);
oslPipe SAL_CALL osl_psz_createPipe(const sal_Char *pszPipeName, oslPipeOptions Options, oslSecurity Security);
-/*#define DEBUG_OSL_PIPE*/
-/*#define TRACE_OSL_PIPE*/
-
/*****************************************************************************/
/* enum oslPipeError */
diff --git a/sal/qa/osl/security/osl_Security_Const.h b/sal/qa/osl/security/osl_Security_Const.h
index dd5e6855c..4090f7eed 100755
--- a/sal/qa/osl/security/osl_Security_Const.h
+++ b/sal/qa/osl/security/osl_Security_Const.h
@@ -25,22 +25,15 @@
*
************************************************************************/
-//------------------------------------------------------------------------
-//------------------------------------------------------------------------
-
#ifndef _OSL_SECURITY_CONST_H_
#define _OSL_SECURITY_CONST_H_
#if ( defined WNT ) // Windows
-//#define UNICODE
#include <tools/prewin.h>
-// #include <windows.h>
#include <io.h>
#include <tools/postwin.h>
#endif
-//------------------------------------------------------------------------
-//------------------------------------------------------------------------
#include <sal/types.h>
#include <rtl/ustring.hxx>
#include <osl/file.hxx>
@@ -55,7 +48,6 @@
#endif
#include <testshl/simpleheader.hxx>
-// LLA: #include <testshl2/cmdlinebits.hxx>
#define BUFSIZE 1024
diff --git a/sal/qa/osl/socket/osl_DatagramSocket.cxx b/sal/qa/osl/socket/osl_DatagramSocket.cxx
index b4d4a4fe8..e875d9a7a 100644
--- a/sal/qa/osl/socket/osl_DatagramSocket.cxx
+++ b/sal/qa/osl/socket/osl_DatagramSocket.cxx
@@ -54,13 +54,8 @@
inline sal_Bool SAL_CALL operator== (const SocketAddr & Addr) const;
*/
-//------------------------------------------------------------------------
-// include files
-//------------------------------------------------------------------------
-
#include <testshl/simpleheader.hxx>
-//#include "osl_Socket_Const.h"
#include "sockethelper.hxx"
using namespace osl;
diff --git a/sal/qa/osl/socket/osl_Socket2.cxx b/sal/qa/osl/socket/osl_Socket2.cxx
index aceb95e4a..f7d868b22 100644
--- a/sal/qa/osl/socket/osl_Socket2.cxx
+++ b/sal/qa/osl/socket/osl_Socket2.cxx
@@ -54,13 +54,8 @@
inline sal_Bool SAL_CALL operator== (const SocketAddr & Addr) const;
*/
-//------------------------------------------------------------------------
-// include files
-//------------------------------------------------------------------------
-
#include <testshl/simpleheader.hxx>
-//#include "osl_Socket_Const.h"
#include "sockethelper.hxx"
using namespace osl;
diff --git a/sal/qa/osl/socket/osl_SocketAddr.cxx b/sal/qa/osl/socket/osl_SocketAddr.cxx
index ae579db40..260f667ec 100644
--- a/sal/qa/osl/socket/osl_SocketAddr.cxx
+++ b/sal/qa/osl/socket/osl_SocketAddr.cxx
@@ -54,13 +54,8 @@
inline sal_Bool SAL_CALL operator== (const SocketAddr & Addr) const;
*/
-//------------------------------------------------------------------------
-// include files
-//------------------------------------------------------------------------
-
#include <testshl/simpleheader.hxx>
-//#include "osl_Socket_Const.h"
#include "sockethelper.hxx"
using namespace osl;
diff --git a/sal/qa/osl/socket/osl_StreamSocket.cxx b/sal/qa/osl/socket/osl_StreamSocket.cxx
index 66eff06b6..75a7c7f68 100644
--- a/sal/qa/osl/socket/osl_StreamSocket.cxx
+++ b/sal/qa/osl/socket/osl_StreamSocket.cxx
@@ -54,13 +54,8 @@
inline sal_Bool SAL_CALL operator== (const SocketAddr & Addr) const;
*/
-//------------------------------------------------------------------------
-// include files
-//------------------------------------------------------------------------
-
#include <testshl/simpleheader.hxx>
-//#include "osl_Socket_Const.h"
#include "sockethelper.hxx"
#include <osl/conditn.hxx>
diff --git a/sal/qa/osl/socket/sockethelper.hxx b/sal/qa/osl/socket/sockethelper.hxx
index 993e31d0c..7bdc48101 100644
--- a/sal/qa/osl/socket/sockethelper.hxx
+++ b/sal/qa/osl/socket/sockethelper.hxx
@@ -24,14 +24,10 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-//------------------------------------------------------------------------
-//------------------------------------------------------------------------
#ifndef _SOCKETHELPER_HXX_
#define _SOCKETHELPER_HXX_
-//------------------------------------------------------------------------
-//------------------------------------------------------------------------
#include <sal/types.h>
#include <rtl/textenc.h>
#include <rtl/ustring.hxx>
@@ -69,7 +65,7 @@ extern "C"
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
-#include <netinet/in.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/wait.h>
#endif
@@ -78,7 +74,6 @@ extern "C"
#if ( defined WNT ) // Windows
#include <tools/prewin.h>
-// #include <windows.h>
#include <winsock.h>
#include <string.h>
#include <tools/postwin.h>
@@ -86,9 +81,6 @@ extern "C"
#endif
-//------------------------------------------------------------------------
-//------------------------------------------------------------------------
-
#ifdef __cplusplus
}
#endif
diff --git a/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx b/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx
index a8875f5ab..f56a94519 100644
--- a/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx
+++ b/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx
@@ -39,8 +39,6 @@
#include "testshl/stringhelper.hxx"
#include <testshl/simpleheader.hxx>
-//#include "stringhelper.hxx"
-//#include "valueequal.hxx"
#include <rtl/bootstrap.hxx>
#include <rtl/ustrbuf.hxx>
diff --git a/sal/qa/rtl/logfile/rtl_logfile.cxx b/sal/qa/rtl/logfile/rtl_logfile.cxx
index cd222c044..2e173f645 100644
--- a/sal/qa/rtl/logfile/rtl_logfile.cxx
+++ b/sal/qa/rtl/logfile/rtl_logfile.cxx
@@ -32,8 +32,6 @@
// this file is converted to use with testshl2
// original was placed in sal/test/textenc.cxx
-
-// -----------------------------------------------------------------------------
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -45,13 +43,9 @@
#include <rtl/logfile.hxx>
#include <testshl/simpleheader.hxx>
-// #include <osl/module.hxx>
#include <osl/file.hxx>
#if ( defined WNT ) // Windows
#include <tools/prewin.h>
-// #define UNICODE
-// #define WIN32_LEAN_AND_MEAN
-// #include <windows.h>
#include <tchar.h>
#include <tools/postwin.h>
#endif
diff --git a/sal/qa/rtl/math/test_rtl_math.cxx b/sal/qa/rtl/math/test_rtl_math.cxx
index 41af2a010..f361aeb7c 100644
--- a/sal/qa/rtl/math/test_rtl_math.cxx
+++ b/sal/qa/rtl/math/test_rtl_math.cxx
@@ -34,7 +34,6 @@
#include "rtl/string.h"
#include "rtl/string.hxx"
#include "rtl/textenc.h"
-// #include "rtl/tres.h"
#include <testshl/tresstatewrapper.hxx>
#include "rtl/ustring.hxx"
#include "sal/types.h"
diff --git a/sal/qa/rtl_strings/rtl_old_testostring.cxx b/sal/qa/rtl_strings/rtl_old_testostring.cxx
index c6709f389..a25bd6846 100644
--- a/sal/qa/rtl_strings/rtl_old_testostring.cxx
+++ b/sal/qa/rtl_strings/rtl_old_testostring.cxx
@@ -32,28 +32,18 @@
// this file is converted to use with testshl2
// original was placed in sal/test/textenc.cxx
-
-// -----------------------------------------------------------------------------
#include <string.h>
#include <stdio.h>
-// #include <osl/diagnose.h>
-
#include <rtl/string.hxx>
#include <testshl/simpleheader.hxx>
#define TEST_ENSURE(c, m) CPPUNIT_ASSERT_MESSAGE((m), (c))
-// #if OSL_DEBUG_LEVEL > 0
-// #define TEST_ENSHURE(c, m) OSL_ENSURE(c, m)
-// #else
-// #define TEST_ENSHURE(c, m) OSL_VERIFY(c)
-// #endif
using namespace rtl;
-// -----------------------------------------------------------------------------
namespace rtl_OString
{
class oldtests : public CppUnit::TestFixture
diff --git a/sal/qa/rtl_strings/rtl_old_testowstring.cxx b/sal/qa/rtl_strings/rtl_old_testowstring.cxx
index 57055328b..987806376 100644
--- a/sal/qa/rtl_strings/rtl_old_testowstring.cxx
+++ b/sal/qa/rtl_strings/rtl_old_testowstring.cxx
@@ -32,8 +32,6 @@
// this file is converted to use with testshl2
// original was placed in sal/test/textenc.cxx
-
-// -----------------------------------------------------------------------------
#include <string.h>
#include <stdio.h>
@@ -44,8 +42,6 @@
#include <wcstr.h>
#endif
-// #include <osl/diagnose.h>
-
#include <rtl/ustring.hxx>
#include <rtl/string.hxx>
@@ -55,15 +51,10 @@
#include <testshl/simpleheader.hxx>
#define TEST_ENSURE(c, m) CPPUNIT_ASSERT_MESSAGE((m), (c))
-// #if OSL_DEBUG_LEVEL > 0
-// #define TEST_ENSHURE(c, m) OSL_ENSURE(c, m)
-// #else
-// #define TEST_ENSHURE(c, m) OSL_VERIFY(c)
-// #endif
+
using namespace rtl;
-// -----------------------------------------------------------------------------
namespace rtl_OUString
{
class oldtests : public CppUnit::TestFixture
diff --git a/sal/qa/rtl_strings/rtl_old_teststrbuf.cxx b/sal/qa/rtl_strings/rtl_old_teststrbuf.cxx
index b8c1a726e..942fd1235 100644
--- a/sal/qa/rtl_strings/rtl_old_teststrbuf.cxx
+++ b/sal/qa/rtl_strings/rtl_old_teststrbuf.cxx
@@ -32,14 +32,9 @@
// this file is converted to use with testshl2
// original was placed in sal/test/textenc.cxx
-
-// -----------------------------------------------------------------------------
-
#include <string.h>
#include <stdio.h>
-// #include <osl/diagnose.h>
-
#include <rtl/strbuf.hxx>
#include <rtl/ustrbuf.hxx>
@@ -50,13 +45,7 @@ using namespace rtl;
#define TEST_ENSURE(c, m) CPPUNIT_ASSERT_MESSAGE((m), (c))
-// #if OSL_DEBUG_LEVEL > 0
-// #define TEST_ENSHURE(c, m) OSL_ENSURE(c, m)
-// #else
-// #define TEST_ENSHURE(c, m) OSL_VERIFY(c)
-// #endif
-// -----------------------------------------------------------------------------
namespace rtl_OStringBuffer
{
class oldtests : public CppUnit::TestFixture
diff --git a/sal/workben/salstattest.c b/sal/workben/salstattest.c
index fc17a7132..11bb81921 100644
--- a/sal/workben/salstattest.c
+++ b/sal/workben/salstattest.c
@@ -29,9 +29,6 @@
#include <systools/win32/shell9x.h>
#include <systools/win32/kernel9x.h>
-//#include <windows.h>
-//#include <shlobj.h>
-
int _cdecl main( int argc, char * argv[] )
{
BROWSEINFOW bi;
diff --git a/stoc/test/javavm/jvm_interaction/interactionhandler.cxx b/stoc/test/javavm/jvm_interaction/interactionhandler.cxx
index 66d5303e2..33c81ec76 100644
--- a/stoc/test/javavm/jvm_interaction/interactionhandler.cxx
+++ b/stoc/test/javavm/jvm_interaction/interactionhandler.cxx
@@ -31,7 +31,6 @@
#include <jni.h>
-//#include <iostream>
#include <stdio.h>
#include <sal/main.h>
#include <rtl/process.h>
diff --git a/stoc/test/javavm/testjavavm.cxx b/stoc/test/javavm/testjavavm.cxx
index f8ace3851..26266b134 100644
--- a/stoc/test/javavm/testjavavm.cxx
+++ b/stoc/test/javavm/testjavavm.cxx
@@ -31,7 +31,6 @@
#include <jni.h>
-//#include <iostream>
#include <stdio.h>
#include <sal/main.h>
#include <rtl/process.h>
@@ -47,8 +46,6 @@
#include <com/sun/star/registry/XImplementationRegistration.hpp>
#include <com/sun/star/java/XJavaThreadRegister_11.hpp>
-//#include <cppuhelper/implbase1.hxx>
-
using namespace std;
using namespace rtl;
using namespace cppu;
diff --git a/stoc/test/testintrosp.cxx b/stoc/test/testintrosp.cxx
index cbf992bc0..59ae94e17 100644
--- a/stoc/test/testintrosp.cxx
+++ b/stoc/test/testintrosp.cxx
@@ -34,8 +34,6 @@
#include <cppuhelper/servicefactory.hxx>
#include <osl/diagnose.h>
-//#include <vos/dynload.hxx>
-
#include <ModuleA/XIntroTest.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XIntrospection.hpp>
@@ -48,7 +46,6 @@
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/reflection/XIdlReflection.hpp>
-//#include <com/sun/star/registry/XSimpleRegistry.hpp>
#include <com/sun/star/registry/XImplementationRegistration.hpp>
#include <com/sun/star/lang/XComponent.hpp>