diff options
29 files changed, 0 insertions, 46 deletions
diff --git a/sc/qa/extras/htmlexporttest.cxx b/sc/qa/extras/htmlexporttest.cxx index 75d7d9e758ce..859b5a90d008 100644 --- a/sc/qa/extras/htmlexporttest.cxx +++ b/sc/qa/extras/htmlexporttest.cxx @@ -12,11 +12,6 @@ #include <test/htmltesttools.hxx> #include <test/unoapixml_test.hxx> -using namespace css::uno; -using namespace css::lang; -using namespace css::frame; -using namespace utl; - class ScHTMLExportTest : public UnoApiXmlTest, public HtmlTestTools { public: diff --git a/sc/qa/extras/sccheck_data_pilot_field.cxx b/sc/qa/extras/sccheck_data_pilot_field.cxx index 52cc34481958..6d65b0e12a27 100644 --- a/sc/qa/extras/sccheck_data_pilot_field.cxx +++ b/sc/qa/extras/sccheck_data_pilot_field.cxx @@ -25,7 +25,6 @@ //check the DataPilot of Calc. using namespace css; -using namespace css::lang; namespace sc_apitest { diff --git a/sc/qa/extras/sccheck_data_pilot_table.cxx b/sc/qa/extras/sccheck_data_pilot_table.cxx index 92494fb5833f..1f60ab72d191 100644 --- a/sc/qa/extras/sccheck_data_pilot_table.cxx +++ b/sc/qa/extras/sccheck_data_pilot_table.cxx @@ -27,7 +27,6 @@ //check the DataPilot of Calc. using namespace css; -using namespace css::lang; namespace sc_apitest { diff --git a/sc/qa/extras/sccheck_xcell_ranges_query.cxx b/sc/qa/extras/sccheck_xcell_ranges_query.cxx index f0de7f7deff7..d5e9a5c8905f 100644 --- a/sc/qa/extras/sccheck_xcell_ranges_query.cxx +++ b/sc/qa/extras/sccheck_xcell_ranges_query.cxx @@ -17,7 +17,6 @@ #include <com/sun/star/container/XNamed.hpp> using namespace css; -using namespace css::lang; namespace sc_apitest { diff --git a/sc/qa/unit/dataproviders_test.cxx b/sc/qa/unit/dataproviders_test.cxx index 5b1aa76b95ed..7de2e4597262 100644 --- a/sc/qa/unit/dataproviders_test.cxx +++ b/sc/qa/unit/dataproviders_test.cxx @@ -19,7 +19,6 @@ #include <memory> using namespace ::com::sun::star; -using namespace ::com::sun::star::uno; class ScDataProvidersTest : public ScModelTestBase { diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx index 671f9760d197..4c8661822c4a 100644 --- a/sc/qa/unit/filters-test.cxx +++ b/sc/qa/unit/filters-test.cxx @@ -23,7 +23,6 @@ #include <unotools/tempfile.hxx> using namespace ::com::sun::star; -using namespace ::com::sun::star::uno; /* Implementation of Filters test */ diff --git a/sc/qa/unit/helper/debughelper.hxx b/sc/qa/unit/helper/debughelper.hxx index 56e9f075f933..2a16d532128a 100644 --- a/sc/qa/unit/helper/debughelper.hxx +++ b/sc/qa/unit/helper/debughelper.hxx @@ -24,6 +24,4 @@ #include <sal/types.h> -using namespace ::com::sun::star; - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/qa/unit/opencl-test-1.cxx b/sc/qa/unit/opencl-test-1.cxx index 03b4b27230e8..0c450d521120 100644 --- a/sc/qa/unit/opencl-test-1.cxx +++ b/sc/qa/unit/opencl-test-1.cxx @@ -8,7 +8,6 @@ #include <document.hxx> using namespace ::com::sun::star; -using namespace ::com::sun::star::uno; class ScOpenCLTest1 : public ScModelTestBase diff --git a/sc/qa/unit/opencl-test-2.cxx b/sc/qa/unit/opencl-test-2.cxx index 402e598079a9..7cd34f15245c 100644 --- a/sc/qa/unit/opencl-test-2.cxx +++ b/sc/qa/unit/opencl-test-2.cxx @@ -8,7 +8,6 @@ #include <document.hxx> using namespace ::com::sun::star; -using namespace ::com::sun::star::uno; class ScOpenCLTest2 : public ScModelTestBase diff --git a/sc/qa/unit/pivottable_filters_test.cxx b/sc/qa/unit/pivottable_filters_test.cxx index 580d96318e93..983aa176db70 100644 --- a/sc/qa/unit/pivottable_filters_test.cxx +++ b/sc/qa/unit/pivottable_filters_test.cxx @@ -31,7 +31,6 @@ #include <com/sun/star/sheet/DataPilotFieldGroupBy.hpp> using namespace ::com::sun::star; -using namespace ::com::sun::star::uno; using ::std::cerr; using ::std::cout; using ::std::endl; diff --git a/sc/qa/unit/subsequent_filters_test.cxx b/sc/qa/unit/subsequent_filters_test.cxx index a0cbd4f0780c..04815e128790 100644 --- a/sc/qa/unit/subsequent_filters_test.cxx +++ b/sc/qa/unit/subsequent_filters_test.cxx @@ -31,7 +31,6 @@ #include "helper/shared_test_impl.hxx" using namespace ::com::sun::star; -using namespace ::com::sun::star::uno; /* Implementation of Filters test */ diff --git a/sc/qa/unit/ucalc_parallelism.cxx b/sc/qa/unit/ucalc_parallelism.cxx index 04f17f383ede..cb43b1af8e82 100644 --- a/sc/qa/unit/ucalc_parallelism.cxx +++ b/sc/qa/unit/ucalc_parallelism.cxx @@ -14,7 +14,6 @@ #include <officecfg/Office/Calc.hxx> using namespace css; -using namespace css::uno; // test-suite suitable for creating documents to test parallelism in // with access to internal unexported symbols diff --git a/sc/source/core/opencl/op_addin.cxx b/sc/source/core/opencl/op_addin.cxx index 7785863b6a60..2989bd2023f9 100644 --- a/sc/source/core/opencl/op_addin.cxx +++ b/sc/source/core/opencl/op_addin.cxx @@ -11,8 +11,6 @@ #include <sstream> -using namespace formula; - namespace sc::opencl { void OpBesselj::GenSlidingWindowFunction(outputstream &ss, diff --git a/sc/source/core/opencl/op_array.cxx b/sc/source/core/opencl/op_array.cxx index 7c2f3776d228..639e0331605d 100644 --- a/sc/source/core/opencl/op_array.cxx +++ b/sc/source/core/opencl/op_array.cxx @@ -11,8 +11,6 @@ #include <sstream> -using namespace formula; - namespace sc::opencl { void OpSumX2MY2::GenSlidingWindowFunction(outputstream &ss, diff --git a/sc/source/core/opencl/op_financial.cxx b/sc/source/core/opencl/op_financial.cxx index a9edb1cef310..e5d0101fe49f 100644 --- a/sc/source/core/opencl/op_financial.cxx +++ b/sc/source/core/opencl/op_financial.cxx @@ -11,8 +11,6 @@ #include <sstream> -using namespace formula; - namespace sc::opencl { // Definitions of inline functions #include "op_financial_helpers.hxx" diff --git a/sc/source/core/opencl/op_logical.cxx b/sc/source/core/opencl/op_logical.cxx index 7238fd1a248d..16a66698dcd7 100644 --- a/sc/source/core/opencl/op_logical.cxx +++ b/sc/source/core/opencl/op_logical.cxx @@ -11,8 +11,6 @@ #include <sstream> -using namespace formula; - namespace sc::opencl { void OpLogicalBinaryOperator::GenSlidingWindowFunction(outputstream &ss, diff --git a/sc/source/core/opencl/op_statistical.cxx b/sc/source/core/opencl/op_statistical.cxx index d7bdfaf558b1..a87fabb8ffea 100644 --- a/sc/source/core/opencl/op_statistical.cxx +++ b/sc/source/core/opencl/op_statistical.cxx @@ -12,8 +12,6 @@ #include <sstream> #include "op_statistical_helpers.hxx" -using namespace formula; - #include "op_math_helpers.hxx" namespace sc::opencl { diff --git a/sc/source/core/tool/formulaparserpool.cxx b/sc/source/core/tool/formulaparserpool.cxx index 6ac873042d11..e423dfb1ded6 100644 --- a/sc/source/core/tool/formulaparserpool.cxx +++ b/sc/source/core/tool/formulaparserpool.cxx @@ -28,7 +28,6 @@ #include <document.hxx> #include <docsh.hxx> -using namespace ::com::sun::star::beans; using namespace ::com::sun::star::container; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::sheet; diff --git a/sc/source/filter/excel/xepivot.cxx b/sc/source/filter/excel/xepivot.cxx index c03c35b2cdb5..0afbe31a19b6 100644 --- a/sc/source/filter/excel/xepivot.cxx +++ b/sc/source/filter/excel/xepivot.cxx @@ -48,8 +48,6 @@ #include <generalfunction.hxx> #include <svl/numformat.hxx> -using namespace ::oox; - using ::com::sun::star::sheet::DataPilotFieldOrientation; using ::com::sun::star::sheet::DataPilotFieldOrientation_ROW; using ::com::sun::star::sheet::DataPilotFieldOrientation_COLUMN; diff --git a/sc/source/filter/oox/commentsbuffer.cxx b/sc/source/filter/oox/commentsbuffer.cxx index 1f1f2dd2540c..de39a93b0b6f 100644 --- a/sc/source/filter/oox/commentsbuffer.cxx +++ b/sc/source/filter/oox/commentsbuffer.cxx @@ -44,8 +44,6 @@ namespace oox::xls { using namespace ::com::sun::star::drawing; -using namespace ::com::sun::star::sheet; -using namespace ::com::sun::star::table; using namespace ::com::sun::star::text; using namespace ::com::sun::star::uno; diff --git a/sc/source/filter/oox/pivotcachefragment.cxx b/sc/source/filter/oox/pivotcachefragment.cxx index f508c36cf8cc..a1763382bde7 100644 --- a/sc/source/filter/oox/pivotcachefragment.cxx +++ b/sc/source/filter/oox/pivotcachefragment.cxx @@ -28,7 +28,6 @@ namespace oox::xls { -using namespace ::com::sun::star::uno; using namespace ::oox::core; PivotCacheFieldContext::PivotCacheFieldContext( WorkbookFragmentBase& rFragment, PivotCacheField& rCacheField ) : diff --git a/sc/source/filter/oox/workbooksettings.cxx b/sc/source/filter/oox/workbooksettings.cxx index 655368acf0de..c91dbe1616ee 100644 --- a/sc/source/filter/oox/workbooksettings.cxx +++ b/sc/source/filter/oox/workbooksettings.cxx @@ -42,7 +42,6 @@ namespace oox::xls { using namespace ::com::sun::star::beans; -using namespace ::com::sun::star::sheet; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::util; diff --git a/sc/source/ui/Accessibility/AccessibilityHints.cxx b/sc/source/ui/Accessibility/AccessibilityHints.cxx index 733311f721e9..9e0ec879812e 100644 --- a/sc/source/ui/Accessibility/AccessibilityHints.cxx +++ b/sc/source/ui/Accessibility/AccessibilityHints.cxx @@ -19,8 +19,6 @@ #include <AccessibilityHints.hxx> -using namespace ::com::sun::star; - // ScAccWinFocusLostHint - the current window lost its focus (to another application, view or document) ScAccWinFocusLostHint::~ScAccWinFocusLostHint() diff --git a/sc/source/ui/dataprovider/sqldataprovider.cxx b/sc/source/ui/dataprovider/sqldataprovider.cxx index e255438b6be0..05401075bf86 100644 --- a/sc/source/ui/dataprovider/sqldataprovider.cxx +++ b/sc/source/ui/dataprovider/sqldataprovider.cxx @@ -24,7 +24,6 @@ #include <comphelper/diagnose_ex.hxx> using namespace css; -using namespace ::com::sun::star::beans; using namespace ::com::sun::star::sdbc; using namespace ::com::sun::star::uno; diff --git a/sc/source/ui/dataprovider/xmldataprovider.cxx b/sc/source/ui/dataprovider/xmldataprovider.cxx index 464382ecef12..19ebe49859d2 100644 --- a/sc/source/ui/dataprovider/xmldataprovider.cxx +++ b/sc/source/ui/dataprovider/xmldataprovider.cxx @@ -17,8 +17,6 @@ #include <vcl/svapp.hxx> #include <orcusfilters.hxx> -using namespace com::sun::star; - namespace sc { class XMLFetchThread : public salhelper::Thread diff --git a/sc/source/ui/dbgui/dapitype.cxx b/sc/source/ui/dbgui/dapitype.cxx index 9843a2bb975b..41f58bd235b8 100644 --- a/sc/source/ui/dbgui/dapitype.cxx +++ b/sc/source/ui/dbgui/dapitype.cxx @@ -22,8 +22,6 @@ #include <dapitype.hxx> #include <comphelper/lok.hxx> -using namespace com::sun::star; - ScDataPilotSourceTypeDlg::ScDataPilotSourceTypeDlg(weld::Window* pParent, bool bEnableExternal) : GenericDialogController(pParent, "modules/scalc/ui/selectsource.ui", "SelectSourceDialog") , m_xBtnSelection(m_xBuilder->weld_radio_button("selection")) diff --git a/sc/source/ui/drawfunc/drawsh2.cxx b/sc/source/ui/drawfunc/drawsh2.cxx index 20367338b9f6..51c5a1a08cbc 100644 --- a/sc/source/ui/drawfunc/drawsh2.cxx +++ b/sc/source/ui/drawfunc/drawsh2.cxx @@ -54,7 +54,6 @@ #include <com/sun/star/chart2/XChartDocument.hpp> #include <sfx2/ipclient.hxx> -using namespace com::sun::star::drawing; using namespace com::sun::star; diff --git a/sc/source/ui/unoobj/drdefuno.cxx b/sc/source/ui/unoobj/drdefuno.cxx index fa2387d28bda..8f01da29cf08 100644 --- a/sc/source/ui/unoobj/drdefuno.cxx +++ b/sc/source/ui/unoobj/drdefuno.cxx @@ -24,8 +24,6 @@ #include <svx/unoprov.hxx> #include <vcl/svapp.hxx> -using namespace ::com::sun::star; - ScDrawDefaultsObj::ScDrawDefaultsObj(ScDocShell* pDocSh) : SvxUnoDrawPool( nullptr, SvxPropertySetInfoPool::getDrawingDefaults() ), pDocShell( pDocSh ) diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx index 72f84edd8158..cd2a23f9421a 100644 --- a/sc/source/ui/view/formatsh.cxx +++ b/sc/source/ui/view/formatsh.cxx @@ -74,8 +74,6 @@ #include <memory> -using namespace ::com::sun::star; - namespace { SvxCellHorJustify lclConvertSlotToHAlign( sal_uInt16 nSlot ) |