summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorGabor Kelemen <gabor.kelemen.extern@allotropia.de>2024-03-31 14:00:06 +0200
committerGabor Kelemen <gabor.kelemen.extern@allotropia.de>2024-04-09 18:52:56 +0200
commita919a0aa4c434c906aa0301d842b1234bf287a9d (patch)
tree713dd2f19cc2d7ecca49a693943bbf42dfa12042 /reportdesign
parent32d3826a36099cbdb8675fe957348d80760f8cba (diff)
tdf#146619 Drop unused 'using namespace' in: reportdesign/
Change-Id: Iaf246112014d5b5da751570ca55a179232a1e9d4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165692 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/core/api/services.cxx1
-rw-r--r--reportdesign/source/core/sdr/UndoActions.cxx2
-rw-r--r--reportdesign/source/core/sdr/UndoEnv.cxx2
-rw-r--r--reportdesign/source/filter/xml/xmlAutoStyle.cxx1
-rw-r--r--reportdesign/source/filter/xml/xmlCell.cxx1
-rw-r--r--reportdesign/source/filter/xml/xmlComponent.cxx1
-rw-r--r--reportdesign/source/filter/xml/xmlCondPrtExpr.cxx1
-rw-r--r--reportdesign/source/filter/xml/xmlExport.cxx1
-rw-r--r--reportdesign/source/filter/xml/xmlExport.hxx4
-rw-r--r--reportdesign/source/filter/xml/xmlFixedContent.cxx2
-rw-r--r--reportdesign/source/filter/xml/xmlFormatCondition.cxx1
-rw-r--r--reportdesign/source/filter/xml/xmlHelper.cxx1
-rw-r--r--reportdesign/source/filter/xml/xmlPropertyHandler.cxx4
-rw-r--r--reportdesign/source/filter/xml/xmlfilter.cxx1
-rw-r--r--reportdesign/source/filter/xml/xmlfilter.hxx5
-rw-r--r--reportdesign/source/ui/dlg/AddField.cxx1
-rw-r--r--reportdesign/source/ui/dlg/DateTime.cxx1
-rw-r--r--reportdesign/source/ui/dlg/Navigator.cxx1
-rw-r--r--reportdesign/source/ui/misc/RptUndo.cxx2
-rw-r--r--reportdesign/source/ui/misc/UITools.cxx1
-rw-r--r--reportdesign/source/ui/report/DesignView.cxx3
-rw-r--r--reportdesign/source/ui/report/ReportController.cxx1
-rw-r--r--reportdesign/source/ui/report/ViewsWindow.cxx1
23 files changed, 3 insertions, 36 deletions
diff --git a/reportdesign/source/core/api/services.cxx b/reportdesign/source/core/api/services.cxx
index de07c51e8c22..1f0a0a6f2fe8 100644
--- a/reportdesign/source/core/api/services.cxx
+++ b/reportdesign/source/core/api/services.cxx
@@ -32,7 +32,6 @@
/********************************************************************************************/
using namespace ::reportdesign;
-using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::registry;
diff --git a/reportdesign/source/core/sdr/UndoActions.cxx b/reportdesign/source/core/sdr/UndoActions.cxx
index a63161a1b977..5aaa412cf1ff 100644
--- a/reportdesign/source/core/sdr/UndoActions.cxx
+++ b/reportdesign/source/core/sdr/UndoActions.cxx
@@ -36,10 +36,8 @@ namespace rptui
using namespace ::com::sun::star;
using namespace uno;
using namespace lang;
- using namespace script;
using namespace beans;
using namespace awt;
- using namespace util;
using namespace container;
using namespace report;
diff --git a/reportdesign/source/core/sdr/UndoEnv.cxx b/reportdesign/source/core/sdr/UndoEnv.cxx
index bba8d5ae91f1..a2cdddafbdae 100644
--- a/reportdesign/source/core/sdr/UndoEnv.cxx
+++ b/reportdesign/source/core/sdr/UndoEnv.cxx
@@ -45,9 +45,7 @@ namespace rptui
using namespace ::com::sun::star;
using namespace uno;
using namespace lang;
- using namespace script;
using namespace beans;
- using namespace awt;
using namespace util;
using namespace container;
using namespace report;
diff --git a/reportdesign/source/filter/xml/xmlAutoStyle.cxx b/reportdesign/source/filter/xml/xmlAutoStyle.cxx
index d292b84bd4be..cceb85a45b5f 100644
--- a/reportdesign/source/filter/xml/xmlAutoStyle.cxx
+++ b/reportdesign/source/filter/xml/xmlAutoStyle.cxx
@@ -24,7 +24,6 @@
namespace rptxml
{
using namespace ::com::sun::star::uno;
- using namespace ::com::sun::star::xml::sax;
void OXMLAutoStylePoolP::exportStyleAttributes(
comphelper::AttributeList& rAttrList,
diff --git a/reportdesign/source/filter/xml/xmlCell.cxx b/reportdesign/source/filter/xml/xmlCell.cxx
index c504204db7f8..3d34a8c241a6 100644
--- a/reportdesign/source/filter/xml/xmlCell.cxx
+++ b/reportdesign/source/filter/xml/xmlCell.cxx
@@ -44,6 +44,7 @@ namespace rptxml
using namespace ::com::sun::star;
using namespace uno;
using namespace beans;
+ using namespace lang;
using namespace xml::sax;
diff --git a/reportdesign/source/filter/xml/xmlComponent.cxx b/reportdesign/source/filter/xml/xmlComponent.cxx
index 896d8b2ab324..0e17dff666d4 100644
--- a/reportdesign/source/filter/xml/xmlComponent.cxx
+++ b/reportdesign/source/filter/xml/xmlComponent.cxx
@@ -27,7 +27,6 @@ namespace rptxml
{
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
- using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::report;
using namespace ::com::sun::star::xml::sax;
OXMLComponent::OXMLComponent( ORptFilter& _rImport
diff --git a/reportdesign/source/filter/xml/xmlCondPrtExpr.cxx b/reportdesign/source/filter/xml/xmlCondPrtExpr.cxx
index 1b3a3831bb6d..24e54342adfc 100644
--- a/reportdesign/source/filter/xml/xmlCondPrtExpr.cxx
+++ b/reportdesign/source/filter/xml/xmlCondPrtExpr.cxx
@@ -27,7 +27,6 @@
namespace rptxml
{
using namespace ::com::sun::star;
- using namespace report;
using namespace uno;
using namespace xml::sax;
diff --git a/reportdesign/source/filter/xml/xmlExport.cxx b/reportdesign/source/filter/xml/xmlExport.cxx
index c1b2c24232d9..3a83854e03fb 100644
--- a/reportdesign/source/filter/xml/xmlExport.cxx
+++ b/reportdesign/source/filter/xml/xmlExport.cxx
@@ -56,7 +56,6 @@ namespace rptxml
using namespace ::com::sun::star::report;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::util;
- using namespace ::com::sun::star::xml;
/** Exports only settings
diff --git a/reportdesign/source/filter/xml/xmlExport.hxx b/reportdesign/source/filter/xml/xmlExport.hxx
index 130ad0b7788d..788227cc7caa 100644
--- a/reportdesign/source/filter/xml/xmlExport.hxx
+++ b/reportdesign/source/filter/xml/xmlExport.hxx
@@ -43,11 +43,7 @@ using namespace css::uno;
using namespace css::container;
using namespace css::lang;
using namespace css::beans;
-using namespace css::document;
-using namespace css::text;
using namespace css::report;
-using namespace css::io;
-using namespace css::xml::sax;
class ORptExport : public SvXMLExport
diff --git a/reportdesign/source/filter/xml/xmlFixedContent.cxx b/reportdesign/source/filter/xml/xmlFixedContent.cxx
index 4cffdd300a16..83e638af140d 100644
--- a/reportdesign/source/filter/xml/xmlFixedContent.cxx
+++ b/reportdesign/source/filter/xml/xmlFixedContent.cxx
@@ -35,6 +35,8 @@
namespace rptxml
{
using namespace ::com::sun::star;
+ using namespace ::com::sun::star::lang;
+ using namespace ::com::sun::star::text;
namespace {
diff --git a/reportdesign/source/filter/xml/xmlFormatCondition.cxx b/reportdesign/source/filter/xml/xmlFormatCondition.cxx
index 0996a910f613..c8cce0b0c0de 100644
--- a/reportdesign/source/filter/xml/xmlFormatCondition.cxx
+++ b/reportdesign/source/filter/xml/xmlFormatCondition.cxx
@@ -30,7 +30,6 @@ namespace rptxml
using namespace ::com::sun::star::report;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
- using namespace ::com::sun::star::beans;
OXMLFormatCondition::OXMLFormatCondition( ORptFilter& rImport,
const Reference< XFastAttributeList > & _xAttrList
diff --git a/reportdesign/source/filter/xml/xmlHelper.cxx b/reportdesign/source/filter/xml/xmlHelper.cxx
index d287c4861550..b30f7b56d961 100644
--- a/reportdesign/source/filter/xml/xmlHelper.cxx
+++ b/reportdesign/source/filter/xml/xmlHelper.cxx
@@ -52,7 +52,6 @@ namespace rptxml
using namespace ::com::sun::star::awt;
using namespace ::com::sun::star;
using namespace ::com::sun::star::sdb;
- using namespace ::com::sun::star::form;
using namespace ::com::sun::star::beans;
OPropertyHandlerFactory::OPropertyHandlerFactory()
{
diff --git a/reportdesign/source/filter/xml/xmlPropertyHandler.cxx b/reportdesign/source/filter/xml/xmlPropertyHandler.cxx
index 3279629fa115..f44d6375d3d6 100644
--- a/reportdesign/source/filter/xml/xmlPropertyHandler.cxx
+++ b/reportdesign/source/filter/xml/xmlPropertyHandler.cxx
@@ -22,10 +22,6 @@
namespace rptxml
{
-using namespace ::com::sun::star;
-using namespace xmloff;
-using namespace ::com::sun::star::uno;
-
OXMLRptPropHdlFactory::OXMLRptPropHdlFactory() {}
OXMLRptPropHdlFactory::~OXMLRptPropHdlFactory() {}
diff --git a/reportdesign/source/filter/xml/xmlfilter.cxx b/reportdesign/source/filter/xml/xmlfilter.cxx
index 5ba253629c87..f873c1381d52 100644
--- a/reportdesign/source/filter/xml/xmlfilter.cxx
+++ b/reportdesign/source/filter/xml/xmlfilter.cxx
@@ -70,7 +70,6 @@ using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::document;
-using namespace ::com::sun::star::text;
using namespace ::com::sun::star::io;
using namespace ::com::sun::star::report;
using namespace ::com::sun::star::xml::sax;
diff --git a/reportdesign/source/filter/xml/xmlfilter.hxx b/reportdesign/source/filter/xml/xmlfilter.hxx
index 0a101c635a88..bc0015d78281 100644
--- a/reportdesign/source/filter/xml/xmlfilter.hxx
+++ b/reportdesign/source/filter/xml/xmlfilter.hxx
@@ -39,12 +39,7 @@ namespace rptxml
{
using namespace ::xmloff::token;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::container;
-using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
-using namespace ::com::sun::star::document;
-using namespace ::com::sun::star::text;
-using namespace ::com::sun::star::io;
using namespace ::com::sun::star::report;
using namespace ::com::sun::star::xml::sax;
diff --git a/reportdesign/source/ui/dlg/AddField.cxx b/reportdesign/source/ui/dlg/AddField.cxx
index 631a7f7d9015..67c5c2d1e3e2 100644
--- a/reportdesign/source/ui/dlg/AddField.cxx
+++ b/reportdesign/source/ui/dlg/AddField.cxx
@@ -41,7 +41,6 @@ using namespace ::com::sun::star;
using namespace sdbc;
using namespace sdb;
using namespace uno;
-using namespace datatransfer;
using namespace beans;
using namespace lang;
using namespace container;
diff --git a/reportdesign/source/ui/dlg/DateTime.cxx b/reportdesign/source/ui/dlg/DateTime.cxx
index 90c57927cdd4..2bbcc00ef3ca 100644
--- a/reportdesign/source/ui/dlg/DateTime.cxx
+++ b/reportdesign/source/ui/dlg/DateTime.cxx
@@ -33,7 +33,6 @@
namespace rptui
{
using namespace ::com::sun::star;
-using namespace ::comphelper;
diff --git a/reportdesign/source/ui/dlg/Navigator.cxx b/reportdesign/source/ui/dlg/Navigator.cxx
index 48ff4ed2df12..db67e68a72d6 100644
--- a/reportdesign/source/ui/dlg/Navigator.cxx
+++ b/reportdesign/source/ui/dlg/Navigator.cxx
@@ -52,7 +52,6 @@
namespace rptui
{
using namespace ::com::sun::star;
-using namespace utl;
using namespace ::comphelper;
static OUString lcl_getImageId(const uno::Reference< report::XReportComponent>& _xElement)
diff --git a/reportdesign/source/ui/misc/RptUndo.cxx b/reportdesign/source/ui/misc/RptUndo.cxx
index d2afebb4fd9c..7a835237722a 100644
--- a/reportdesign/source/ui/misc/RptUndo.cxx
+++ b/reportdesign/source/ui/misc/RptUndo.cxx
@@ -41,10 +41,8 @@ namespace rptui
{
using namespace ::com::sun::star;
using namespace uno;
- using namespace lang;
using namespace beans;
using namespace awt;
- using namespace util;
using namespace container;
using namespace report;
diff --git a/reportdesign/source/ui/misc/UITools.cxx b/reportdesign/source/ui/misc/UITools.cxx
index e346606fd2ea..ab5f55cfec08 100644
--- a/reportdesign/source/ui/misc/UITools.cxx
+++ b/reportdesign/source/ui/misc/UITools.cxx
@@ -174,7 +174,6 @@ static_assert((ITEMID_WEIGHT_COMPLEX - XATTR_FILL_FIRST) == 56, "Item ids are no
namespace rptui
{
using namespace ::com::sun::star;
-using namespace formula;
void adjustSectionName(const uno::Reference< report::XGroup >& _xGroup,sal_Int32 _nPos)
{
diff --git a/reportdesign/source/ui/report/DesignView.cxx b/reportdesign/source/ui/report/DesignView.cxx
index 9db1ab8d524d..e75fc654dc36 100644
--- a/reportdesign/source/ui/report/DesignView.cxx
+++ b/reportdesign/source/ui/report/DesignView.cxx
@@ -42,12 +42,9 @@
namespace rptui
{
using namespace ::dbaui;
-using namespace ::utl;
using namespace ::com::sun::star;
using namespace uno;
-using namespace lang;
using namespace beans;
-using namespace container;
#define START_SIZE_TASKPANE 30
#define COLSET_ID 1
diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx
index 1f580869a4b3..6a6db230034f 100644
--- a/reportdesign/source/ui/report/ReportController.cxx
+++ b/reportdesign/source/ui/report/ReportController.cxx
@@ -158,7 +158,6 @@ static_assert((RPTUI_ID_METRIC - RPTUI_ID_LRSPACE) == 28, "Item ids are not cont
using namespace ::com::sun::star;
using namespace uno;
-using namespace io;
using namespace beans;
using namespace frame;
using namespace util;
diff --git a/reportdesign/source/ui/report/ViewsWindow.cxx b/reportdesign/source/ui/report/ViewsWindow.cxx
index b6b4fe0b160b..c56e9bb11d4f 100644
--- a/reportdesign/source/ui/report/ViewsWindow.cxx
+++ b/reportdesign/source/ui/report/ViewsWindow.cxx
@@ -49,7 +49,6 @@ namespace rptui
#define DEFAUL_MOVE_SIZE 100
using namespace ::com::sun::star;
-using namespace ::comphelper;
static bool lcl_getNewRectSize(const tools::Rectangle& _aObjRect,tools::Long& _nXMov, tools::Long& _nYMov,SdrObject const * _pObj,SdrView const * _pView, ControlModification _nControlModification)
{