Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


Removes unused #include directives.

Graeme
From 58f428919798188d6e8494b0a161cd08f4b2db2e Mon Sep 17 00:00:00 2001
From: J. Graeme Lingard <jgraeme+git@gmail.com>
Date: Sat, 2 Oct 2010 18:42:20 +0100
Subject: [PATCH] Remove commented out #include directives

---
 dbaccess/source/core/api/table.cxx                 |    1 -
 dbaccess/source/ui/dlg/RelationDlg.cxx             |    3 ---
 dbaccess/source/ui/inc/RelationDlg.hxx             |    3 ---
 dbaccess/source/ui/inc/TableConnection.hxx         |    6 ------
 dbaccess/source/ui/inc/sbamultiplex.hxx            |    4 ----
 dbaccess/source/ui/querydesign/JoinTableView.cxx   |    3 ---
 .../source/ui/querydesign/QTableConnectionData.hxx |    3 ---
 .../source/ui/querydesign/SelectionBrowseBox.hxx   |    3 ---
 reportdesign/inc/pch/precompiled_reportdesign.hxx  |    1 -
 reportdesign/source/ui/inc/FixedTextColor.hxx      |    2 --
 .../source/ui/inc/FormattedFieldBeautifier.hxx     |    1 -
 .../source/ui/inc/ReportControllerObserver.hxx     |    1 -
 12 files changed, 0 insertions(+), 31 deletions(-)

diff --git a/dbaccess/source/core/api/table.cxx b/dbaccess/source/core/api/table.cxx
index ec6c8e9..62ca29b 100644
--- a/dbaccess/source/core/api/table.cxx
+++ b/dbaccess/source/core/api/table.cxx
@@ -41,7 +41,6 @@
 #include <comphelper/container.hxx>
 #include <comphelper/sequence.hxx>
 #include <comphelper/types.hxx>
-//#include <comphelper/extract.hxx>
 #include <com/sun/star/util/XRefreshListener.hpp>
 #include <com/sun/star/sdbc/XConnection.hpp>
 #include <com/sun/star/sdbc/XRow.hpp>
diff --git a/dbaccess/source/ui/dlg/RelationDlg.cxx b/dbaccess/source/ui/dlg/RelationDlg.cxx
index a469667..4854787 100644
--- a/dbaccess/source/ui/dlg/RelationDlg.cxx
+++ b/dbaccess/source/ui/dlg/RelationDlg.cxx
@@ -27,9 +27,6 @@
 
 // MARKER(update_precomp.py): autogen include statement, do not remove
 #include "precompiled_dbaccess.hxx"
-//#ifndef _SVX_TABWIN_HXX
-//#include "tabwin.hxx"
-//#endif
 #ifndef DBAUI_RELATIONDIALOG_HRC
 #include "RelationDlg.hrc"
 #endif
diff --git a/dbaccess/source/ui/inc/RelationDlg.hxx b/dbaccess/source/ui/inc/RelationDlg.hxx
index dbed46e..e3a129e 100644
--- a/dbaccess/source/ui/inc/RelationDlg.hxx
+++ b/dbaccess/source/ui/inc/RelationDlg.hxx
@@ -37,9 +37,6 @@
 #ifndef _FIXED_HXX //autogen
 #include <vcl/fixed.hxx>
 #endif
-//#ifndef _EDIT_HXX //autogen
-//#include <vcl/edit.hxx>
-//#endif
 #ifndef _SV_MSGBOX_HXX
 #include <vcl/msgbox.hxx>
 #endif
diff --git a/dbaccess/source/ui/inc/TableConnection.hxx b/dbaccess/source/ui/inc/TableConnection.hxx
index 8c3aac9..7923975 100644
--- a/dbaccess/source/ui/inc/TableConnection.hxx
+++ b/dbaccess/source/ui/inc/TableConnection.hxx
@@ -27,12 +27,6 @@
 #ifndef DBAUI_TABLECONNECTION_HXX
 #define DBAUI_TABLECONNECTION_HXX
 
-//#ifndef _SV_GEN_HXX
-//#include <tools/gen.hxx>
-//#endif
-//#ifndef DBAUI_CONNECTIONLINE_HXX
-//#include "ConnectionLine.hxx"
-//#endif
 #include <vector>
 #ifndef _TOOLS_DEBUG_HXX 
 #include <tools/debug.hxx>
diff --git a/dbaccess/source/ui/inc/sbamultiplex.hxx b/dbaccess/source/ui/inc/sbamultiplex.hxx
index fd10a03..9aa3036 100644
--- a/dbaccess/source/ui/inc/sbamultiplex.hxx
+++ b/dbaccess/source/ui/inc/sbamultiplex.hxx
@@ -28,10 +28,6 @@
 #ifndef _SBA_MULTIPLEX_HXX
 #define _SBA_MULTIPLEX_HXX
 
-//#ifndef _SDB_TOOLS_HXX
-//#include <sdb/tools.hxx>
-//#endif
-
 #ifndef _COM_SUN_STAR_BEANS_XVETOABLECHANGELISTENER_HPP_
 #include <com/sun/star/beans/XVetoableChangeListener.hpp>
 #endif
diff --git a/dbaccess/source/ui/querydesign/JoinTableView.cxx 
b/dbaccess/source/ui/querydesign/JoinTableView.cxx
index 4806ee2..ae54a48 100644
--- a/dbaccess/source/ui/querydesign/JoinTableView.cxx
+++ b/dbaccess/source/ui/querydesign/JoinTableView.cxx
@@ -45,9 +45,6 @@
 #ifndef DBAUI_TABLEWINDOW_HXX
 #include "TableWindow.hxx"
 #endif
-//#ifndef DBAUI_QUERY_TABLEWINDOWDATA_HXX
-//#include "QTableWindowData.hxx"
-//#endif
 #ifndef DBAUI_TABLEWINDOWLISTBOX_HXX
 #include "TableWindowListBox.hxx"
 #endif
diff --git a/dbaccess/source/ui/querydesign/QTableConnectionData.hxx 
b/dbaccess/source/ui/querydesign/QTableConnectionData.hxx
index 4d03593..fe5c5d5 100644
--- a/dbaccess/source/ui/querydesign/QTableConnectionData.hxx
+++ b/dbaccess/source/ui/querydesign/QTableConnectionData.hxx
@@ -39,9 +39,6 @@
 #ifndef _RTTI_HXX
 #include <tools/rtti.hxx>
 #endif
-//#ifndef DBAUI_QUERYCONTROLLER_HXX
-//#include "querycontroller.hxx"
-//#endif
 
 namespace dbaui
 {
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx 
b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx
index 4c8eedf..725f800 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx
@@ -30,9 +30,6 @@
 #ifndef _SVTOOLS_EDITBROWSEBOX_HXX_
 #include <svtools/editbrowsebox.hxx>
 #endif
-//#ifndef DBAUI_QUERYCONTROLLER_HXX
-//#include "querycontroller.hxx"
-//#endif
 #ifndef DBAUI_TABLEFIELDDESC_HXX
 #include "TableFieldDescription.hxx"
 #endif
diff --git a/reportdesign/inc/pch/precompiled_reportdesign.hxx 
b/reportdesign/inc/pch/precompiled_reportdesign.hxx
index 344ffc5..ff2b9c9 100644
--- a/reportdesign/inc/pch/precompiled_reportdesign.hxx
+++ b/reportdesign/inc/pch/precompiled_reportdesign.hxx
@@ -29,7 +29,6 @@
 
 #ifdef PRECOMPILED_HEADERS
 #include "com/sun/star/sdb/CommandType.hpp"
-//#include "com/sun/star/chart2/data/DatabaseDataProvider.hpp"
 #include "com/sun/star/chart2/data/XDataReceiver.hpp"
 #include "com/sun/star/reflection/XProxyFactory.hpp"
 #include "com/sun/star/sdb/CommandType.hpp"
diff --git a/reportdesign/source/ui/inc/FixedTextColor.hxx 
b/reportdesign/source/ui/inc/FixedTextColor.hxx
index 29de919..6d34504 100644
--- a/reportdesign/source/ui/inc/FixedTextColor.hxx
+++ b/reportdesign/source/ui/inc/FixedTextColor.hxx
@@ -38,8 +38,6 @@
 /** === end UNO includes === **/
 
 #include <IReportControllerObserver.hxx>
-
-//#include <boost/noncopyable.hpp>
 #include <vector>
 
 namespace rptui
diff --git a/reportdesign/source/ui/inc/FormattedFieldBeautifier.hxx 
b/reportdesign/source/ui/inc/FormattedFieldBeautifier.hxx
index 5fbfcc6..2620686 100644
--- a/reportdesign/source/ui/inc/FormattedFieldBeautifier.hxx
+++ b/reportdesign/source/ui/inc/FormattedFieldBeautifier.hxx
@@ -35,7 +35,6 @@
 #include <com/sun/star/report/XReportComponent.hpp>
 /** === end UNO includes === **/
 
-//#include <boost/noncopyable.hpp>
 #include <vector>
 #include <IReportControllerObserver.hxx>
 
diff --git a/reportdesign/source/ui/inc/ReportControllerObserver.hxx 
b/reportdesign/source/ui/inc/ReportControllerObserver.hxx
index 8531fea..28f5e53 100644
--- a/reportdesign/source/ui/inc/ReportControllerObserver.hxx
+++ b/reportdesign/source/ui/inc/ReportControllerObserver.hxx
@@ -36,7 +36,6 @@
 #include <dllapi.h>
 #include <vector>
 
-// #include <svl/lstner.hxx>
 #include <vcl/svapp.hxx>
 #include <tools/link.hxx>
 
-- 
1.7.1


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.