summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/qa/unit/helper/debughelper.hxx4
-rw-r--r--sc/qa/unit/helper/qahelper.cxx3
-rw-r--r--sc/qa/unit/pivottable_filters_test.cxx3
-rw-r--r--sc/qa/unit/subsequent_export_test3.cxx2
-rw-r--r--sc/qa/unit/ucalc.cxx2
-rw-r--r--sc/qa/unit/ucalc_copypaste.cxx3
-rw-r--r--sc/qa/unit/ucalc_formula.cxx2
-rw-r--r--sc/qa/unit/ucalc_formula2.cxx3
-rw-r--r--sc/qa/unit/ucalc_sharedformula.cxx3
-rw-r--r--sc/qa/unit/ucalc_sort.cxx3
-rw-r--r--sc/source/filter/excel/xeescher.cxx1
-rw-r--r--sc/source/filter/excel/xltracer.cxx3
-rw-r--r--sc/source/filter/xml/XMLStylesImportHelper.cxx1
-rw-r--r--sc/source/filter/xml/XMLTableShapeResizer.cxx1
-rw-r--r--sc/source/filter/xml/xmltabi.cxx1
-rw-r--r--sc/source/ui/undo/undorangename.cxx2
-rw-r--r--sd/source/core/drawdoc.cxx1
-rw-r--r--sd/source/ui/framework/module/ModuleController.cxx1
-rw-r--r--sfx2/source/doc/docmacromode.cxx1
-rw-r--r--shell/source/win32/simplemail/smplmailmsg.cxx2
-rw-r--r--svx/source/accessibility/AccessibleFrameSelector.cxx2
-rw-r--r--sw/source/core/access/accpara.cxx1
-rw-r--r--sw/source/filter/xml/XMLRedlineImportHelper.cxx1
-rw-r--r--sw/source/filter/xml/xmlitmpr.cxx3
-rw-r--r--sw/source/uibase/inc/mailmergewizard.hxx1
-rw-r--r--toolkit/source/awt/vclxtopwindow.cxx1
-rw-r--r--toolkit/source/controls/unocontroltablemodel.cxx1
27 files changed, 24 insertions, 28 deletions
diff --git a/sc/qa/unit/helper/debughelper.hxx b/sc/qa/unit/helper/debughelper.hxx
index af7a11a65fdd..47d0e25e0842 100644
--- a/sc/qa/unit/helper/debughelper.hxx
+++ b/sc/qa/unit/helper/debughelper.hxx
@@ -28,9 +28,5 @@
#include <sal/types.h>
using namespace ::com::sun::star;
-using ::std::cout;
-using ::std::cerr;
-using ::std::endl;
-using ::std::vector;
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/qa/unit/helper/qahelper.cxx b/sc/qa/unit/helper/qahelper.cxx
index dbfb6af398f2..af8e5ad8dca1 100644
--- a/sc/qa/unit/helper/qahelper.cxx
+++ b/sc/qa/unit/helper/qahelper.cxx
@@ -48,6 +48,9 @@
using namespace com::sun::star;
using namespace ::com::sun::star::uno;
+using ::std::cout;
+using ::std::cerr;
+using ::std::endl;
FormulaGrammarSwitch::FormulaGrammarSwitch(ScDocument* pDoc, formula::FormulaGrammar::Grammar eGrammar) :
mpDoc(pDoc), meOldGrammar(pDoc->GetGrammar())
diff --git a/sc/qa/unit/pivottable_filters_test.cxx b/sc/qa/unit/pivottable_filters_test.cxx
index b9c92e252db5..372d81b83ec0 100644
--- a/sc/qa/unit/pivottable_filters_test.cxx
+++ b/sc/qa/unit/pivottable_filters_test.cxx
@@ -34,6 +34,9 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
+using ::std::cerr;
+using ::std::cout;
+using ::std::endl;
class ScPivotTableFiltersTest : public ScModelTestBase
{
diff --git a/sc/qa/unit/subsequent_export_test3.cxx b/sc/qa/unit/subsequent_export_test3.cxx
index 4039f54547ef..b1ce4c1a6125 100644
--- a/sc/qa/unit/subsequent_export_test3.cxx
+++ b/sc/qa/unit/subsequent_export_test3.cxx
@@ -37,6 +37,8 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
+using ::std::cerr;
+using ::std::endl;
class ScExportTest3 : public ScModelTestBase
{
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 6ca40d64582e..a1951cdc5b95 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -69,6 +69,8 @@
class ScUndoPaste;
class ScUndoCut;
+using ::std::cerr;
+using ::std::endl;
namespace {
diff --git a/sc/qa/unit/ucalc_copypaste.cxx b/sc/qa/unit/ucalc_copypaste.cxx
index c54107e08998..43f9272a13c0 100644
--- a/sc/qa/unit/ucalc_copypaste.cxx
+++ b/sc/qa/unit/ucalc_copypaste.cxx
@@ -32,6 +32,9 @@
#include <memory>
+using ::std::cerr;
+using ::std::endl;
+
class TestCopyPaste : public ScUcalcTestBase
{
protected:
diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx
index 0c0c5d4481ad..feb0e8fef22a 100644
--- a/sc/qa/unit/ucalc_formula.cxx
+++ b/sc/qa/unit/ucalc_formula.cxx
@@ -30,6 +30,8 @@
#include <vector>
using namespace formula;
+using ::std::cerr;
+using ::std::endl;
namespace {
void setExpandRefs(bool bExpand)
diff --git a/sc/qa/unit/ucalc_formula2.cxx b/sc/qa/unit/ucalc_formula2.cxx
index e943fdc157c7..20d2326887fc 100644
--- a/sc/qa/unit/ucalc_formula2.cxx
+++ b/sc/qa/unit/ucalc_formula2.cxx
@@ -31,6 +31,9 @@
#include <vector>
using namespace formula;
+using ::std::vector;
+using ::std::cerr;
+using ::std::endl;
namespace
{
diff --git a/sc/qa/unit/ucalc_sharedformula.cxx b/sc/qa/unit/ucalc_sharedformula.cxx
index 74d92b8cf0f8..9e466ce84e06 100644
--- a/sc/qa/unit/ucalc_sharedformula.cxx
+++ b/sc/qa/unit/ucalc_sharedformula.cxx
@@ -26,6 +26,9 @@
#include <memory>
#include <string_view>
+using ::std::cerr;
+using ::std::endl;
+
class TestSharedFormula : public ScUcalcTestBase
{
};
diff --git a/sc/qa/unit/ucalc_sort.cxx b/sc/qa/unit/ucalc_sort.cxx
index 734ba2514df9..8d7b672926ef 100644
--- a/sc/qa/unit/ucalc_sort.cxx
+++ b/sc/qa/unit/ucalc_sort.cxx
@@ -31,6 +31,9 @@
#include <svx/svdpage.hxx>
#include <rtl/math.hxx>
+using ::std::cerr;
+using ::std::endl;
+
class TestSort : public ScUcalcTestBase
{
protected:
diff --git a/sc/source/filter/excel/xeescher.cxx b/sc/source/filter/excel/xeescher.cxx
index ed634c1fcf84..04c1f1b9efbd 100644
--- a/sc/source/filter/excel/xeescher.cxx
+++ b/sc/source/filter/excel/xeescher.cxx
@@ -80,7 +80,6 @@ using ::com::sun::star::lang::XServiceInfo;
using ::com::sun::star::beans::XPropertySet;
using ::com::sun::star::drawing::XShape;
using ::com::sun::star::drawing::XShapes;
-using ::com::sun::star::frame::XModel;
using ::com::sun::star::awt::XControlModel;
using ::com::sun::star::form::binding::XBindableValue;
using ::com::sun::star::form::binding::XListEntrySink;
diff --git a/sc/source/filter/excel/xltracer.cxx b/sc/source/filter/excel/xltracer.cxx
index c6931dbf01d8..2b51478e8578 100644
--- a/sc/source/filter/excel/xltracer.cxx
+++ b/sc/source/filter/excel/xltracer.cxx
@@ -22,9 +22,6 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <address.hxx>
-using ::com::sun::star::uno::Sequence;
-using ::com::sun::star::beans::PropertyValue;
-
XclTracer::XclTracer(std::u16string_view /*rDocUrl*/)
: mbEnabled(false)
, maFirstTimes(eTraceLength, true)
diff --git a/sc/source/filter/xml/XMLStylesImportHelper.cxx b/sc/source/filter/xml/XMLStylesImportHelper.cxx
index 3d317b886964..ed3a210fc347 100644
--- a/sc/source/filter/xml/XMLStylesImportHelper.cxx
+++ b/sc/source/filter/xml/XMLStylesImportHelper.cxx
@@ -23,7 +23,6 @@
#include <osl/diagnose.h>
using namespace com::sun::star;
-using ::std::list;
void ScMyStyleNumberFormats::AddStyleNumberFormat(const OUString& rStyleName, const sal_Int32 nNumberFormat)
{
diff --git a/sc/source/filter/xml/XMLTableShapeResizer.cxx b/sc/source/filter/xml/XMLTableShapeResizer.cxx
index 31ee2568f55b..4ce1e6a0226e 100644
--- a/sc/source/filter/xml/XMLTableShapeResizer.cxx
+++ b/sc/source/filter/xml/XMLTableShapeResizer.cxx
@@ -34,7 +34,6 @@
#include <vector>
using namespace ::com::sun::star;
-using ::std::unique_ptr;
using ::std::vector;
ScMyOLEFixer::ScMyOLEFixer(ScXMLImport& rTempImport)
diff --git a/sc/source/filter/xml/xmltabi.cxx b/sc/source/filter/xml/xmltabi.cxx
index 217e08bebced..173e651874a8 100644
--- a/sc/source/filter/xml/xmltabi.cxx
+++ b/sc/source/filter/xml/xmltabi.cxx
@@ -49,7 +49,6 @@ using namespace com::sun::star;
using namespace xmloff::token;
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::UNO_QUERY;
-using ::com::sun::star::xml::sax::XAttributeList;
/**
* Determine whether this table is an external reference cache from its
diff --git a/sc/source/ui/undo/undorangename.cxx b/sc/source/ui/undo/undorangename.cxx
index 30e8d509f0ef..7dceff763f20 100644
--- a/sc/source/ui/undo/undorangename.cxx
+++ b/sc/source/ui/undo/undorangename.cxx
@@ -16,8 +16,6 @@
#include <memory>
#include <utility>
-using ::std::unique_ptr;
-
ScUndoAllRangeNames::ScUndoAllRangeNames(
ScDocShell* pDocSh,
const std::map<OUString, ScRangeName*>& rOldNames,
diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx
index 90033352f1c9..98ba2126b6ba 100644
--- a/sd/source/core/drawdoc.cxx
+++ b/sd/source/core/drawdoc.cxx
@@ -92,7 +92,6 @@ using namespace ::com::sun::star::linguistic2;
using namespace com::sun::star::xml::dom;
using ::com::sun::star::uno::Reference;
-using ::com::sun::star::lang::XMultiServiceFactory;
SdDrawDocument* SdDrawDocument::s_pDocLockedInsertingLinks = nullptr;
diff --git a/sd/source/ui/framework/module/ModuleController.cxx b/sd/source/ui/framework/module/ModuleController.cxx
index 1e35e835183b..b064eefcdad7 100644
--- a/sd/source/ui/framework/module/ModuleController.cxx
+++ b/sd/source/ui/framework/module/ModuleController.cxx
@@ -37,7 +37,6 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::drawing::framework;
-using ::sd::tools::ConfigurationAccess;
namespace sd::framework {
diff --git a/sfx2/source/doc/docmacromode.cxx b/sfx2/source/doc/docmacromode.cxx
index a231daba348f..98d8e069f57c 100644
--- a/sfx2/source/doc/docmacromode.cxx
+++ b/sfx2/source/doc/docmacromode.cxx
@@ -54,7 +54,6 @@ namespace sfx2
using ::com::sun::star::uno::Any;
using ::com::sun::star::uno::Sequence;
using ::com::sun::star::task::DocumentMacroConfirmationRequest;
- using ::com::sun::star::task::ErrorCodeRequest;
using ::com::sun::star::uno::Exception;
using ::com::sun::star::security::DocumentDigitalSignatures;
using ::com::sun::star::security::XDocumentDigitalSignatures;
diff --git a/shell/source/win32/simplemail/smplmailmsg.cxx b/shell/source/win32/simplemail/smplmailmsg.cxx
index 7a622b3fe0db..8cc7c3a46ab4 100644
--- a/shell/source/win32/simplemail/smplmailmsg.cxx
+++ b/shell/source/win32/simplemail/smplmailmsg.cxx
@@ -21,9 +21,7 @@
#include <osl/file.h>
#include "smplmailmsg.hxx"
-using com::sun::star::uno::RuntimeException;
using com::sun::star::uno::Sequence;
-using com::sun::star::lang::IllegalArgumentException;
using namespace cppu;
diff --git a/svx/source/accessibility/AccessibleFrameSelector.cxx b/svx/source/accessibility/AccessibleFrameSelector.cxx
index 46fcb2242896..862247bd98af 100644
--- a/svx/source/accessibility/AccessibleFrameSelector.cxx
+++ b/svx/source/accessibility/AccessibleFrameSelector.cxx
@@ -31,10 +31,8 @@
namespace svx::a11y {
-using ::com::sun::star::uno::Any;
using ::com::sun::star::lang::IndexOutOfBoundsException;
using ::com::sun::star::uno::Reference;
-using ::com::sun::star::uno::Sequence;
using ::com::sun::star::uno::RuntimeException;
using namespace ::com::sun::star::accessibility;
diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx
index 078b647aa876..832afcd02859 100644
--- a/sw/source/core/access/accpara.cxx
+++ b/sw/source/core/access/accpara.cxx
@@ -100,7 +100,6 @@ using namespace ::com::sun::star::accessibility;
using namespace ::com::sun::star::container;
using beans::PropertyValue;
-using beans::XMultiPropertySet;
using beans::UnknownPropertyException;
using beans::PropertyState_DIRECT_VALUE;
diff --git a/sw/source/filter/xml/XMLRedlineImportHelper.cxx b/sw/source/filter/xml/XMLRedlineImportHelper.cxx
index 931fdf963bc8..230e1809c855 100644
--- a/sw/source/filter/xml/XMLRedlineImportHelper.cxx
+++ b/sw/source/filter/xml/XMLRedlineImportHelper.cxx
@@ -51,7 +51,6 @@ using namespace ::xmloff::token;
using ::com::sun::star::text::XTextCursor;
using ::com::sun::star::text::XTextRange;
using ::com::sun::star::text::XWordCursor;
-using ::com::sun::star::lang::XUnoTunnel;
using ::com::sun::star::beans::XPropertySet;
using ::com::sun::star::beans::XPropertySetInfo;
// collision with tools/DateTime: use UNO DateTime as util::DateTime
diff --git a/sw/source/filter/xml/xmlitmpr.cxx b/sw/source/filter/xml/xmlitmpr.cxx
index cb7700fd91fe..e7cf7ec90d78 100644
--- a/sw/source/filter/xml/xmlitmpr.cxx
+++ b/sw/source/filter/xml/xmlitmpr.cxx
@@ -20,9 +20,6 @@
#include "xmlitmap.hxx"
#include <xmloff/xmlimp.hxx>
-using ::xmloff::token::IsXMLToken;
-using ::xmloff::token::XML_TOKEN_INVALID;
-
SvXMLItemMapEntries::~SvXMLItemMapEntries()
{
}
diff --git a/sw/source/uibase/inc/mailmergewizard.hxx b/sw/source/uibase/inc/mailmergewizard.hxx
index b39167650439..f011718f64ef 100644
--- a/sw/source/uibase/inc/mailmergewizard.hxx
+++ b/sw/source/uibase/inc/mailmergewizard.hxx
@@ -26,7 +26,6 @@ class SwView;
class SwMailMergeConfigItem;
using vcl::WizardTypes::WizardState;
-using vcl::WizardTypes::CommitPageReason;
#define MM_DOCUMENTSELECTPAGE 0
#define MM_OUTPUTTYPETPAGE 1
diff --git a/toolkit/source/awt/vclxtopwindow.cxx b/toolkit/source/awt/vclxtopwindow.cxx
index 5a06c8e21506..c0ce4d891d94 100644
--- a/toolkit/source/awt/vclxtopwindow.cxx
+++ b/toolkit/source/awt/vclxtopwindow.cxx
@@ -41,7 +41,6 @@
#include <vcl/svapp.hxx>
using ::com::sun::star::uno::Sequence;
-using ::com::sun::star::uno::Type;
using ::com::sun::star::uno::Any;
using ::com::sun::star::lang::IndexOutOfBoundsException;
diff --git a/toolkit/source/controls/unocontroltablemodel.cxx b/toolkit/source/controls/unocontroltablemodel.cxx
index cc4c8f0863ba..50f6cac3cf80 100644
--- a/toolkit/source/controls/unocontroltablemodel.cxx
+++ b/toolkit/source/controls/unocontroltablemodel.cxx
@@ -47,7 +47,6 @@ namespace svt::table
using css::uno::Any;
using css::style::VerticalAlignment_TOP;
using css::style::VerticalAlignment;
- using css::uno::WeakReference;
using css::awt::grid::GridDataEvent;
using css::awt::grid::XSortableGridData;
using css::beans::Pair;