summaryrefslogtreecommitdiff
path: root/reportdesign/source/ui
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/ui')
-rw-r--r--reportdesign/source/ui/dlg/AddField.cxx9
-rw-r--r--reportdesign/source/ui/dlg/CondFormat.cxx6
-rw-r--r--reportdesign/source/ui/dlg/Condition.cxx15
-rw-r--r--reportdesign/source/ui/dlg/DateTime.cxx5
-rw-r--r--reportdesign/source/ui/dlg/Formula.cxx3
-rw-r--r--reportdesign/source/ui/dlg/GroupExchange.cxx1
-rw-r--r--reportdesign/source/ui/dlg/GroupsSorting.cxx6
-rw-r--r--reportdesign/source/ui/dlg/Navigator.cxx4
-rw-r--r--reportdesign/source/ui/dlg/PageNumber.cxx4
-rw-r--r--reportdesign/source/ui/dlg/dlgpage.cxx8
-rw-r--r--reportdesign/source/ui/inspection/DataProviderHandler.cxx10
-rw-r--r--reportdesign/source/ui/inspection/DefaultInspection.cxx1
-rw-r--r--reportdesign/source/ui/inspection/GeometryHandler.cxx25
-rw-r--r--reportdesign/source/ui/inspection/ReportComponentHandler.cxx5
-rw-r--r--reportdesign/source/ui/misc/RptUndo.cxx1
-rw-r--r--reportdesign/source/ui/misc/UITools.cxx8
-rw-r--r--reportdesign/source/ui/report/DesignView.cxx3
-rw-r--r--reportdesign/source/ui/report/FixedTextColor.cxx7
-rw-r--r--reportdesign/source/ui/report/FormattedFieldBeautifier.cxx5
-rw-r--r--reportdesign/source/ui/report/ReportController.cxx17
-rw-r--r--reportdesign/source/ui/report/ReportControllerObserver.cxx5
-rw-r--r--reportdesign/source/ui/report/ReportSection.cxx10
-rw-r--r--reportdesign/source/ui/report/ReportWindow.cxx7
-rw-r--r--reportdesign/source/ui/report/ScrollHelper.cxx1
-rw-r--r--reportdesign/source/ui/report/SectionView.cxx3
-rw-r--r--reportdesign/source/ui/report/SectionWindow.cxx6
-rw-r--r--reportdesign/source/ui/report/ViewsWindow.cxx2
-rw-r--r--reportdesign/source/ui/report/dlgedclip.cxx2
-rw-r--r--reportdesign/source/ui/report/dlgedfac.cxx6
-rw-r--r--reportdesign/source/ui/report/dlgedfunc.cxx5
-rw-r--r--reportdesign/source/ui/report/propbrw.cxx6
31 files changed, 4 insertions, 192 deletions
diff --git a/reportdesign/source/ui/dlg/AddField.cxx b/reportdesign/source/ui/dlg/AddField.cxx
index 72cfb01f1c30..790c0d700316 100644
--- a/reportdesign/source/ui/dlg/AddField.cxx
+++ b/reportdesign/source/ui/dlg/AddField.cxx
@@ -18,19 +18,12 @@
*/
#include <AddField.hxx>
#include <UITools.hxx>
-#include <svx/svdpagv.hxx>
#include <com/sun/star/sdb/CommandType.hpp>
-#include <com/sun/star/util/URL.hpp>
#include <com/sun/star/sdb/XDocumentDataSource.hpp>
-#include <com/sun/star/i18n/XCollator.hpp>
-#include <com/sun/star/beans/XPropertyChangeListener.hpp>
-#include <vcl/event.hxx>
#include <vcl/svapp.hxx>
-#include <vcl/settings.hxx>
#include <tools/diagnose_ex.h>
-#include <rptui_slotid.hrc>
#include <connectivity/dbtools.hxx>
#include <core_resource.hxx>
@@ -38,8 +31,6 @@
#include <strings.hrc>
#include <strings.hxx>
-#include <comphelper/processfactory.hxx>
-#include <comphelper/property.hxx>
#include <comphelper/sequence.hxx>
namespace rptui
diff --git a/reportdesign/source/ui/dlg/CondFormat.cxx b/reportdesign/source/ui/dlg/CondFormat.cxx
index b15e6ae3fc64..f869ca0f50a7 100644
--- a/reportdesign/source/ui/dlg/CondFormat.cxx
+++ b/reportdesign/source/ui/dlg/CondFormat.cxx
@@ -21,20 +21,14 @@
#include <strings.hxx>
#include <strings.hrc>
-#include <rptui_slotid.hrc>
#include <core_resource.hxx>
-#include <UITools.hxx>
#include <ReportController.hxx>
#include "Condition.hxx"
-#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <o3tl/safeint.hxx>
#include <toolkit/helper/vclunohelper.hxx>
-#include <vcl/settings.hxx>
-
-#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
#include <comphelper/property.hxx>
diff --git a/reportdesign/source/ui/dlg/Condition.cxx b/reportdesign/source/ui/dlg/Condition.cxx
index 129ee1c7a6f3..9f7b8bbd5ccd 100644
--- a/reportdesign/source/ui/dlg/Condition.cxx
+++ b/reportdesign/source/ui/dlg/Condition.cxx
@@ -23,30 +23,15 @@
#include <core_resource.hxx>
#include <strings.hrc>
#include <ReportController.hxx>
-#include <ColorChanger.hxx>
#include <reportformula.hxx>
-#include <com/sun/star/util/URL.hpp>
-#include <com/sun/star/beans/PropertyValue.hpp>
-#include <com/sun/star/ui/XUIConfigurationManager.hpp>
-#include <com/sun/star/ui/XModuleUIConfigurationManagerSupplier.hpp>
-#include <com/sun/star/ui/XImageManager.hpp>
-#include <com/sun/star/awt/FontDescriptor.hpp>
-#include <com/sun/star/ui/ImageType.hpp>
#include <svx/PaletteManager.hxx>
-#include <svx/tbcontrl.hxx>
#include <svx/svxids.hrc>
-#include <svx/xtable.hxx>
-#include <svx/tbxcolorupdate.hxx>
#include <toolkit/helper/vclunohelper.hxx>
-#include <unotools/pathoptions.hxx>
#include <vcl/svapp.hxx>
-#include <vcl/bitmapaccess.hxx>
#include <vcl/settings.hxx>
#include <tools/diagnose_ex.h>
-#include <rtl/ustrbuf.hxx>
-#include <svtools/valueset.hxx>
namespace rptui
{
diff --git a/reportdesign/source/ui/dlg/DateTime.cxx b/reportdesign/source/ui/dlg/DateTime.cxx
index 30cf2aa96eac..9e5a91bbea64 100644
--- a/reportdesign/source/ui/dlg/DateTime.cxx
+++ b/reportdesign/source/ui/dlg/DateTime.cxx
@@ -23,15 +23,10 @@
#include <unotools/syslocale.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <vcl/svapp.hxx>
-#include <UITools.hxx>
-#include <RptDef.hxx>
#include <strings.hxx>
#include <ReportController.hxx>
-#include <com/sun/star/util/Time.hpp>
#include <com/sun/star/util/NumberFormat.hpp>
#include <com/sun/star/util/XNumberFormatPreviewer.hpp>
-#include <com/sun/star/util/XNumberFormatTypes.hpp>
-#include <com/sun/star/i18n/NumberFormatIndex.hpp>
#include <algorithm>
namespace rptui
diff --git a/reportdesign/source/ui/dlg/Formula.cxx b/reportdesign/source/ui/dlg/Formula.cxx
index 8d391e92072e..3bdcb2e5b5a0 100644
--- a/reportdesign/source/ui/dlg/Formula.cxx
+++ b/reportdesign/source/ui/dlg/Formula.cxx
@@ -17,9 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <vcl/svapp.hxx>
-#include <vcl/mnemonic.hxx>
-#include <unotools/charclass.hxx>
#include <unotools/viewoptions.hxx>
#include <formula/formdata.hxx>
#include <formula/funcutl.hxx>
diff --git a/reportdesign/source/ui/dlg/GroupExchange.cxx b/reportdesign/source/ui/dlg/GroupExchange.cxx
index 3465bcdd971f..44e9fa0a354d 100644
--- a/reportdesign/source/ui/dlg/GroupExchange.cxx
+++ b/reportdesign/source/ui/dlg/GroupExchange.cxx
@@ -18,7 +18,6 @@
*/
#include "GroupExchange.hxx"
#include <sot/formats.hxx>
-#include <sot/storage.hxx>
#include <osl/diagnose.h>
namespace rptui
diff --git a/reportdesign/source/ui/dlg/GroupsSorting.cxx b/reportdesign/source/ui/dlg/GroupsSorting.cxx
index 5d4bfca8a140..69ff9786cc3b 100644
--- a/reportdesign/source/ui/dlg/GroupsSorting.cxx
+++ b/reportdesign/source/ui/dlg/GroupsSorting.cxx
@@ -17,8 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <GroupsSorting.hxx>
-#include <connectivity/dbtools.hxx>
-#include <sot/exchange.hxx>
#include <svtools/editbrowsebox.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
@@ -38,15 +36,11 @@
#include <ColumnInfo.hxx>
#include <cppuhelper/implbase.hxx>
-#include <comphelper/property.hxx>
#include <vcl/commandevent.hxx>
-#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <algorithm>
-#include <cppuhelper/bootstrap.hxx>
-
#define HANDLE_ID 0
#define FIELD_EXPRESSION 1
#define GROUPS_START_LEN 5
diff --git a/reportdesign/source/ui/dlg/Navigator.cxx b/reportdesign/source/ui/dlg/Navigator.cxx
index 187b8be7d408..d8f1323ac5b5 100644
--- a/reportdesign/source/ui/dlg/Navigator.cxx
+++ b/reportdesign/source/ui/dlg/Navigator.cxx
@@ -23,9 +23,7 @@
#include <bitmaps.hlst>
#include <ReportController.hxx>
#include <UITools.hxx>
-#include <RptUndo.hxx>
#include <reportformula.hxx>
-#include <com/sun/star/container/XContainerListener.hpp>
#include <com/sun/star/report/XReportDefinition.hpp>
#include <com/sun/star/report/XFixedText.hpp>
#include <com/sun/star/report/XFixedLine.hpp>
@@ -42,14 +40,12 @@
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
#include <vcl/commandevent.hxx>
-#include <svl/solar.hrc>
#include <ReportVisitor.hxx>
#include <core_resource.hxx>
#include <rtl/ref.hxx>
#include <svx/svxids.hrc>
#include <memory>
-#include <algorithm>
namespace rptui
{
diff --git a/reportdesign/source/ui/dlg/PageNumber.cxx b/reportdesign/source/ui/dlg/PageNumber.cxx
index f7768e9993b4..2d18077ab569 100644
--- a/reportdesign/source/ui/dlg/PageNumber.cxx
+++ b/reportdesign/source/ui/dlg/PageNumber.cxx
@@ -17,16 +17,12 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <PageNumber.hxx>
-#include <com/sun/star/beans/XPropertySet.hpp>
#include <rptui_slotid.hrc>
#include <RptDef.hxx>
-#include <vcl/settings.hxx>
-#include <UITools.hxx>
#include <strings.hxx>
#include <ReportController.hxx>
#include <comphelper/propertysequence.hxx>
-#include <algorithm>
namespace rptui
{
diff --git a/reportdesign/source/ui/dlg/dlgpage.cxx b/reportdesign/source/ui/dlg/dlgpage.cxx
index 9a8d3710dba0..1cc0b4db7a4f 100644
--- a/reportdesign/source/ui/dlg/dlgpage.cxx
+++ b/reportdesign/source/ui/dlg/dlgpage.cxx
@@ -19,15 +19,9 @@
#include <svx/dialogs.hrc>
-#include <svx/svxids.hrc>
-#include <svx/flagsdef.hxx>
-#include <svx/svxdlg.hxx>
-#include <editeng/svxenum.hxx>
+#include <sfx2/sfxdlg.hxx>
#include <dlgpage.hxx>
-#include <strings.hrc>
-#include <svl/intitem.hxx>
#include <svl/cjkoptions.hxx>
-#include <svl/aeitem.hxx>
#include <osl/diagnose.h>
namespace rptui
diff --git a/reportdesign/source/ui/inspection/DataProviderHandler.cxx b/reportdesign/source/ui/inspection/DataProviderHandler.cxx
index 52677c9a79f7..a41703aaf4c2 100644
--- a/reportdesign/source/ui/inspection/DataProviderHandler.cxx
+++ b/reportdesign/source/ui/inspection/DataProviderHandler.cxx
@@ -17,25 +17,18 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <DataProviderHandler.hxx>
-#include <com/sun/star/lang/XInitialization.hpp>
#include <comphelper/namedvaluecollection.hxx>
-#include <comphelper/property.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/types.hxx>
#include <comphelper/propertysequence.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <strings.hxx>
-#include <unotools/syslocale.hxx>
#include <com/sun/star/form/inspection/FormComponentPropertyHandler.hpp>
#include <com/sun/star/inspection/PropertyControlType.hpp>
#include <com/sun/star/inspection/PropertyLineElement.hpp>
#include <com/sun/star/lang/NullPointerException.hpp>
#include <com/sun/star/chart/ChartDataRowSource.hpp>
#include <com/sun/star/chart2/FormattedString.hpp>
-#include <com/sun/star/chart2/XDiagram.hpp>
-#include <com/sun/star/chart2/XCoordinateSystemContainer.hpp>
-#include <com/sun/star/chart2/XChartTypeContainer.hpp>
-#include <com/sun/star/chart2/XChartType.hpp>
#include <com/sun/star/chart2/XTitled.hpp>
#include <com/sun/star/chart2/XTitle.hpp>
#include <com/sun/star/chart2/data/XDataReceiver.hpp>
@@ -43,10 +36,7 @@
#include <com/sun/star/report/XReportDefinition.hpp>
#include <com/sun/star/script/Converter.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
-#include <com/sun/star/util/MeasureUnit.hpp>
-#include <tools/fldunit.hxx>
#include <metadata.hxx>
-#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
#include <core_resource.hxx>
#include <helpids.h>
diff --git a/reportdesign/source/ui/inspection/DefaultInspection.cxx b/reportdesign/source/ui/inspection/DefaultInspection.cxx
index f03277fdd555..e7346e4c3603 100644
--- a/reportdesign/source/ui/inspection/DefaultInspection.cxx
+++ b/reportdesign/source/ui/inspection/DefaultInspection.cxx
@@ -23,7 +23,6 @@
#include <core_resource.hxx>
#include <helpids.h>
#include <cppuhelper/supportsservice.hxx>
-#include <rtl/ustrbuf.hxx>
#include <tools/debug.hxx>
#include <metadata.hxx>
#include <tools/urlobj.hxx>
diff --git a/reportdesign/source/ui/inspection/GeometryHandler.cxx b/reportdesign/source/ui/inspection/GeometryHandler.cxx
index 71b88359b66b..d5b9748e25c6 100644
--- a/reportdesign/source/ui/inspection/GeometryHandler.cxx
+++ b/reportdesign/source/ui/inspection/GeometryHandler.cxx
@@ -35,7 +35,6 @@
#include <i18nutil/searchopt.hxx>
#include <unotools/textsearch.hxx>
-#include <unotools/configmgr.hxx>
#include <unotools/localedatawrapper.hxx>
#include <toolkit/helper/vclunohelper.hxx>
@@ -43,7 +42,6 @@
#include <tools/diagnose_ex.h>
#include <tools/resary.hxx>
#include <com/sun/star/lang/NullPointerException.hpp>
-#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/form/inspection/FormComponentPropertyHandler.hpp>
#include <com/sun/star/inspection/StringRepresentation.hpp>
#include <com/sun/star/inspection/PropertyControlType.hpp>
@@ -67,8 +65,8 @@
#include <com/sun/star/style/ParagraphAdjust.hpp>
#include <tools/fldunit.hxx>
-#include <vcl/stdtext.hxx>
#include <vcl/svapp.hxx>
+#include <vcl/weld.hxx>
#include <core_resource.hxx>
#include <stringarray.hrc>
@@ -77,32 +75,11 @@
#include <UITools.hxx>
#include <connectivity/dbexception.hxx>
-#include <connectivity/dbconversion.hxx>
#include <connectivity/dbtools.hxx>
#include <metadata.hxx>
-#include <svl/itempool.hxx>
-#include <svl/itemset.hxx>
-#include <svx/xdef.hxx>
-#include <svx/xpool.hxx>
-#include <svx/xtable.hxx>
-#include <svx/xlnwtit.hxx>
-#include <svx/xlntrit.hxx>
-#include <svx/xlnclit.hxx>
-#include <svx/xlnstit.hxx>
-#include <svx/xlnedit.hxx>
-#include <svx/xlnstwit.hxx>
-#include <svx/xlnedwit.hxx>
-#include <svx/xlnstcit.hxx>
-#include <svx/xlnedcit.hxx>
-#include <svx/xlndsit.hxx>
-#include <svx/xlineit0.hxx>
-#include <svx/svxids.hrc>
-#include <svx/drawitem.hxx>
-#include <editeng/brushitem.hxx>
#include <sfx2/docfilt.hxx>
-#include <dlgpage.hxx>
#include <helpids.h>
#include <toolkit/helper/convert.hxx>
#include <o3tl/functional.hxx>
diff --git a/reportdesign/source/ui/inspection/ReportComponentHandler.cxx b/reportdesign/source/ui/inspection/ReportComponentHandler.cxx
index 9ebc6f01b789..ece8e8d23865 100644
--- a/reportdesign/source/ui/inspection/ReportComponentHandler.cxx
+++ b/reportdesign/source/ui/inspection/ReportComponentHandler.cxx
@@ -19,15 +19,10 @@
#include <ReportComponentHandler.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/lang/NullPointerException.hpp>
-#include <com/sun/star/lang/XInitialization.hpp>
-#include <strings.hxx>
#include <comphelper/types.hxx>
#include <cppuhelper/supportsservice.hxx>
-#include <unotools/syslocale.hxx>
#include <com/sun/star/form/inspection/FormComponentPropertyHandler.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
-#include <com/sun/star/util/MeasureUnit.hpp>
-#include <tools/fldunit.hxx>
#include <metadata.hxx>
diff --git a/reportdesign/source/ui/misc/RptUndo.cxx b/reportdesign/source/ui/misc/RptUndo.cxx
index ce4ba4c4c950..5ac23ff0c4e2 100644
--- a/reportdesign/source/ui/misc/RptUndo.cxx
+++ b/reportdesign/source/ui/misc/RptUndo.cxx
@@ -33,7 +33,6 @@
#include <svx/unoshape.hxx>
#include <utility>
#include <tools/diagnose_ex.h>
-#include <vcl/settings.hxx>
#include <functional>
diff --git a/reportdesign/source/ui/misc/UITools.cxx b/reportdesign/source/ui/misc/UITools.cxx
index 00c1d33c8a74..940250a6fc63 100644
--- a/reportdesign/source/ui/misc/UITools.cxx
+++ b/reportdesign/source/ui/misc/UITools.cxx
@@ -41,8 +41,6 @@
#include <svx/svdpool.hxx>
#include <editeng/charscaleitem.hxx>
-#include <svx/algitem.hxx>
-#include <svx/svdpagv.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/emphasismarkitem.hxx>
@@ -72,15 +70,12 @@
#include <svx/xgrscit.hxx>
#include <svx/svditer.hxx>
#include <svx/xtable.hxx>
-#include <svx/dialogs.hrc>
#include <svx/svdview.hxx>
#include <svx/svdpage.hxx>
#include <svx/svxdlg.hxx>
-#include <svx/unomid.hxx>
#include <svx/unoprov.hxx>
#include <svx/svxids.hrc>
-#include <unotools/pathoptions.hxx>
#include <unotools/charclass.hxx>
#include <svtools/ctrltool.hxx>
#include <svl/itempool.hxx>
@@ -91,17 +86,14 @@
#include <comphelper/namedvaluecollection.hxx>
#include <connectivity/dbexception.hxx>
-#include <connectivity/dbconversion.hxx>
#include <connectivity/dbtools.hxx>
-#include <com/sun/star/awt/TextAlign.hpp>
#include <com/sun/star/style/VerticalAlignment.hpp>
#include <com/sun/star/report/XShape.hpp>
#include <com/sun/star/sdb/XParametersSupplier.hpp>
#include <com/sun/star/sdb/SQLContext.hpp>
#include <i18nlangtag/languagetag.hxx>
#include <dlgpage.hxx>
-#include <rptui_slotid.hrc>
#include <strings.hxx>
#include <core_resource.hxx>
#include <RptObject.hxx>
diff --git a/reportdesign/source/ui/report/DesignView.cxx b/reportdesign/source/ui/report/DesignView.cxx
index dbec63a37101..9cca16c45616 100644
--- a/reportdesign/source/ui/report/DesignView.cxx
+++ b/reportdesign/source/ui/report/DesignView.cxx
@@ -20,18 +20,15 @@
#include <DesignView.hxx>
#include <ReportController.hxx>
#include <svtools/acceleratorexecute.hxx>
-#include <unotools/syslocale.hxx>
#include <unotools/viewoptions.hxx>
#include <RptDef.hxx>
#include <UITools.hxx>
#include <RptObject.hxx>
#include <propbrw.hxx>
-#include <toolkit/helper/convert.hxx>
#include <helpids.h>
#include <SectionView.hxx>
#include <ReportSection.hxx>
#include <rptui_slotid.hrc>
-#include <svx/svxids.hrc>
#include <AddField.hxx>
#include <ScrollHelper.hxx>
#include <Navigator.hxx>
diff --git a/reportdesign/source/ui/report/FixedTextColor.cxx b/reportdesign/source/ui/report/FixedTextColor.cxx
index 75d59b8cfea7..92894cfcb3eb 100644
--- a/reportdesign/source/ui/report/FixedTextColor.cxx
+++ b/reportdesign/source/ui/report/FixedTextColor.cxx
@@ -25,19 +25,12 @@
#include <RptObject.hxx>
#include <RptModel.hxx>
#include <RptPage.hxx>
-#include <ViewsWindow.hxx>
#include <ReportSection.hxx>
#include <ReportController.hxx>
#include <strings.hxx>
-#include <reportformula.hxx>
-#include <toolkit/helper/property.hxx>
#include <tools/color.hxx>
-#include <svtools/extcolorcfg.hxx>
-#include <unotools/confignode.hxx>
-// DBG_*
-#include <tools/debug.hxx>
// DBG_UNHANDLED_EXCEPTION
#include <tools/diagnose_ex.h>
diff --git a/reportdesign/source/ui/report/FormattedFieldBeautifier.cxx b/reportdesign/source/ui/report/FormattedFieldBeautifier.cxx
index 329b57014b53..6ebc21915ccd 100644
--- a/reportdesign/source/ui/report/FormattedFieldBeautifier.cxx
+++ b/reportdesign/source/ui/report/FormattedFieldBeautifier.cxx
@@ -26,18 +26,13 @@
#include <RptObject.hxx>
#include <RptModel.hxx>
#include <RptPage.hxx>
-#include <ViewsWindow.hxx>
#include <ReportSection.hxx>
#include <ReportController.hxx>
#include <strings.hxx>
#include <reportformula.hxx>
-#include <toolkit/helper/property.hxx>
#include <svtools/extcolorcfg.hxx>
-#include <unotools/confignode.hxx>
-// DBG_*
-#include <tools/debug.hxx>
// DBG_UNHANDLED_EXCEPTION
#include <tools/diagnose_ex.h>
diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx
index d723bfe70890..3bf9e9e072f7 100644
--- a/reportdesign/source/ui/report/ReportController.cxx
+++ b/reportdesign/source/ui/report/ReportController.cxx
@@ -32,55 +32,43 @@
#include <comphelper/documentconstants.hxx>
#include <unotools/mediadescriptor.hxx>
-#include <comphelper/property.hxx>
#include <comphelper/propertysequence.hxx>
#include <comphelper/sequenceashashmap.hxx>
#include <comphelper/types.hxx>
#include <connectivity/dbtools.hxx>
-#include <com/sun/star/view/PaperFormat.hpp>
-#include <com/sun/star/style/GraphicLocation.hpp>
#include <com/sun/star/style/XStyle.hpp>
-#include <com/sun/star/style/PageStyleLayout.hpp>
#include <com/sun/star/style/ParagraphAdjust.hpp>
#include <com/sun/star/util/NumberFormatter.hpp>
#include <com/sun/star/ui/dialogs/XFilePicker3.hpp>
#include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp>
-#include <com/sun/star/container/XHierarchicalNameAccess.hpp>
#include <com/sun/star/frame/FrameSearchFlag.hpp>
-#include <com/sun/star/datatransfer/XTransferable.hpp>
#include <com/sun/star/container/XChild.hpp>
-#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/report/XImageControl.hpp>
#include <com/sun/star/report/XFixedLine.hpp>
#include <com/sun/star/report/Function.hpp>
#include <com/sun/star/awt/FontDescriptor.hpp>
-#include <com/sun/star/sdb/XDocumentDataSource.hpp>
#include <com/sun/star/sdb/XParametersSupplier.hpp>
#include <com/sun/star/sdb/CommandType.hpp>
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
-#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
-#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/embed/EmbedMapUnits.hpp>
#include <com/sun/star/awt/FontWeight.hpp>
#include <com/sun/star/awt/FontUnderline.hpp>
-#include <com/sun/star/awt/TextAlign.hpp>
#include <com/sun/star/awt/FontSlant.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/frame/status/FontHeight.hpp>
#include <com/sun/star/report/ReportEngine.hpp>
#include <com/sun/star/report/XFormattedField.hpp>
#include <com/sun/star/sdb/SQLContext.hpp>
-#include <com/sun/star/sdbc/SQLWarning.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/document/XUndoManagerSupplier.hpp>
#include <vcl/svapp.hxx>
+#include <i18nutil/paper.hxx>
#include <svx/fmview.hxx>
-#include <editeng/paperinf.hxx>
#include <editeng/memberids.h>
#include <svx/svxids.hrc>
#include <svx/svdobj.hxx>
@@ -114,8 +102,6 @@
#include <svx/flagsdef.hxx>
#include <svx/svdpagv.hxx>
#include <svx/svxdlg.hxx>
-#include <svx/zoom_def.hxx>
-#include <svx/dialogs.hrc>
#include <core_resource.hxx>
#include <DesignView.hxx>
@@ -131,7 +117,6 @@
#include <svl/itempool.hxx>
#include <svl/itemset.hxx>
-#include <svl/aeitem.hxx>
#include <svtools/cliplistener.hxx>
#include <unotools/syslocale.hxx>
#include <unotools/viewoptions.hxx>
diff --git a/reportdesign/source/ui/report/ReportControllerObserver.cxx b/reportdesign/source/ui/report/ReportControllerObserver.cxx
index d379c859d09b..79afb9c042a1 100644
--- a/reportdesign/source/ui/report/ReportControllerObserver.cxx
+++ b/reportdesign/source/ui/report/ReportControllerObserver.cxx
@@ -27,13 +27,8 @@
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
-#include <com/sun/star/awt/FontSlant.hpp>
#include <FormattedFieldBeautifier.hxx>
-#include <svx/unopage.hxx>
-
-// DBG_*
-#include <tools/debug.hxx>
// DBG_UNHANDLED_EXCEPTION
#include <tools/diagnose_ex.h>
diff --git a/reportdesign/source/ui/report/ReportSection.cxx b/reportdesign/source/ui/report/ReportSection.cxx
index 7482b51925b7..4f7eba282e59 100644
--- a/reportdesign/source/ui/report/ReportSection.cxx
+++ b/reportdesign/source/ui/report/ReportSection.cxx
@@ -39,10 +39,6 @@
#include <svx/dbaexchange.hxx>
#include <svx/sdtagitm.hxx>
-#include <vcl/svapp.hxx>
-#include <vcl/settings.hxx>
-
-#include <com/sun/star/datatransfer/clipboard/XClipboard.hpp>
#include <com/sun/star/frame/XPopupMenuController.hpp>
#include <comphelper/propertyvalue.hxx>
#include <toolkit/awt/vclxmenu.hxx>
@@ -51,18 +47,12 @@
#include <SectionWindow.hxx>
#include <helpids.h>
#include <dlgedclip.hxx>
-#include <UndoActions.hxx>
#include <rptui_slotid.hrc>
-#include <connectivity/dbtools.hxx>
-
#include <vcl/commandevent.hxx>
-#include <vcl/lineinfo.hxx>
-#include <ColorChanger.hxx>
#include <svl/itempool.hxx>
#include <svtools/extcolorcfg.hxx>
-#include <unotools/confignode.hxx>
namespace rptui
diff --git a/reportdesign/source/ui/report/ReportWindow.cxx b/reportdesign/source/ui/report/ReportWindow.cxx
index c96498f54b37..b0b6197015d7 100644
--- a/reportdesign/source/ui/report/ReportWindow.cxx
+++ b/reportdesign/source/ui/report/ReportWindow.cxx
@@ -23,21 +23,14 @@
#include <DesignView.hxx>
#include <UITools.hxx>
-#include <svtools/colorcfg.hxx>
-#include <svl/itempool.hxx>
#include <unotools/syslocale.hxx>
#include <unotools/localedatawrapper.hxx>
#include <vcl/settings.hxx>
#include <RptDef.hxx>
-#include <dlgedfunc.hxx>
-#include <RptModel.hxx>
#include <strings.hxx>
-#include <RptPage.hxx>
#include <ReportController.hxx>
-#include <EndMarker.hxx>
-#include <ColorChanger.hxx>
#include <ScrollHelper.hxx>
#include <helpids.h>
diff --git a/reportdesign/source/ui/report/ScrollHelper.cxx b/reportdesign/source/ui/report/ScrollHelper.cxx
index 305da63c38f4..0f64f0ac1b8d 100644
--- a/reportdesign/source/ui/report/ScrollHelper.cxx
+++ b/reportdesign/source/ui/report/ScrollHelper.cxx
@@ -22,7 +22,6 @@
#include <ReportWindow.hxx>
#include <UITools.hxx>
#include <com/sun/star/accessibility/AccessibleRole.hpp>
-#include <toolkit/helper/convert.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/settings.hxx>
diff --git a/reportdesign/source/ui/report/SectionView.cxx b/reportdesign/source/ui/report/SectionView.cxx
index 2d35fb1e74aa..3b5694c997dd 100644
--- a/reportdesign/source/ui/report/SectionView.cxx
+++ b/reportdesign/source/ui/report/SectionView.cxx
@@ -21,13 +21,10 @@
#include <RptPage.hxx>
#include <RptObject.hxx>
#include <RptDef.hxx>
-#include <svx/svxids.hrc>
#include <svx/svddrgmt.hxx>
-#include <vcl/scrbar.hxx>
#include <ReportSection.hxx>
#include <ReportWindow.hxx>
#include <strings.hxx>
-#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
namespace rptui
diff --git a/reportdesign/source/ui/report/SectionWindow.cxx b/reportdesign/source/ui/report/SectionWindow.cxx
index be589d307bc8..627490e62f53 100644
--- a/reportdesign/source/ui/report/SectionWindow.cxx
+++ b/reportdesign/source/ui/report/SectionWindow.cxx
@@ -19,10 +19,7 @@
#include <SectionWindow.hxx>
#include <ReportWindow.hxx>
#include <UITools.hxx>
-#include <rptui_slotid.hrc>
#include <ReportController.hxx>
-#include <SectionView.hxx>
-#include <RptDef.hxx>
#include <ReportSection.hxx>
#include <DesignView.hxx>
#include <strings.hxx>
@@ -32,14 +29,11 @@
#include <EndMarker.hxx>
#include <ViewsWindow.hxx>
-#include <svtools/colorcfg.hxx>
#include <functional>
#include <algorithm>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
-#include <connectivity/dbtools.hxx>
-
namespace rptui
{
using namespace ::com::sun::star;
diff --git a/reportdesign/source/ui/report/ViewsWindow.cxx b/reportdesign/source/ui/report/ViewsWindow.cxx
index e4c82dd07a91..51204671ba5f 100644
--- a/reportdesign/source/ui/report/ViewsWindow.cxx
+++ b/reportdesign/source/ui/report/ViewsWindow.cxx
@@ -32,11 +32,9 @@
#include <strings.hxx>
#include <rptui_slotid.hrc>
#include <dlgedclip.hxx>
-#include <ColorChanger.hxx>
#include <RptObject.hxx>
#include <EndMarker.hxx>
#include <sal/log.hxx>
-#include <svx/svdpagv.hxx>
#include <svx/unoshape.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
diff --git a/reportdesign/source/ui/report/dlgedclip.cxx b/reportdesign/source/ui/report/dlgedclip.cxx
index 03e54fa6910c..1f36563fe874 100644
--- a/reportdesign/source/ui/report/dlgedclip.cxx
+++ b/reportdesign/source/ui/report/dlgedclip.cxx
@@ -19,8 +19,6 @@
#include <dlgedclip.hxx>
#include <osl/diagnose.h>
#include <sot/exchange.hxx>
-#include <com/sun/star/datatransfer/XMimeContentType.hpp>
-#include <com/sun/star/datatransfer/XMimeContentTypeFactory.hpp>
namespace rptui
{
diff --git a/reportdesign/source/ui/report/dlgedfac.cxx b/reportdesign/source/ui/report/dlgedfac.cxx
index 22af5dfb1f33..a0db6c64bc5d 100644
--- a/reportdesign/source/ui/report/dlgedfac.cxx
+++ b/reportdesign/source/ui/report/dlgedfac.cxx
@@ -20,12 +20,8 @@
#include <strings.hxx>
#include <RptObject.hxx>
#include <RptDef.hxx>
-#include <com/sun/star/container/XNameContainer.hpp>
-#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
-#include <com/sun/star/awt/ScrollBarOrientation.hpp>
-#include <svx/svdoole2.hxx>
+
namespace rptui
{
using namespace ::com::sun::star;
diff --git a/reportdesign/source/ui/report/dlgedfunc.cxx b/reportdesign/source/ui/report/dlgedfunc.cxx
index 3eaa42d6ab5b..1753205cdb29 100644
--- a/reportdesign/source/ui/report/dlgedfunc.cxx
+++ b/reportdesign/source/ui/report/dlgedfunc.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <vcl/scrbar.hxx>
-#include <vcl/svapp.hxx>
#include <vcl/seleng.hxx>
#include <vcl/ptrstyle.hxx>
#include <com/sun/star/embed/EmbedStates.hpp>
@@ -26,11 +25,7 @@
#include <svx/svdview.hxx>
#include <svx/svdpagv.hxx>
-#include <editeng/outlobj.hxx>
-#include <editeng/unolingu.hxx>
#include <svx/svdetc.hxx>
-#include <editeng/editstat.hxx>
-#include <svx/svdoutl.hxx>
#include <svx/svddrgmt.hxx>
#include <svx/svdoashp.hxx>
#include <svx/svxids.hrc>
diff --git a/reportdesign/source/ui/report/propbrw.cxx b/reportdesign/source/ui/report/propbrw.cxx
index 3afeb3bb904a..3a9c00f1ee80 100644
--- a/reportdesign/source/ui/report/propbrw.cxx
+++ b/reportdesign/source/ui/report/propbrw.cxx
@@ -23,22 +23,16 @@
#include <cppuhelper/component_context.hxx>
#include <strings.hrc>
#include <rptui_slotid.hrc>
-#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
#include <com/sun/star/awt/XLayoutConstrains.hpp>
-#include <com/sun/star/awt/PosSize.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/frame/Frame.hpp>
#include <com/sun/star/inspection/ObjectInspector.hpp>
#include <com/sun/star/inspection/DefaultHelpProvider.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/report/inspection/DefaultComponentInspectorModel.hpp>
-#include <svx/svxids.hrc>
#include <vcl/stdtext.hxx>
#include <vcl/weld.hxx>
-#include <svx/svdview.hxx>
-#include <svx/svdogrp.hxx>
-#include <svx/svdpage.hxx>
#include <svx/svditer.hxx>
#include <toolkit/helper/vclunohelper.hxx>