diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-17 19:20:37 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-18 07:25:24 +0000 |
commit | 150ac9cf05ed9da6a2af5bc3f820280fd853e519 (patch) | |
tree | 10a73ee6974c2ee67ee63a09e533081ce519685f | |
parent | 0fa6c88007f61176ac707cb5d77fd35cf1521123 (diff) |
clean-up: unused using declarations and includes
Searched source for using declarations.
Checked if those symbols reappear in the source file,
even in comments or dead code but not in #include statements.
If they don't reappear, remove the declaration.
Remove includes whose symbol got removed.
Change-Id: Ibb77163f63c1120070e9518e3dc0a78c6c59fab0
Reviewed-on: https://gerrit.libreoffice.org/24148
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
382 files changed, 6 insertions, 1163 deletions
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx index 74d344b6a0b9..bcfe90550771 100644 --- a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx +++ b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx @@ -20,7 +20,6 @@ #include "accessibility/extended/AccessibleBrowseBoxTableCell.hxx" #include <svtools/accessibletableprovider.hxx> -#include "accessibility/extended/AccessibleBrowseBox.hxx" #include <toolkit/helper/vclunohelper.hxx> #include <com/sun/star/accessibility/AccessibleEventId.hpp> @@ -42,7 +41,6 @@ namespace accessibility using namespace ::com::sun::star::lang; using namespace utl; using namespace comphelper; - using ::accessibility::AccessibleBrowseBox; using namespace ::com::sun::star::uno; using ::com::sun::star::accessibility::XAccessible; using namespace ::com::sun::star::accessibility; diff --git a/accessibility/source/extended/AccessibleGridControlTableCell.cxx b/accessibility/source/extended/AccessibleGridControlTableCell.cxx index 771b8062b424..b2ca0eefd176 100644 --- a/accessibility/source/extended/AccessibleGridControlTableCell.cxx +++ b/accessibility/source/extended/AccessibleGridControlTableCell.cxx @@ -20,7 +20,6 @@ #include "accessibility/extended/AccessibleGridControlTableCell.hxx" #include <svtools/accessibletable.hxx> -#include "accessibility/extended/AccessibleGridControl.hxx" #include <tools/gen.hxx> #include <toolkit/helper/vclunohelper.hxx> #include <com/sun/star/accessibility/AccessibleEventId.hpp> @@ -40,7 +39,6 @@ namespace accessibility using namespace ::com::sun::star::lang; using namespace utl; using namespace comphelper; - using ::accessibility::AccessibleGridControl; using namespace ::com::sun::star::uno; using ::com::sun::star::accessibility::XAccessible; using namespace ::com::sun::star::accessibility; diff --git a/basctl/source/basicide/docsignature.cxx b/basctl/source/basicide/docsignature.cxx index 0168653eeda1..05280c04ddb7 100644 --- a/basctl/source/basicide/docsignature.cxx +++ b/basctl/source/basicide/docsignature.cxx @@ -29,8 +29,6 @@ namespace basctl { using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::Exception; - using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::frame::XModel; // DocumentSignature::Impl diff --git a/basctl/source/basicide/documentenumeration.cxx b/basctl/source/basicide/documentenumeration.cxx index ca74448c866c..8e91502592be 100644 --- a/basctl/source/basicide/documentenumeration.cxx +++ b/basctl/source/basicide/documentenumeration.cxx @@ -26,7 +26,6 @@ #include <com/sun/star/frame/Desktop.hpp> #include <com/sun/star/frame/XModel2.hpp> #include <com/sun/star/frame/FrameSearchFlag.hpp> -#include <com/sun/star/lang/XServiceInfo.hpp> #include <tools/diagnose_ex.h> @@ -40,15 +39,12 @@ namespace basctl { namespace docs { using ::com::sun::star::uno::UNO_SET_THROW; using ::com::sun::star::frame::Desktop; using ::com::sun::star::frame::XDesktop2; - using ::com::sun::star::container::XEnumerationAccess; using ::com::sun::star::container::XEnumeration; using ::com::sun::star::frame::XModel; - using ::com::sun::star::frame::XFramesSupplier; using ::com::sun::star::frame::XFrames; using ::com::sun::star::frame::XController; using ::com::sun::star::frame::XModel2; using ::com::sun::star::uno::UNO_QUERY; - using ::com::sun::star::lang::XServiceInfo; using ::com::sun::star::uno::Sequence; using ::com::sun::star::frame::XFrame; diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx index 894c23a7ef67..c3619246ef45 100644 --- a/basctl/source/basicide/macrodlg.cxx +++ b/basctl/source/basicide/macrodlg.cxx @@ -42,7 +42,6 @@ namespace basctl { using ::std::map; -using ::std::pair; using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx index 3581c1b92e1a..9bf477c46bed 100644 --- a/basctl/source/basicide/scriptdocument.cxx +++ b/basctl/source/basicide/scriptdocument.cxx @@ -30,8 +30,6 @@ #include <com/sun/star/document/MacroExecMode.hpp> #include <com/sun/star/frame/XStorable.hpp> #include <com/sun/star/frame/FrameSearchFlag.hpp> -#include <com/sun/star/frame/XDesktop.hpp> -#include <com/sun/star/frame/XModel2.hpp> #include <com/sun/star/awt/XWindow2.hpp> #include <com/sun/star/document/XEmbeddedScripts.hpp> #include <com/sun/star/script/vba/XVBACompatibility.hpp> @@ -70,7 +68,6 @@ namespace basctl using ::com::sun::star::script::XLibraryContainer; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::UNO_SET_THROW; - using ::com::sun::star::beans::XPropertySetInfo; using ::com::sun::star::uno::Exception; using ::com::sun::star::container::XNameContainer; using ::com::sun::star::container::NoSuchElementException; @@ -78,7 +75,6 @@ namespace basctl using ::com::sun::star::task::XStatusIndicator; using ::com::sun::star::uno::makeAny; using ::com::sun::star::script::XLibraryContainer2; - using ::com::sun::star::lang::XMultiServiceFactory; using ::com::sun::star::uri::UriReferenceFactory; using ::com::sun::star::uri::XUriReferenceFactory; using ::com::sun::star::uri::XUriReference; @@ -96,14 +92,7 @@ namespace basctl using ::com::sun::star::frame::XDispatchProvider; using ::com::sun::star::frame::XDispatch; using ::com::sun::star::beans::PropertyValue; - using ::com::sun::star::frame::XDesktop; - using ::com::sun::star::container::XEnumerationAccess; - using ::com::sun::star::container::XEnumeration; - using ::com::sun::star::frame::XModel2; using ::com::sun::star::awt::XWindow2; - using ::com::sun::star::document::XEventListener; - using ::com::sun::star::lang::EventObject; - using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::document::XEmbeddedScripts; using ::com::sun::star::script::ModuleInfo; using ::com::sun::star::script::vba::XVBACompatibility; diff --git a/basic/source/basmgr/basicmanagerrepository.cxx b/basic/source/basmgr/basicmanagerrepository.cxx index ba2f691be82a..21e248a46ea7 100644 --- a/basic/source/basmgr/basicmanagerrepository.cxx +++ b/basic/source/basmgr/basicmanagerrepository.cxx @@ -24,7 +24,6 @@ #include <basic/sbuno.hxx> #include "sbintern.hxx" -#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/document/XStorageBasedDocument.hpp> #include <com/sun/star/document/XEmbeddedScripts.hpp> #include <com/sun/star/frame/Desktop.hpp> @@ -60,9 +59,7 @@ namespace basic using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::embed::XStorage; using ::com::sun::star::script::XPersistentLibraryContainer; - using ::com::sun::star::lang::XMultiServiceFactory; using ::com::sun::star::uno::UNO_QUERY_THROW; - using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::uno::Exception; using ::com::sun::star::document::XStorageBasedDocument; using ::com::sun::star::lang::XComponent; diff --git a/chart2/source/controller/accessibility/AccessibleChartElement.cxx b/chart2/source/controller/accessibility/AccessibleChartElement.cxx index 70d717894938..6e24296e2f37 100644 --- a/chart2/source/controller/accessibility/AccessibleChartElement.cxx +++ b/chart2/source/controller/accessibility/AccessibleChartElement.cxx @@ -39,9 +39,6 @@ using namespace ::com::sun::star::accessibility; using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; -using ::osl::MutexGuard; -using ::osl::ClearableMutexGuard; -using ::osl::ResettableMutexGuard; using ::com::sun::star::uno::RuntimeException; namespace chart diff --git a/chart2/source/controller/chartapiwrapper/AxisWrapper.cxx b/chart2/source/controller/chartapiwrapper/AxisWrapper.cxx index f574bba59465..94491caa5d50 100644 --- a/chart2/source/controller/chartapiwrapper/AxisWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/AxisWrapper.cxx @@ -57,7 +57,6 @@ using namespace ::com::sun::star::chart2; using namespace ::chart::ContainerHelper; using ::com::sun::star::beans::Property; -using ::osl::MutexGuard; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Any; diff --git a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx index 00a83c64c53b..4a5e3d64dd2e 100644 --- a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx @@ -53,7 +53,6 @@ using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; -using ::osl::MutexGuard; using ::com::sun::star::chart2::XAnyDescriptionAccess; using ::com::sun::star::chart::XComplexDescriptionAccess; using ::com::sun::star::chart::XChartData; diff --git a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx index deb0abe3db87..7379ad17059d 100644 --- a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx @@ -76,7 +76,6 @@ using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::beans::Property; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx index d5745663a2ec..d8805ea63a00 100644 --- a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx @@ -65,7 +65,6 @@ using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::beans::Property; using ::com::sun::star::uno::Any; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/controller/chartapiwrapper/GridWrapper.cxx b/chart2/source/controller/chartapiwrapper/GridWrapper.cxx index a430ef02d631..45ad726d1c3f 100644 --- a/chart2/source/controller/chartapiwrapper/GridWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/GridWrapper.cxx @@ -39,7 +39,6 @@ using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; using ::com::sun::star::beans::Property; -using ::osl::MutexGuard; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; diff --git a/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.cxx b/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.cxx index 1b7db85eec37..2a0780a78cd6 100644 --- a/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.cxx @@ -36,7 +36,6 @@ using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; using ::com::sun::star::beans::Property; -using ::osl::MutexGuard; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Any; diff --git a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx index 547697bb5204..7d345deeb461 100644 --- a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx @@ -36,7 +36,6 @@ using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; using ::com::sun::star::beans::Property; -using ::osl::MutexGuard; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Any; diff --git a/chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx index a73533c87986..729b91ab778b 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx @@ -38,7 +38,6 @@ using namespace ::com::sun::star; using ::com::sun::star::uno::Any; using ::com::sun::star::uno::Reference; -using ::com::sun::star::uno::Sequence; using ::com::sun::star::beans::Property; namespace chart diff --git a/chart2/source/controller/dialogs/DataBrowser.cxx b/chart2/source/controller/dialogs/DataBrowser.cxx index 4a7b468adea8..2767d016e738 100644 --- a/chart2/source/controller/dialogs/DataBrowser.cxx +++ b/chart2/source/controller/dialogs/DataBrowser.cxx @@ -73,7 +73,6 @@ // e.g. the first cell, or when being in read-only mode using namespace ::com::sun::star; -using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Reference; using namespace ::svt; diff --git a/chart2/source/controller/main/ChartModelClone.cxx b/chart2/source/controller/main/ChartModelClone.cxx index d6b6efebfd83..c4f4755f4d66 100644 --- a/chart2/source/controller/main/ChartModelClone.cxx +++ b/chart2/source/controller/main/ChartModelClone.cxx @@ -39,11 +39,9 @@ namespace chart { using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::Exception; - using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Sequence; using ::com::sun::star::frame::XModel; using ::com::sun::star::util::XCloneable; diff --git a/chart2/source/controller/main/UndoActions.cxx b/chart2/source/controller/main/UndoActions.cxx index 45394360e4e6..dd02fb4232b8 100644 --- a/chart2/source/controller/main/UndoActions.cxx +++ b/chart2/source/controller/main/UndoActions.cxx @@ -23,9 +23,6 @@ #include "PropertyHelper.hxx" #include "ChartModelClone.hxx" -#include <com/sun/star/chart2/XChartDocument.hpp> -#include <com/sun/star/util/XCloneable.hpp> -#include <com/sun/star/view/XSelectionSupplier.hpp> #include <com/sun/star/lang/DisposedException.hpp> #include <tools/diagnose_ex.h> @@ -41,15 +38,9 @@ namespace chart namespace impl { using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; - using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::frame::XModel; - using ::com::sun::star::util::XCloneable; - using ::com::sun::star::lang::XComponent; using ::com::sun::star::lang::DisposedException; - using ::com::sun::star::view::XSelectionSupplier; - using ::com::sun::star::chart2::XChartDocument; using ::com::sun::star::document::UndoFailedException; UndoElement::UndoElement( const OUString& i_actionString, const Reference< XModel >& i_documentModel, const std::shared_ptr< ChartModelClone >& i_modelClone ) diff --git a/chart2/source/controller/sidebar/ChartAxisPanel.cxx b/chart2/source/controller/sidebar/ChartAxisPanel.cxx index 0adf17331233..22cda88ece04 100644 --- a/chart2/source/controller/sidebar/ChartAxisPanel.cxx +++ b/chart2/source/controller/sidebar/ChartAxisPanel.cxx @@ -18,7 +18,6 @@ */ #include <sfx2/sidebar/ResourceDefinitions.hrc> -#include <sfx2/sidebar/Theme.hxx> #include <sfx2/sidebar/ControlFactory.hxx> #include <com/sun/star/chart/ChartAxisLabelPosition.hpp> @@ -38,7 +37,6 @@ using namespace css; using namespace css::uno; -using ::sfx2::sidebar::Theme; namespace chart { namespace sidebar { diff --git a/chart2/source/controller/sidebar/ChartElementsPanel.cxx b/chart2/source/controller/sidebar/ChartElementsPanel.cxx index 3287fc0b094f..b86cb14d250f 100644 --- a/chart2/source/controller/sidebar/ChartElementsPanel.cxx +++ b/chart2/source/controller/sidebar/ChartElementsPanel.cxx @@ -18,7 +18,6 @@ */ #include <sfx2/sidebar/ResourceDefinitions.hrc> -#include <sfx2/sidebar/Theme.hxx> #include <sfx2/sidebar/ControlFactory.hxx> #include <com/sun/star/chart2/LegendPosition.hpp> #include <com/sun/star/chart/ChartLegendExpansion.hpp> @@ -49,7 +48,6 @@ using namespace css; using namespace css::uno; -using ::sfx2::sidebar::Theme; namespace chart { namespace sidebar { diff --git a/chart2/source/controller/sidebar/ChartErrorBarPanel.cxx b/chart2/source/controller/sidebar/ChartErrorBarPanel.cxx index e0f69a0b06ea..f845dfafaa40 100644 --- a/chart2/source/controller/sidebar/ChartErrorBarPanel.cxx +++ b/chart2/source/controller/sidebar/ChartErrorBarPanel.cxx @@ -18,7 +18,6 @@ */ #include <sfx2/sidebar/ResourceDefinitions.hrc> -#include <sfx2/sidebar/Theme.hxx> #include <sfx2/sidebar/ControlFactory.hxx> #include <com/sun/star/chart/ChartAxisLabelPosition.hpp> @@ -39,7 +38,6 @@ using namespace css; using namespace css::uno; -using ::sfx2::sidebar::Theme; namespace chart { namespace sidebar { diff --git a/chart2/source/controller/sidebar/ChartSeriesPanel.cxx b/chart2/source/controller/sidebar/ChartSeriesPanel.cxx index 512a2d3bd198..c255fb1cadb1 100644 --- a/chart2/source/controller/sidebar/ChartSeriesPanel.cxx +++ b/chart2/source/controller/sidebar/ChartSeriesPanel.cxx @@ -18,7 +18,6 @@ */ #include <sfx2/sidebar/ResourceDefinitions.hrc> -#include <sfx2/sidebar/Theme.hxx> #include <sfx2/sidebar/ControlFactory.hxx> #include <com/sun/star/chart2/DataPointLabel.hpp> @@ -50,7 +49,6 @@ using namespace css; using namespace css::uno; -using ::sfx2::sidebar::Theme; namespace chart { namespace sidebar { diff --git a/chart2/source/model/main/DataPoint.cxx b/chart2/source/model/main/DataPoint.cxx index d9888231e6c4..274bb4e92245 100644 --- a/chart2/source/model/main/DataPoint.cxx +++ b/chart2/source/model/main/DataPoint.cxx @@ -37,7 +37,6 @@ using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::beans::Property; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/model/main/GridProperties.cxx b/chart2/source/model/main/GridProperties.cxx index 7eb1350fd9e6..70aa84ea18a8 100644 --- a/chart2/source/model/main/GridProperties.cxx +++ b/chart2/source/model/main/GridProperties.cxx @@ -34,7 +34,6 @@ using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::beans::Property; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/model/main/PageBackground.cxx b/chart2/source/model/main/PageBackground.cxx index 9be30b3920a6..f5fe6338faf2 100644 --- a/chart2/source/model/main/PageBackground.cxx +++ b/chart2/source/model/main/PageBackground.cxx @@ -36,7 +36,6 @@ using namespace ::com::sun::star; using ::com::sun::star::beans::Property; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/model/main/StockBar.cxx b/chart2/source/model/main/StockBar.cxx index 58a84dd230ff..9eafe9774454 100644 --- a/chart2/source/model/main/StockBar.cxx +++ b/chart2/source/model/main/StockBar.cxx @@ -36,7 +36,6 @@ using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; using ::com::sun::star::beans::Property; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/model/main/UndoManager.cxx b/chart2/source/model/main/UndoManager.cxx index 91a41847dfbc..08095b2c77fc 100644 --- a/chart2/source/model/main/UndoManager.cxx +++ b/chart2/source/model/main/UndoManager.cxx @@ -32,7 +32,6 @@ namespace chart using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::UNO_QUERY; - using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Sequence; using ::com::sun::star::lang::DisposedException; diff --git a/chart2/source/model/main/Wall.cxx b/chart2/source/model/main/Wall.cxx index af0fc1617e62..3fa5b18a3ccf 100644 --- a/chart2/source/model/main/Wall.cxx +++ b/chart2/source/model/main/Wall.cxx @@ -41,7 +41,6 @@ using namespace ::com::sun::star; using namespace ::com::sun::star::beans::PropertyAttribute; using ::com::sun::star::beans::Property; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/model/template/AreaChartTypeTemplate.cxx b/chart2/source/model/template/AreaChartTypeTemplate.cxx index ecaedfaf6f5f..42b2f9fc7bc8 100644 --- a/chart2/source/model/template/AreaChartTypeTemplate.cxx +++ b/chart2/source/model/template/AreaChartTypeTemplate.cxx @@ -34,7 +34,6 @@ using namespace ::com::sun::star; using ::com::sun::star::beans::Property; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Reference; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/model/template/BarChartTypeTemplate.cxx b/chart2/source/model/template/BarChartTypeTemplate.cxx index b1ad51e53c11..a4db7180b248 100644 --- a/chart2/source/model/template/BarChartTypeTemplate.cxx +++ b/chart2/source/model/template/BarChartTypeTemplate.cxx @@ -35,7 +35,6 @@ using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::beans::Property; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/model/template/BubbleChartType.cxx b/chart2/source/model/template/BubbleChartType.cxx index 188c134115eb..df1731c77a6f 100644 --- a/chart2/source/model/template/BubbleChartType.cxx +++ b/chart2/source/model/template/BubbleChartType.cxx @@ -35,7 +35,6 @@ using namespace ::com::sun::star; using ::com::sun::star::beans::Property; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Reference; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/model/template/BubbleChartTypeTemplate.cxx b/chart2/source/model/template/BubbleChartTypeTemplate.cxx index b4ef47490020..fc8fe86aa1ca 100644 --- a/chart2/source/model/template/BubbleChartTypeTemplate.cxx +++ b/chart2/source/model/template/BubbleChartTypeTemplate.cxx @@ -37,7 +37,6 @@ using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::beans::Property; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/model/template/CandleStickChartType.cxx b/chart2/source/model/template/CandleStickChartType.cxx index 0555b81192d7..e9d2b32ed8e1 100644 --- a/chart2/source/model/template/CandleStickChartType.cxx +++ b/chart2/source/model/template/CandleStickChartType.cxx @@ -31,7 +31,6 @@ using namespace ::com::sun::star; using ::com::sun::star::beans::Property; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Reference; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/model/template/ChartType.cxx b/chart2/source/model/template/ChartType.cxx index 4eb9558cabdf..7b020dc6c133 100644 --- a/chart2/source/model/template/ChartType.cxx +++ b/chart2/source/model/template/ChartType.cxx @@ -35,7 +35,6 @@ using namespace ::com::sun::star; using ::com::sun::star::beans::Property; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Reference; -using ::osl::MutexGuard; namespace chart { diff --git a/chart2/source/model/template/ChartTypeManager.cxx b/chart2/source/model/template/ChartTypeManager.cxx index ae5fd6414e23..ad5390748196 100644 --- a/chart2/source/model/template/ChartTypeManager.cxx +++ b/chart2/source/model/template/ChartTypeManager.cxx @@ -53,7 +53,6 @@ using namespace ::com::sun::star; using ::com::sun::star::uno::Sequence; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx b/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx index ce140457c047..4d81f4eb4162 100644 --- a/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx +++ b/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx @@ -39,7 +39,6 @@ using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::beans::Property; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/model/template/FilledNetChartType.cxx b/chart2/source/model/template/FilledNetChartType.cxx index 25100e43e355..5a043054cdad 100644 --- a/chart2/source/model/template/FilledNetChartType.cxx +++ b/chart2/source/model/template/FilledNetChartType.cxx @@ -25,16 +25,13 @@ #include "servicenames_charttypes.hxx" #include "ContainerHelper.hxx" #include "AxisIndexDefines.hxx" -#include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/chart2/AxisType.hpp> #include <cppuhelper/supportsservice.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; -using ::com::sun::star::beans::Property; using ::com::sun::star::uno::Sequence; -using ::osl::MutexGuard; namespace chart { diff --git a/chart2/source/model/template/LineChartType.cxx b/chart2/source/model/template/LineChartType.cxx index 30ea4a436b5f..1b77e284b8ae 100644 --- a/chart2/source/model/template/LineChartType.cxx +++ b/chart2/source/model/template/LineChartType.cxx @@ -32,7 +32,6 @@ using namespace ::com::sun::star; using ::com::sun::star::beans::Property; using ::com::sun::star::uno::Sequence; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/model/template/LineChartTypeTemplate.cxx b/chart2/source/model/template/LineChartTypeTemplate.cxx index 457e8c61e741..9796f4e2a17b 100644 --- a/chart2/source/model/template/LineChartTypeTemplate.cxx +++ b/chart2/source/model/template/LineChartTypeTemplate.cxx @@ -38,7 +38,6 @@ using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::beans::Property; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/model/template/NetChartType.cxx b/chart2/source/model/template/NetChartType.cxx index df8f238decf6..c1ca343530d5 100644 --- a/chart2/source/model/template/NetChartType.cxx +++ b/chart2/source/model/template/NetChartType.cxx @@ -36,7 +36,6 @@ using namespace ::com::sun::star::chart2; using ::com::sun::star::beans::Property; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Reference; -using ::osl::MutexGuard; namespace chart { diff --git a/chart2/source/model/template/NetChartTypeTemplate.cxx b/chart2/source/model/template/NetChartTypeTemplate.cxx index 68dc521985d6..b4a59540a19e 100644 --- a/chart2/source/model/template/NetChartTypeTemplate.cxx +++ b/chart2/source/model/template/NetChartTypeTemplate.cxx @@ -31,7 +31,6 @@ using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; -using ::osl::MutexGuard; namespace chart { diff --git a/chart2/source/model/template/PieChartType.cxx b/chart2/source/model/template/PieChartType.cxx index 98d0f5099db1..e20a34121a40 100644 --- a/chart2/source/model/template/PieChartType.cxx +++ b/chart2/source/model/template/PieChartType.cxx @@ -34,7 +34,6 @@ using namespace ::com::sun::star; using ::com::sun::star::beans::Property; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Reference; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/model/template/PieChartTypeTemplate.cxx b/chart2/source/model/template/PieChartTypeTemplate.cxx index 3871db189676..78e113ead8e0 100644 --- a/chart2/source/model/template/PieChartTypeTemplate.cxx +++ b/chart2/source/model/template/PieChartTypeTemplate.cxx @@ -43,7 +43,6 @@ using namespace ::com::sun::star; using ::com::sun::star::beans::Property; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Reference; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/model/template/ScatterChartType.cxx b/chart2/source/model/template/ScatterChartType.cxx index b009a8c000cc..c7db754a17bb 100644 --- a/chart2/source/model/template/ScatterChartType.cxx +++ b/chart2/source/model/template/ScatterChartType.cxx @@ -37,7 +37,6 @@ using namespace ::com::sun::star; using ::com::sun::star::beans::Property; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Reference; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/model/template/ScatterChartTypeTemplate.cxx b/chart2/source/model/template/ScatterChartTypeTemplate.cxx index 7f6dee8cbe37..aefdf202a3ec 100644 --- a/chart2/source/model/template/ScatterChartTypeTemplate.cxx +++ b/chart2/source/model/template/ScatterChartTypeTemplate.cxx @@ -40,7 +40,6 @@ using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::beans::Property; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/model/template/StockChartTypeTemplate.cxx b/chart2/source/model/template/StockChartTypeTemplate.cxx index 85d8d5e32de8..d58bcb401552 100644 --- a/chart2/source/model/template/StockChartTypeTemplate.cxx +++ b/chart2/source/model/template/StockChartTypeTemplate.cxx @@ -45,7 +45,6 @@ using namespace ::com::sun::star::chart2; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::beans::Property; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/tools/DataSource.cxx b/chart2/source/tools/DataSource.cxx index 82c6ffad6e49..724775d01116 100644 --- a/chart2/source/tools/DataSource.cxx +++ b/chart2/source/tools/DataSource.cxx @@ -21,7 +21,6 @@ #include "LabeledDataSequence.hxx" #include <cppuhelper/supportsservice.hxx> -using ::osl::MutexGuard; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::RuntimeException; diff --git a/chart2/source/tools/OPropertySet.cxx b/chart2/source/tools/OPropertySet.cxx index 4c00807cb175..29d751c3469e 100644 --- a/chart2/source/tools/OPropertySet.cxx +++ b/chart2/source/tools/OPropertySet.cxx @@ -40,7 +40,6 @@ using ::osl::MutexGuard; // needed for MS compiler using ::cppu::OBroadcastHelper; using ::cppu::OPropertySetHelper; -using ::cppu::OWeakObject; namespace property { diff --git a/chart2/source/tools/RegressionCurveModel.cxx b/chart2/source/tools/RegressionCurveModel.cxx index e74f1850dc22..185354cf613c 100644 --- a/chart2/source/tools/RegressionCurveModel.cxx +++ b/chart2/source/tools/RegressionCurveModel.cxx @@ -34,7 +34,6 @@ using namespace ::com::sun::star; using ::com::sun::star::beans::Property; -using ::osl::MutexGuard; namespace { diff --git a/chart2/source/view/axes/Tickmarks_Dates.cxx b/chart2/source/view/axes/Tickmarks_Dates.cxx index 5b9b9dab1f11..51ba441f5e97 100644 --- a/chart2/source/view/axes/Tickmarks_Dates.cxx +++ b/chart2/source/view/axes/Tickmarks_Dates.cxx @@ -27,7 +27,6 @@ namespace chart using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; using namespace ::rtl::math; -using ::basegfx::B2DVector; using ::com::sun::star::chart::TimeUnit::DAY; using ::com::sun::star::chart::TimeUnit::MONTH; using ::com::sun::star::chart::TimeUnit::YEAR; diff --git a/chart2/source/view/axes/Tickmarks_Equidistant.cxx b/chart2/source/view/axes/Tickmarks_Equidistant.cxx index 792635bb4971..b1ddc875127d 100644 --- a/chart2/source/view/axes/Tickmarks_Equidistant.cxx +++ b/chart2/source/view/axes/Tickmarks_Equidistant.cxx @@ -28,7 +28,6 @@ namespace chart using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; using namespace ::rtl::math; -using ::basegfx::B2DVector; //static double EquidistantTickFactory::getMinimumAtIncrement( double fMin, const ExplicitIncrementData& rIncrement ) diff --git a/chart2/source/view/main/OpenglShapeFactory.cxx b/chart2/source/view/main/OpenglShapeFactory.cxx index 964adb92adbf..6c1e589a81de 100644 --- a/chart2/source/view/main/OpenglShapeFactory.cxx +++ b/chart2/source/view/main/OpenglShapeFactory.cxx @@ -65,8 +65,6 @@ extern "C" { { return new opengl::OpenglShapeFactory();} } -using dummy::DummyXShape; -using dummy::DummyXShapes; using dummy::DummyCylinder; using dummy::DummyRectangle; using dummy::DummyPyramid; diff --git a/chart2/source/view/main/VLegendSymbolFactory.cxx b/chart2/source/view/main/VLegendSymbolFactory.cxx index aff64eb1531a..b7abf086cd5f 100644 --- a/chart2/source/view/main/VLegendSymbolFactory.cxx +++ b/chart2/source/view/main/VLegendSymbolFactory.cxx @@ -27,7 +27,6 @@ using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; -using ::com::sun::star::uno::Sequence; namespace { diff --git a/codemaker/source/cppumaker/cppuoptions.cxx b/codemaker/source/cppumaker/cppuoptions.cxx index 0744deae5bbd..01e5f8c033e4 100644 --- a/codemaker/source/cppumaker/cppuoptions.cxx +++ b/codemaker/source/cppumaker/cppuoptions.cxx @@ -24,8 +24,6 @@ #include "osl/thread.h" #include "osl/process.h" -using ::rtl::OUString; -using ::rtl::OUStringToOString; using ::rtl::OString; #ifdef SAL_UNX diff --git a/comphelper/source/misc/accimplaccess.cxx b/comphelper/source/misc/accimplaccess.cxx index a9b265e5b2ee..76ed77c0ee9d 100644 --- a/comphelper/source/misc/accimplaccess.cxx +++ b/comphelper/source/misc/accimplaccess.cxx @@ -19,7 +19,6 @@ #include <comphelper/accimplaccess.hxx> #include <com/sun/star/accessibility/XAccessible.hpp> -#include <com/sun/star/accessibility/XAccessibleContext.hpp> #include <cppuhelper/typeprovider.hxx> #include <osl/diagnose.h> @@ -33,11 +32,8 @@ namespace comphelper using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; - using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::RuntimeException; - using ::com::sun::star::lang::XUnoTunnel; using ::com::sun::star::accessibility::XAccessible; - using ::com::sun::star::accessibility::XAccessibleContext; struct OAccImpl_Impl { diff --git a/comphelper/source/misc/anycompare.cxx b/comphelper/source/misc/anycompare.cxx index 07c755797bf1..18ae7bd95caa 100644 --- a/comphelper/source/misc/anycompare.cxx +++ b/comphelper/source/misc/anycompare.cxx @@ -26,9 +26,6 @@ namespace comphelper { using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; - using ::com::sun::star::uno::Exception; - using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Type; using ::com::sun::star::uno::TypeClass_CHAR; using ::com::sun::star::uno::TypeClass_BOOLEAN; diff --git a/comphelper/source/misc/componentmodule.cxx b/comphelper/source/misc/componentmodule.cxx index 7e91b3cd45de..fede3e282f7e 100644 --- a/comphelper/source/misc/componentmodule.cxx +++ b/comphelper/source/misc/componentmodule.cxx @@ -33,9 +33,6 @@ namespace comphelper using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Reference; - using ::com::sun::star::lang::XMultiServiceFactory; - using ::com::sun::star::registry::XRegistryKey; - using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::XInterface; typedef ::std::vector< ComponentDescription > ComponentDescriptions; diff --git a/comphelper/source/misc/docpasswordrequest.cxx b/comphelper/source/misc/docpasswordrequest.cxx index ade16fe71574..29cf4a90d704 100644 --- a/comphelper/source/misc/docpasswordrequest.cxx +++ b/comphelper/source/misc/docpasswordrequest.cxx @@ -39,7 +39,6 @@ using ::com::sun::star::task::PasswordRequestMode; using ::com::sun::star::task::XInteractionAbort; using ::com::sun::star::task::XInteractionContinuation; using ::com::sun::star::task::XInteractionPassword2; -using ::com::sun::star::task::XInteractionRequest; namespace comphelper { diff --git a/comphelper/source/misc/documentinfo.cxx b/comphelper/source/misc/documentinfo.cxx index a30b041a0c8f..b4cf505c96eb 100644 --- a/comphelper/source/misc/documentinfo.cxx +++ b/comphelper/source/misc/documentinfo.cxx @@ -21,7 +21,6 @@ #include <comphelper/documentinfo.hxx> #include <comphelper/namedvaluecollection.hxx> -#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp> #include <com/sun/star/document/XDocumentProperties.hpp> #include <com/sun/star/frame/XStorable.hpp> @@ -39,15 +38,12 @@ namespace comphelper { using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::Exception; - using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::frame::XModel; using ::com::sun::star::frame::XTitle; using ::com::sun::star::frame::XController; - using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::document::XDocumentPropertiesSupplier; using ::com::sun::star::document::XDocumentProperties; using ::com::sun::star::frame::XStorable; - using ::com::sun::star::beans::XPropertySetInfo; using ::com::sun::star::uno::XInterface; using ::com::sun::star::frame::XFrame; diff --git a/comphelper/source/misc/logging.cxx b/comphelper/source/misc/logging.cxx index dcab775e1206..0899e6193eaa 100644 --- a/comphelper/source/misc/logging.cxx +++ b/comphelper/source/misc/logging.cxx @@ -41,7 +41,6 @@ namespace comphelper using ::com::sun::star::logging::XLogger; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::Exception; - using ::com::sun::star::logging::XLogHandler; using ::com::sun::star::resource::XResourceBundle; using ::com::sun::star::resource::XResourceBundleLoader; diff --git a/comphelper/source/property/ChainablePropertySetInfo.cxx b/comphelper/source/property/ChainablePropertySetInfo.cxx index 3cb989cf0d4e..4a2c34789810 100644 --- a/comphelper/source/property/ChainablePropertySetInfo.cxx +++ b/comphelper/source/property/ChainablePropertySetInfo.cxx @@ -24,10 +24,8 @@ using ::comphelper::PropertyInfo; using ::comphelper::ChainablePropertySetInfo; using ::com::sun::star::uno::Type; using ::com::sun::star::uno::Sequence; -using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::beans::Property; -using ::com::sun::star::beans::XPropertySetInfo; using ::com::sun::star::beans::UnknownPropertyException; ChainablePropertySetInfo::ChainablePropertySetInfo( PropertyInfo const * pMap ) diff --git a/comphelper/source/property/MasterPropertySetInfo.cxx b/comphelper/source/property/MasterPropertySetInfo.cxx index 0fd7aca3bbb7..1db09060c317 100644 --- a/comphelper/source/property/MasterPropertySetInfo.cxx +++ b/comphelper/source/property/MasterPropertySetInfo.cxx @@ -24,10 +24,8 @@ using ::comphelper::PropertyInfo; using ::comphelper::MasterPropertySetInfo; using ::com::sun::star::uno::Type; using ::com::sun::star::uno::Sequence; -using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::beans::Property; -using ::com::sun::star::beans::XPropertySetInfo; using ::com::sun::star::beans::UnknownPropertyException; MasterPropertySetInfo::MasterPropertySetInfo( PropertyInfo const * pMap ) diff --git a/connectivity/source/commontools/RowFunctionParser.cxx b/connectivity/source/commontools/RowFunctionParser.cxx index ef2e77af8bdc..94c2e4fc285b 100644 --- a/connectivity/source/commontools/RowFunctionParser.cxx +++ b/connectivity/source/commontools/RowFunctionParser.cxx @@ -302,12 +302,9 @@ public: // grammar definition explicit definition( const ExpressionGrammar& self ) { - using ::boost::spirit::str_p; using ::boost::spirit::space_p; using ::boost::spirit::range_p; using ::boost::spirit::lexeme_d; - using ::boost::spirit::real_parser; - using ::boost::spirit::chseq_p; using ::boost::spirit::ch_p; using ::boost::spirit::int_p; using ::boost::spirit::as_lower_d; diff --git a/connectivity/source/commontools/dbmetadata.cxx b/connectivity/source/commontools/dbmetadata.cxx index 1b0795bae8b8..090d410da36e 100644 --- a/connectivity/source/commontools/dbmetadata.cxx +++ b/connectivity/source/commontools/dbmetadata.cxx @@ -27,13 +27,10 @@ #include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/container/XChild.hpp> #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/beans/PropertyValue.hpp> -#include <com/sun/star/beans/XPropertySetInfo.hpp> #include <com/sun/star/sdb/BooleanComparisonMode.hpp> #include <com/sun/star/sdbc/XDatabaseMetaData2.hpp> #include <com/sun/star/sdbcx/XUsersSupplier.hpp> #include <com/sun/star/sdbcx/XDataDefinitionSupplier.hpp> -#include <com/sun/star/sdbc/XDriverAccess.hpp> #include <com/sun/star/sdbc/DriverManager.hpp> #include <tools/diagnose_ex.h> @@ -59,12 +56,9 @@ namespace dbtools using ::com::sun::star::container::XChild; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::beans::XPropertySet; - using ::com::sun::star::beans::PropertyValue; - using ::com::sun::star::beans::XPropertySetInfo; using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::sdbcx::XUsersSupplier; using ::com::sun::star::sdbcx::XDataDefinitionSupplier; - using ::com::sun::star::sdbc::XDriverAccess; using ::com::sun::star::sdbc::DriverManager; using ::com::sun::star::sdbc::XDriverManager2; using ::com::sun::star::uno::UNO_SET_THROW; diff --git a/connectivity/source/commontools/formattedcolumnvalue.cxx b/connectivity/source/commontools/formattedcolumnvalue.cxx index 3a8bb3ae4f1c..8a75af3c3cde 100644 --- a/connectivity/source/commontools/formattedcolumnvalue.cxx +++ b/connectivity/source/commontools/formattedcolumnvalue.cxx @@ -45,7 +45,6 @@ namespace dbtools using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::UNO_SET_THROW; using ::com::sun::star::uno::Exception; - using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::XComponentContext; using ::com::sun::star::sdbc::XRowSet; using ::com::sun::star::beans::XPropertySet; @@ -59,7 +58,6 @@ namespace dbtools using ::com::sun::star::util::XNumberFormatTypes; using ::com::sun::star::sdb::XColumn; using ::com::sun::star::sdb::XColumnUpdate; - using ::com::sun::star::lang::XComponent; namespace DataType = ::com::sun::star::sdbc::DataType; namespace NumberFormat = ::com::sun::star::util::NumberFormat; diff --git a/connectivity/source/commontools/predicateinput.cxx b/connectivity/source/commontools/predicateinput.cxx index ab06dcbdaeab..29119e7da367 100644 --- a/connectivity/source/commontools/predicateinput.cxx +++ b/connectivity/source/commontools/predicateinput.cxx @@ -41,7 +41,6 @@ namespace dbtools using ::com::sun::star::sdbc::XConnection; using ::com::sun::star::util::XNumberFormatsSupplier; using ::com::sun::star::util::NumberFormatter; - using ::com::sun::star::util::XNumberFormatter; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::XComponentContext; using ::com::sun::star::beans::XPropertySet; @@ -50,7 +49,6 @@ namespace dbtools using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::Reference; using ::com::sun::star::i18n::LocaleData; - using ::com::sun::star::i18n::XLocaleData; using ::com::sun::star::i18n::LocaleDataItem; using ::com::sun::star::uno::Any; diff --git a/connectivity/source/commontools/sqlerror.cxx b/connectivity/source/commontools/sqlerror.cxx index 0d93a5f098e3..6dc468187417 100644 --- a/connectivity/source/commontools/sqlerror.cxx +++ b/connectivity/source/commontools/sqlerror.cxx @@ -35,8 +35,6 @@ namespace connectivity using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::Exception; - using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Any; using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::XComponentContext; diff --git a/connectivity/source/drivers/firebird/Services.cxx b/connectivity/source/drivers/firebird/Services.cxx index 83ebcbe0e56e..87c819cb265f 100644 --- a/connectivity/source/drivers/firebird/Services.cxx +++ b/connectivity/source/drivers/firebird/Services.cxx @@ -27,7 +27,6 @@ using namespace connectivity::firebird; using ::rtl::OUString; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; -using ::com::sun::star::registry::XRegistryKey; using ::com::sun::star::lang::XSingleServiceFactory; using ::com::sun::star::lang::XMultiServiceFactory; diff --git a/connectivity/source/drivers/hsqldb/HConnection.cxx b/connectivity/source/drivers/hsqldb/HConnection.cxx index 294a9f01e7a1..aa696021d9ad 100644 --- a/connectivity/source/drivers/hsqldb/HConnection.cxx +++ b/connectivity/source/drivers/hsqldb/HConnection.cxx @@ -24,10 +24,8 @@ #include <connectivity/dbtools.hxx> -#include <com/sun/star/beans/NamedValue.hpp> #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/sdbcx/XDataDefinitionSupplier.hpp> -#include <com/sun/star/lang/ServiceNotRegisteredException.hpp> #include <com/sun/star/sdbc/XRow.hpp> #include <com/sun/star/graphic/GraphicProvider.hpp> #include <com/sun/star/graphic/XGraphicProvider.hpp> @@ -59,11 +57,8 @@ using ::com::sun::star::sdbcx::XDataDefinitionSupplier; using ::com::sun::star::sdbcx::XTablesSupplier; using ::com::sun::star::container::XNameAccess; using ::com::sun::star::uno::Sequence; -using ::com::sun::star::beans::NamedValue; using ::com::sun::star::lang::WrappedTargetException; -using ::com::sun::star::lang::ServiceNotRegisteredException; using ::com::sun::star::sdbc::XDriver; -using ::com::sun::star::lang::XMultiServiceFactory; using ::com::sun::star::graphic::XGraphic; using ::com::sun::star::graphic::GraphicProvider; using ::com::sun::star::graphic::XGraphicProvider; diff --git a/connectivity/source/drivers/hsqldb/HView.cxx b/connectivity/source/drivers/hsqldb/HView.cxx index 27efd67ebf66..7498422a4b8b 100644 --- a/connectivity/source/drivers/hsqldb/HView.cxx +++ b/connectivity/source/drivers/hsqldb/HView.cxx @@ -44,7 +44,6 @@ namespace connectivity { namespace hsqldb using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Any; - using ::com::sun::star::sdbc::XDatabaseMetaData; using ::com::sun::star::sdbc::SQLException; using ::com::sun::star::sdbc::XConnection; using ::com::sun::star::lang::WrappedTargetException; diff --git a/connectivity/source/drivers/postgresql/pq_baseresultset.cxx b/connectivity/source/drivers/postgresql/pq_baseresultset.cxx index acb92e15c4b5..8884e384e7e4 100644 --- a/connectivity/source/drivers/postgresql/pq_baseresultset.cxx +++ b/connectivity/source/drivers/postgresql/pq_baseresultset.cxx @@ -58,9 +58,6 @@ using osl::MutexGuard; using com::sun::star::beans::XPropertySetInfo; -using com::sun::star::beans::XPropertySet; -using com::sun::star::beans::XMultiPropertySet; -using com::sun::star::beans::XFastPropertySet; using com::sun::star::uno::Any; using com::sun::star::uno::makeAny; @@ -73,16 +70,9 @@ using com::sun::star::uno::XInterface; using com::sun::star::lang::IllegalArgumentException; -using com::sun::star::sdbc::XWarningsSupplier; -using com::sun::star::sdbc::XCloseable; -using com::sun::star::sdbc::XStatement; -using com::sun::star::sdbc::XResultSet; -using com::sun::star::sdbc::XConnection; using com::sun::star::sdbc::SQLException; using com::sun::star::sdbc::XRow; -using com::sun::star::sdbc::XColumnLocate; using com::sun::star::sdbc::XResultSetMetaData; -using com::sun::star::sdbc::XResultSetMetaDataSupplier; using com::sun::star::beans::Property; diff --git a/connectivity/source/drivers/postgresql/pq_connection.cxx b/connectivity/source/drivers/postgresql/pq_connection.cxx index 91014ad8160c..1a4d5e452db3 100644 --- a/connectivity/source/drivers/postgresql/pq_connection.cxx +++ b/connectivity/source/drivers/postgresql/pq_connection.cxx @@ -61,14 +61,12 @@ #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/script/Converter.hpp> -#include <com/sun/star/sdbc/XRow.hpp> using osl::MutexGuard; using com::sun::star::container::XNameAccess; using com::sun::star::lang::XComponent; -using com::sun::star::lang::XInitialization; using com::sun::star::lang::IllegalArgumentException; using com::sun::star::script::Converter; @@ -84,14 +82,9 @@ using com::sun::star::uno::XComponentContext; using com::sun::star::uno::Any; using com::sun::star::beans::PropertyValue; -using com::sun::star::beans::XPropertySet; -using com::sun::star::sdbc::XConnection; -using com::sun::star::sdbc::XResultSet; -using com::sun::star::sdbc::XRow; using com::sun::star::sdbc::XCloseable; using com::sun::star::sdbc::SQLException; -using com::sun::star::sdbc::XWarningsSupplier; using com::sun::star::sdbc::XPreparedStatement; using com::sun::star::sdbc::XStatement; using com::sun::star::sdbc::XDatabaseMetaData; diff --git a/connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.cxx b/connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.cxx index cea2dba78ae1..ff6aa44b3d69 100644 --- a/connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.cxx +++ b/connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.cxx @@ -47,11 +47,8 @@ using com::sun::star::uno::Type; using com::sun::star::uno::RuntimeException; using com::sun::star::sdbc::SQLException; -using com::sun::star::sdbc::XResultSet; using com::sun::star::sdbc::XResultSetUpdate; using com::sun::star::sdbc::XRowUpdate; -using com::sun::star::sdbc::XRow; -using com::sun::star::sdbc::XStatement; namespace pq_sdbc_driver { diff --git a/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx b/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx index 0bd05a53f048..47142eac16a6 100644 --- a/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx +++ b/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx @@ -67,29 +67,21 @@ using com::sun::star::uno::RuntimeException; using com::sun::star::uno::Exception; using com::sun::star::uno::Sequence; using com::sun::star::uno::Reference; -using com::sun::star::uno::XInterface; using com::sun::star::uno::UNO_QUERY; using com::sun::star::lang::IllegalArgumentException; -using com::sun::star::sdbc::XWarningsSupplier; using com::sun::star::sdbc::XCloseable; -using com::sun::star::sdbc::XPreparedStatement; -using com::sun::star::sdbc::XParameters; using com::sun::star::sdbc::XResultSet; using com::sun::star::sdbc::XRef; using com::sun::star::sdbc::XBlob; using com::sun::star::sdbc::XClob; using com::sun::star::sdbc::XArray; using com::sun::star::sdbc::XConnection; -using com::sun::star::sdbc::XGeneratedResultSet; using com::sun::star::sdbc::SQLException; using com::sun::star::beans::Property; using com::sun::star::beans::XPropertySetInfo; -using com::sun::star::beans::XPropertySet; -using com::sun::star::beans::XMultiPropertySet; -using com::sun::star::beans::XFastPropertySet; using namespace dbtools; diff --git a/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx b/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx index ee82f3035e1e..e2510bb68f2b 100644 --- a/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx +++ b/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx @@ -47,7 +47,6 @@ #include <string.h> -using osl::Mutex; using osl::MutexGuard; @@ -55,10 +54,8 @@ using com::sun::star::uno::Any; using com::sun::star::uno::RuntimeException; using com::sun::star::uno::Exception; using com::sun::star::uno::Reference; -using com::sun::star::uno::XInterface; using com::sun::star::uno::UNO_QUERY; -using com::sun::star::lang::IllegalArgumentException; using com::sun::star::sdbc::SQLException; using com::sun::star::sdbc::XStatement; diff --git a/connectivity/source/drivers/postgresql/pq_statement.cxx b/connectivity/source/drivers/postgresql/pq_statement.cxx index 60be95b46039..ebaabb5264df 100644 --- a/connectivity/source/drivers/postgresql/pq_statement.cxx +++ b/connectivity/source/drivers/postgresql/pq_statement.cxx @@ -82,26 +82,21 @@ using com::sun::star::uno::UNO_QUERY; using com::sun::star::lang::IllegalArgumentException; -using com::sun::star::sdbc::XWarningsSupplier; using com::sun::star::sdbc::XCloseable; using com::sun::star::sdbc::XStatement; using com::sun::star::sdbc::XPreparedStatement; using com::sun::star::sdbc::XParameters; using com::sun::star::sdbc::XRow; using com::sun::star::sdbc::XResultSet; -using com::sun::star::sdbc::XGeneratedResultSet; using com::sun::star::sdbc::XConnection; using com::sun::star::sdbc::SQLException; using com::sun::star::sdbcx::XColumnsSupplier; -using com::sun::star::sdbcx::XTablesSupplier; using com::sun::star::sdbcx::XKeysSupplier; using com::sun::star::beans::Property; using com::sun::star::beans::XPropertySetInfo; using com::sun::star::beans::XPropertySet; -using com::sun::star::beans::XFastPropertySet; -using com::sun::star::beans::XMultiPropertySet; using com::sun::star::container::XNameAccess; using com::sun::star::container::XEnumerationAccess; diff --git a/connectivity/source/drivers/postgresql/pq_tools.cxx b/connectivity/source/drivers/postgresql/pq_tools.cxx index 672ef5d1f3d0..c55834dbd214 100644 --- a/connectivity/source/drivers/postgresql/pq_tools.cxx +++ b/connectivity/source/drivers/postgresql/pq_tools.cxx @@ -68,7 +68,6 @@ using com::sun::star::sdbc::XRow; using com::sun::star::sdbcx::XColumnsSupplier; -using com::sun::star::uno::RuntimeException; using com::sun::star::uno::UNO_QUERY; using com::sun::star::uno::UNO_QUERY_THROW; using com::sun::star::uno::Reference; diff --git a/connectivity/source/drivers/postgresql/pq_xbase.cxx b/connectivity/source/drivers/postgresql/pq_xbase.cxx index bfee0783307b..a29b2a3db49e 100644 --- a/connectivity/source/drivers/postgresql/pq_xbase.cxx +++ b/connectivity/source/drivers/postgresql/pq_xbase.cxx @@ -52,8 +52,6 @@ using com::sun::star::uno::RuntimeException; using com::sun::star::beans::Property; using com::sun::star::beans::XPropertySetInfo; -using com::sun::star::beans::XMultiPropertySet; -using com::sun::star::beans::XFastPropertySet; using com::sun::star::beans::XPropertySet; namespace pq_sdbc_driver diff --git a/connectivity/source/drivers/postgresql/pq_xcolumns.cxx b/connectivity/source/drivers/postgresql/pq_xcolumns.cxx index f580641e1255..a26b582e1a3a 100644 --- a/connectivity/source/drivers/postgresql/pq_xcolumns.cxx +++ b/connectivity/source/drivers/postgresql/pq_xcolumns.cxx @@ -38,7 +38,6 @@ #include <rtl/strbuf.hxx> #include <com/sun/star/sdbc/XRow.hpp> -#include <com/sun/star/sdbc/XParameters.hpp> #include <com/sun/star/sdbc/DataType.hpp> #include <com/sun/star/sdbc/ColumnValue.hpp> @@ -59,19 +58,14 @@ using com::sun::star::beans::PropertyChangeEvent; using com::sun::star::uno::Any; using com::sun::star::uno::makeAny; using com::sun::star::uno::UNO_QUERY; -using com::sun::star::uno::XInterface; using com::sun::star::uno::Reference; using com::sun::star::uno::RuntimeException; using com::sun::star::container::NoSuchElementException; -using com::sun::star::lang::WrappedTargetException; using com::sun::star::sdbc::XRow; -using com::sun::star::sdbc::XCloseable; using com::sun::star::sdbc::XStatement; using com::sun::star::sdbc::XResultSet; -using com::sun::star::sdbc::XParameters; -using com::sun::star::sdbc::XPreparedStatement; using com::sun::star::sdbc::XDatabaseMetaData; using com::sun::star::sdbc::SQLException; diff --git a/connectivity/source/drivers/postgresql/pq_xcolumns.hxx b/connectivity/source/drivers/postgresql/pq_xcolumns.hxx index ef32525a2ac4..0af133755ceb 100644 --- a/connectivity/source/drivers/postgresql/pq_xcolumns.hxx +++ b/connectivity/source/drivers/postgresql/pq_xcolumns.hxx @@ -39,6 +39,7 @@ #include "pq_xcontainer.hxx" #include "pq_xbase.hxx" +#include <com/sun/star/sdbc/XRow.hpp> namespace pq_sdbc_driver { diff --git a/connectivity/source/drivers/postgresql/pq_xcontainer.cxx b/connectivity/source/drivers/postgresql/pq_xcontainer.cxx index 1e383df96359..2f92174be32a 100644 --- a/connectivity/source/drivers/postgresql/pq_xcontainer.cxx +++ b/connectivity/source/drivers/postgresql/pq_xcontainer.cxx @@ -36,10 +36,6 @@ #include <rtl/ustrbuf.hxx> -#include <com/sun/star/sdbc/XRow.hpp> -#include <com/sun/star/sdbc/XParameters.hpp> - - #include <cppuhelper/implbase.hxx> #include "pq_xcontainer.hxx" @@ -48,7 +44,6 @@ using osl::MutexGuard; - using com::sun::star::beans::XPropertySet; using com::sun::star::uno::Any; @@ -68,13 +63,6 @@ using com::sun::star::lang::XEventListener; using com::sun::star::lang::WrappedTargetException; -using com::sun::star::sdbc::XRow; -using com::sun::star::sdbc::XCloseable; -using com::sun::star::sdbc::XStatement; -using com::sun::star::sdbc::XResultSet; -using com::sun::star::sdbc::XParameters; -using com::sun::star::sdbc::XPreparedStatement; -using com::sun::star::sdbcx::XDataDescriptorFactory; namespace pq_sdbc_driver { diff --git a/connectivity/source/drivers/postgresql/pq_xindex.cxx b/connectivity/source/drivers/postgresql/pq_xindex.cxx index b0ab5a60288d..55b53e9bfb9f 100644 --- a/connectivity/source/drivers/postgresql/pq_xindex.cxx +++ b/connectivity/source/drivers/postgresql/pq_xindex.cxx @@ -41,9 +41,6 @@ #include <com/sun/star/beans/PropertyAttribute.hpp> -#include <com/sun/star/sdbc/XRow.hpp> -#include <com/sun/star/sdbc/XParameters.hpp> - #include "pq_xindex.hxx" #include "pq_xindexcolumns.hxx" #include "pq_tools.hxx" @@ -52,35 +49,16 @@ using osl::MutexGuard; using osl::Mutex; - using com::sun::star::container::XNameAccess; -using com::sun::star::container::XIndexAccess; -using com::sun::star::container::ElementExistException; -using com::sun::star::container::NoSuchElementException; using com::sun::star::uno::Reference; -using com::sun::star::uno::Exception; -using com::sun::star::uno::XInterface; using com::sun::star::uno::Sequence; using com::sun::star::uno::Any; using com::sun::star::uno::Type; using com::sun::star::uno::RuntimeException; -using com::sun::star::lang::IllegalArgumentException; -using com::sun::star::lang::IndexOutOfBoundsException; - -using com::sun::star::beans::XPropertySetInfo; -using com::sun::star::beans::XFastPropertySet; -using com::sun::star::beans::XMultiPropertySet; using com::sun::star::beans::XPropertySet; -using com::sun::star::beans::Property; - -using com::sun::star::sdbc::XResultSet; -using com::sun::star::sdbc::XPreparedStatement; -using com::sun::star::sdbc::XStatement; -using com::sun::star::sdbc::XParameters; -using com::sun::star::sdbc::XRow; -using com::sun::star::sdbc::SQLException; + namespace pq_sdbc_driver { diff --git a/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx b/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx index 298c1440093e..303a8604cbf7 100644 --- a/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx +++ b/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx @@ -40,7 +40,6 @@ #include <rtl/strbuf.hxx> #include <com/sun/star/sdbc/XRow.hpp> -#include <com/sun/star/sdbc/XParameters.hpp> #include <com/sun/star/sdbc/DataType.hpp> #include <com/sun/star/sdbc/ColumnValue.hpp> @@ -52,26 +51,20 @@ using osl::MutexGuard; - using com::sun::star::beans::XPropertySet; using com::sun::star::uno::Any; using com::sun::star::uno::makeAny; using com::sun::star::uno::UNO_QUERY; -using com::sun::star::uno::XInterface; using com::sun::star::uno::Reference; using com::sun::star::uno::Sequence; using com::sun::star::uno::RuntimeException; using com::sun::star::container::NoSuchElementException; -using com::sun::star::lang::WrappedTargetException; using com::sun::star::sdbc::XRow; -using com::sun::star::sdbc::XCloseable; using com::sun::star::sdbc::XStatement; using com::sun::star::sdbc::XResultSet; -using com::sun::star::sdbc::XParameters; -using com::sun::star::sdbc::XPreparedStatement; using com::sun::star::sdbc::XDatabaseMetaData; using com::sun::star::sdbc::SQLException; diff --git a/connectivity/source/drivers/postgresql/pq_xindexes.cxx b/connectivity/source/drivers/postgresql/pq_xindexes.cxx index 2790f2088e74..39824eff7a7b 100644 --- a/connectivity/source/drivers/postgresql/pq_xindexes.cxx +++ b/connectivity/source/drivers/postgresql/pq_xindexes.cxx @@ -55,22 +55,17 @@ using com::sun::star::beans::XPropertySet; using com::sun::star::uno::Any; using com::sun::star::uno::makeAny; using com::sun::star::uno::UNO_QUERY; -using com::sun::star::uno::XInterface; using com::sun::star::uno::Reference; using com::sun::star::uno::Sequence; using com::sun::star::uno::RuntimeException; -using com::sun::star::container::NoSuchElementException; using com::sun::star::container::XEnumerationAccess; using com::sun::star::container::XEnumeration; -using com::sun::star::lang::WrappedTargetException; using com::sun::star::sdbcx::XColumnsSupplier; using com::sun::star::sdbc::XRow; -using com::sun::star::sdbc::XCloseable; -using com::sun::star::sdbc::XStatement; using com::sun::star::sdbc::XResultSet; using com::sun::star::sdbc::XParameters; using com::sun::star::sdbc::XPreparedStatement; diff --git a/connectivity/source/drivers/postgresql/pq_xkey.cxx b/connectivity/source/drivers/postgresql/pq_xkey.cxx index 2ab57004b175..3e7357fb3fc8 100644 --- a/connectivity/source/drivers/postgresql/pq_xkey.cxx +++ b/connectivity/source/drivers/postgresql/pq_xkey.cxx @@ -41,9 +41,6 @@ #include <com/sun/star/beans/PropertyAttribute.hpp> -#include <com/sun/star/sdbc/XRow.hpp> -#include <com/sun/star/sdbc/XParameters.hpp> - #include "pq_xkey.hxx" #include "pq_xkeycolumns.hxx" #include "pq_tools.hxx" @@ -52,35 +49,16 @@ using osl::MutexGuard; using osl::Mutex; - using com::sun::star::container::XNameAccess; -using com::sun::star::container::XIndexAccess; -using com::sun::star::container::ElementExistException; -using com::sun::star::container::NoSuchElementException; using com::sun::star::uno::Reference; -using com::sun::star::uno::Exception; -using com::sun::star::uno::XInterface; using com::sun::star::uno::Sequence; using com::sun::star::uno::Any; using com::sun::star::uno::Type; using com::sun::star::uno::RuntimeException; -using com::sun::star::lang::IllegalArgumentException; -using com::sun::star::lang::IndexOutOfBoundsException; - -using com::sun::star::beans::XPropertySetInfo; -using com::sun::star::beans::XFastPropertySet; -using com::sun::star::beans::XMultiPropertySet; using com::sun::star::beans::XPropertySet; -using com::sun::star::beans::Property; - -using com::sun::star::sdbc::XResultSet; -using com::sun::star::sdbc::XPreparedStatement; -using com::sun::star::sdbc::XStatement; -using com::sun::star::sdbc::XParameters; -using com::sun::star::sdbc::XRow; -using com::sun::star::sdbc::SQLException; + namespace pq_sdbc_driver { diff --git a/connectivity/source/drivers/postgresql/pq_xkeycolumns.cxx b/connectivity/source/drivers/postgresql/pq_xkeycolumns.cxx index 53dcc37a79b3..e001f615998d 100644 --- a/connectivity/source/drivers/postgresql/pq_xkeycolumns.cxx +++ b/connectivity/source/drivers/postgresql/pq_xkeycolumns.cxx @@ -38,7 +38,6 @@ #include <rtl/strbuf.hxx> #include <com/sun/star/sdbc/XRow.hpp> -#include <com/sun/star/sdbc/XParameters.hpp> #include <com/sun/star/sdbc/DataType.hpp> #include <com/sun/star/sdbc/ColumnValue.hpp> @@ -50,26 +49,18 @@ using osl::MutexGuard; - using com::sun::star::beans::XPropertySet; using com::sun::star::uno::Any; using com::sun::star::uno::makeAny; using com::sun::star::uno::UNO_QUERY; -using com::sun::star::uno::XInterface; using com::sun::star::uno::Reference; using com::sun::star::uno::Sequence; using com::sun::star::uno::RuntimeException; -using com::sun::star::container::NoSuchElementException; -using com::sun::star::lang::WrappedTargetException; - using com::sun::star::sdbc::XRow; -using com::sun::star::sdbc::XCloseable; using com::sun::star::sdbc::XStatement; using com::sun::star::sdbc::XResultSet; -using com::sun::star::sdbc::XParameters; -using com::sun::star::sdbc::XPreparedStatement; using com::sun::star::sdbc::XDatabaseMetaData; using com::sun::star::sdbc::SQLException; diff --git a/connectivity/source/drivers/postgresql/pq_xkeys.cxx b/connectivity/source/drivers/postgresql/pq_xkeys.cxx index 1214886a5194..7929accb60ae 100644 --- a/connectivity/source/drivers/postgresql/pq_xkeys.cxx +++ b/connectivity/source/drivers/postgresql/pq_xkeys.cxx @@ -54,20 +54,15 @@ using com::sun::star::beans::XPropertySet; using com::sun::star::uno::makeAny; using com::sun::star::uno::UNO_QUERY; -using com::sun::star::uno::XInterface; using com::sun::star::uno::Reference; using com::sun::star::uno::RuntimeException; -using com::sun::star::container::NoSuchElementException; -using com::sun::star::lang::WrappedTargetException; using com::sun::star::sdbc::XRow; -using com::sun::star::sdbc::XCloseable; using com::sun::star::sdbc::XStatement; using com::sun::star::sdbc::XResultSet; using com::sun::star::sdbc::XParameters; using com::sun::star::sdbc::XPreparedStatement; -using com::sun::star::sdbc::XDatabaseMetaData; namespace pq_sdbc_driver { diff --git a/connectivity/source/drivers/postgresql/pq_xtable.cxx b/connectivity/source/drivers/postgresql/pq_xtable.cxx index 916034dfe6e6..7a14cbfc497f 100644 --- a/connectivity/source/drivers/postgresql/pq_xtable.cxx +++ b/connectivity/source/drivers/postgresql/pq_xtable.cxx @@ -41,9 +41,6 @@ #include <com/sun/star/beans/PropertyAttribute.hpp> -#include <com/sun/star/sdbc/XRow.hpp> -#include <com/sun/star/sdbc/XParameters.hpp> - #include "pq_xtable.hxx" #include "pq_xtables.hxx" #include "pq_xviews.hxx" @@ -62,29 +59,18 @@ using com::sun::star::container::ElementExistException; using com::sun::star::container::NoSuchElementException; using com::sun::star::uno::Reference; -using com::sun::star::uno::Exception; using com::sun::star::uno::UNO_QUERY; -using com::sun::star::uno::XInterface; using com::sun::star::uno::Sequence; using com::sun::star::uno::Any; using com::sun::star::uno::makeAny; using com::sun::star::uno::Type; using com::sun::star::uno::RuntimeException; -using com::sun::star::lang::IllegalArgumentException; using com::sun::star::lang::IndexOutOfBoundsException; -using com::sun::star::beans::XPropertySetInfo; -using com::sun::star::beans::XFastPropertySet; -using com::sun::star::beans::XMultiPropertySet; using com::sun::star::beans::XPropertySet; -using com::sun::star::beans::Property; -using com::sun::star::sdbc::XResultSet; -using com::sun::star::sdbc::XPreparedStatement; using com::sun::star::sdbc::XStatement; -using com::sun::star::sdbc::XParameters; -using com::sun::star::sdbc::XRow; using com::sun::star::sdbc::SQLException; namespace pq_sdbc_driver diff --git a/connectivity/source/drivers/postgresql/pq_xtables.cxx b/connectivity/source/drivers/postgresql/pq_xtables.cxx index 78936404252d..b824dddb25e8 100644 --- a/connectivity/source/drivers/postgresql/pq_xtables.cxx +++ b/connectivity/source/drivers/postgresql/pq_xtables.cxx @@ -37,7 +37,6 @@ #include <rtl/ustrbuf.hxx> #include <com/sun/star/sdbc/XRow.hpp> -#include <com/sun/star/sdbc/XParameters.hpp> #include <com/sun/star/sdbcx/Privilege.hpp> #include <com/sun/star/sdbcx/KeyType.hpp> #include <com/sun/star/sdbc/KeyRule.hpp> @@ -56,26 +55,19 @@ using com::sun::star::beans::XPropertySet; using com::sun::star::uno::Any; using com::sun::star::uno::makeAny; using com::sun::star::uno::UNO_QUERY; -using com::sun::star::uno::XInterface; using com::sun::star::uno::Reference; using com::sun::star::uno::Sequence; using com::sun::star::uno::RuntimeException; -using com::sun::star::container::NoSuchElementException; using com::sun::star::container::XEnumerationAccess; using com::sun::star::container::XEnumeration; -using com::sun::star::lang::WrappedTargetException; using com::sun::star::sdbc::XRow; -using com::sun::star::sdbc::XCloseable; using com::sun::star::sdbc::XStatement; using com::sun::star::sdbc::XResultSet; -using com::sun::star::sdbc::XParameters; -using com::sun::star::sdbc::XPreparedStatement; using com::sun::star::sdbc::XDatabaseMetaData; using com::sun::star::sdbcx::XColumnsSupplier; using com::sun::star::sdbcx::XKeysSupplier; -using com::sun::star::sdbcx::XViewsSupplier; namespace pq_sdbc_driver { diff --git a/connectivity/source/drivers/postgresql/pq_xuser.cxx b/connectivity/source/drivers/postgresql/pq_xuser.cxx index f94ceaf36070..7b91d43217c3 100644 --- a/connectivity/source/drivers/postgresql/pq_xuser.cxx +++ b/connectivity/source/drivers/postgresql/pq_xuser.cxx @@ -41,9 +41,6 @@ #include <com/sun/star/beans/PropertyAttribute.hpp> -#include <com/sun/star/sdbc/XRow.hpp> -#include <com/sun/star/sdbc/XParameters.hpp> - #include "pq_xuser.hxx" #include "pq_tools.hxx" #include "pq_statics.hxx" @@ -51,33 +48,15 @@ using osl::MutexGuard; using osl::Mutex; -using com::sun::star::container::XNameAccess; -using com::sun::star::container::XIndexAccess; -using com::sun::star::container::ElementExistException; -using com::sun::star::container::NoSuchElementException; - using com::sun::star::uno::Reference; -using com::sun::star::uno::Exception; -using com::sun::star::uno::XInterface; using com::sun::star::uno::Sequence; using com::sun::star::uno::Any; using com::sun::star::uno::Type; using com::sun::star::uno::RuntimeException; -using com::sun::star::lang::IllegalArgumentException; -using com::sun::star::lang::IndexOutOfBoundsException; - -using com::sun::star::beans::XPropertySetInfo; -using com::sun::star::beans::XFastPropertySet; -using com::sun::star::beans::XMultiPropertySet; using com::sun::star::beans::XPropertySet; -using com::sun::star::beans::Property; -using com::sun::star::sdbc::XResultSet; -using com::sun::star::sdbc::XPreparedStatement; using com::sun::star::sdbc::XStatement; -using com::sun::star::sdbc::XParameters; -using com::sun::star::sdbc::XRow; using com::sun::star::sdbc::SQLException; namespace pq_sdbc_driver diff --git a/connectivity/source/drivers/postgresql/pq_xusers.cxx b/connectivity/source/drivers/postgresql/pq_xusers.cxx index 86b80d39bec5..b91ec7f7ac89 100644 --- a/connectivity/source/drivers/postgresql/pq_xusers.cxx +++ b/connectivity/source/drivers/postgresql/pq_xusers.cxx @@ -37,7 +37,6 @@ #include <rtl/ustrbuf.hxx> #include <com/sun/star/sdbc/XRow.hpp> -#include <com/sun/star/sdbc/XParameters.hpp> #include <com/sun/star/sdbcx/Privilege.hpp> #include "pq_xusers.hxx" @@ -47,25 +46,18 @@ using osl::MutexGuard; - using com::sun::star::beans::XPropertySet; using com::sun::star::uno::makeAny; using com::sun::star::uno::UNO_QUERY; -using com::sun::star::uno::XInterface; using com::sun::star::uno::Reference; using com::sun::star::uno::RuntimeException; using com::sun::star::container::NoSuchElementException; -using com::sun::star::lang::WrappedTargetException; using com::sun::star::sdbc::XRow; -using com::sun::star::sdbc::XCloseable; using com::sun::star::sdbc::XStatement; using com::sun::star::sdbc::XResultSet; -using com::sun::star::sdbc::XParameters; -using com::sun::star::sdbc::XPreparedStatement; -using com::sun::star::sdbc::XDatabaseMetaData; namespace pq_sdbc_driver { diff --git a/connectivity/source/drivers/postgresql/pq_xview.cxx b/connectivity/source/drivers/postgresql/pq_xview.cxx index a9dd74edec3b..a2c6d163b53c 100644 --- a/connectivity/source/drivers/postgresql/pq_xview.cxx +++ b/connectivity/source/drivers/postgresql/pq_xview.cxx @@ -41,9 +41,6 @@ #include <com/sun/star/beans/PropertyAttribute.hpp> -#include <com/sun/star/sdbc/XRow.hpp> -#include <com/sun/star/sdbc/XParameters.hpp> - #include "pq_xview.hxx" #include "pq_xviews.hxx" #include "pq_statics.hxx" @@ -52,34 +49,18 @@ using osl::MutexGuard; using osl::Mutex; -using com::sun::star::container::XNameAccess; -using com::sun::star::container::XIndexAccess; using com::sun::star::container::ElementExistException; -using com::sun::star::container::NoSuchElementException; using com::sun::star::uno::Reference; -using com::sun::star::uno::Exception; -using com::sun::star::uno::XInterface; using com::sun::star::uno::Sequence; using com::sun::star::uno::Any; using com::sun::star::uno::makeAny; using com::sun::star::uno::Type; using com::sun::star::uno::RuntimeException; -using com::sun::star::lang::IllegalArgumentException; -using com::sun::star::lang::IndexOutOfBoundsException; - -using com::sun::star::beans::XPropertySetInfo; -using com::sun::star::beans::XFastPropertySet; -using com::sun::star::beans::XMultiPropertySet; using com::sun::star::beans::XPropertySet; -using com::sun::star::beans::Property; -using com::sun::star::sdbc::XResultSet; -using com::sun::star::sdbc::XPreparedStatement; using com::sun::star::sdbc::XStatement; -using com::sun::star::sdbc::XParameters; -using com::sun::star::sdbc::XRow; using com::sun::star::sdbc::SQLException; namespace pq_sdbc_driver diff --git a/connectivity/source/drivers/postgresql/pq_xviews.cxx b/connectivity/source/drivers/postgresql/pq_xviews.cxx index 51d49004dd6b..4df8cda7232b 100644 --- a/connectivity/source/drivers/postgresql/pq_xviews.cxx +++ b/connectivity/source/drivers/postgresql/pq_xviews.cxx @@ -37,8 +37,6 @@ #include <rtl/ustrbuf.hxx> #include <com/sun/star/sdbc/XRow.hpp> -#include <com/sun/star/sdbc/XParameters.hpp> -#include <com/sun/star/sdbcx/Privilege.hpp> #include "pq_xviews.hxx" #include "pq_xview.hxx" @@ -48,27 +46,19 @@ using osl::MutexGuard; - using com::sun::star::beans::XPropertySet; using com::sun::star::uno::makeAny; using com::sun::star::uno::UNO_QUERY; -using com::sun::star::uno::XInterface; using com::sun::star::uno::Reference; using com::sun::star::uno::RuntimeException; using com::sun::star::container::NoSuchElementException; -using com::sun::star::lang::WrappedTargetException; using com::sun::star::sdbc::XRow; -using com::sun::star::sdbc::XCloseable; using com::sun::star::sdbc::XStatement; using com::sun::star::sdbc::XResultSet; -using com::sun::star::sdbc::XParameters; -using com::sun::star::sdbc::XPreparedStatement; -using com::sun::star::sdbc::XDatabaseMetaData; -// using com::sun::star::sdbcx::Privilege; namespace pq_sdbc_driver { diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx index 442c34172212..8a87c7fc1912 100644 --- a/cppu/source/uno/lbmap.cxx +++ b/cppu/source/uno/lbmap.cxx @@ -50,9 +50,7 @@ using namespace osl; using namespace com::sun::star::uno; using ::rtl::OUString; using ::rtl::OUStringBuffer; -using ::rtl::OUStringToOString; using ::rtl::OUStringHash; -using ::rtl::OString; namespace cppu { diff --git a/cppuhelper/source/component.cxx b/cppuhelper/source/component.cxx index ccbf1791ed5f..192a2de9a2bc 100644 --- a/cppuhelper/source/component.cxx +++ b/cppuhelper/source/component.cxx @@ -29,7 +29,6 @@ using namespace com::sun::star; using namespace com::sun::star::uno; using namespace com::sun::star::lang; -using ::rtl::OUString; using ::rtl::OString; using ::rtl::OUStringToOString; diff --git a/cppuhelper/source/implbase.cxx b/cppuhelper/source/implbase.cxx index be0405c8cf5f..635ca10d3e6d 100644 --- a/cppuhelper/source/implbase.cxx +++ b/cppuhelper/source/implbase.cxx @@ -29,8 +29,6 @@ using namespace ::osl; using namespace ::com::sun::star; using namespace ::com::sun::star::uno; -using rtl::OUString; -using rtl::OString; namespace cppu { diff --git a/cppuhelper/source/implbase_ex.cxx b/cppuhelper/source/implbase_ex.cxx index 9a3b05348346..b2fc96d8d048 100644 --- a/cppuhelper/source/implbase_ex.cxx +++ b/cppuhelper/source/implbase_ex.cxx @@ -34,9 +34,7 @@ using namespace ::osl; using namespace ::com::sun::star; using namespace ::com::sun::star::uno; -using rtl::OString; using rtl::OUString; -using rtl::OUStringBuffer; namespace { diff --git a/cppuhelper/source/servicemanager.cxx b/cppuhelper/source/servicemanager.cxx index cd4d817db7bb..c3dfba461f9a 100644 --- a/cppuhelper/source/servicemanager.cxx +++ b/cppuhelper/source/servicemanager.cxx @@ -47,7 +47,6 @@ using rtl::OUString; using rtl::OString; -using rtl::OStringBuffer; #include <registry/registry.hxx> #include <xmlreader/xmlreader.hxx> diff --git a/dbaccess/source/core/api/View.cxx b/dbaccess/source/core/api/View.cxx index 9d8ed9b00b66..d15c1c21da3f 100644 --- a/dbaccess/source/core/api/View.cxx +++ b/dbaccess/source/core/api/View.cxx @@ -23,10 +23,7 @@ #include "connectivity/dbexception.hxx" #include "connectivity/dbtools.hxx" -#include <com/sun/star/lang/WrappedTargetException.hpp> -#include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/sdbc/XRow.hpp> #include <cppuhelper/exc_hlp.hxx> #include <tools/diagnose_ex.h> @@ -36,15 +33,9 @@ namespace dbaccess { using namespace ::com::sun::star::uno; - using ::com::sun::star::sdbc::XDatabaseMetaData; using ::com::sun::star::sdbc::SQLException; using ::com::sun::star::sdbc::XConnection; - using ::com::sun::star::lang::WrappedTargetException; using ::com::sun::star::lang::XMultiServiceFactory; - using ::com::sun::star::sdbc::XResultSet; - using ::com::sun::star::sdbc::XStatement; - using ::com::sun::star::lang::DisposedException; - using ::com::sun::star::sdbc::XRow; OUString lcl_getServiceNameForSetting(const Reference< css::sdbc::XConnection >& _xConnection,const OUString& i_sSetting) { diff --git a/dbaccess/source/core/api/columnsettings.cxx b/dbaccess/source/core/api/columnsettings.cxx index 0e88eda6dc60..7449c320500f 100644 --- a/dbaccess/source/core/api/columnsettings.cxx +++ b/dbaccess/source/core/api/columnsettings.cxx @@ -31,14 +31,11 @@ namespace dbaccess { using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::uno::UNO_SET_THROW; using ::com::sun::star::uno::Exception; - using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Any; using ::com::sun::star::uno::Type; - using ::com::sun::star::lang::IllegalArgumentException; using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::beans::XPropertySetInfo; diff --git a/dbaccess/source/core/dataaccess/databaseregistrations.cxx b/dbaccess/source/core/dataaccess/databaseregistrations.cxx index c13e7a63349e..159dbe21151c 100644 --- a/dbaccess/source/core/dataaccess/databaseregistrations.cxx +++ b/dbaccess/source/core/dataaccess/databaseregistrations.cxx @@ -32,8 +32,6 @@ namespace dbaccess { using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; - using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::makeAny; using ::com::sun::star::uno::Sequence; diff --git a/dbaccess/source/core/dataaccess/documenteventexecutor.cxx b/dbaccess/source/core/dataaccess/documenteventexecutor.cxx index 42a3aa9c5795..fc69be4a2313 100644 --- a/dbaccess/source/core/dataaccess/documenteventexecutor.cxx +++ b/dbaccess/source/core/dataaccess/documenteventexecutor.cxx @@ -35,7 +35,6 @@ namespace dbaccess { using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::UNO_SET_THROW; diff --git a/dbaccess/source/core/dataaccess/documenteventnotifier.cxx b/dbaccess/source/core/dataaccess/documenteventnotifier.cxx index 1c7cab7f4d1a..7490a041d8a2 100644 --- a/dbaccess/source/core/dataaccess/documenteventnotifier.cxx +++ b/dbaccess/source/core/dataaccess/documenteventnotifier.cxx @@ -30,9 +30,7 @@ namespace dbaccess { using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::Exception; - using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Any; using ::com::sun::star::frame::DoubleInitializationException; using ::com::sun::star::document::XDocumentEventListener; diff --git a/dbaccess/source/core/dataaccess/documentevents.cxx b/dbaccess/source/core/dataaccess/documentevents.cxx index 27f0a89feb38..19530a70ccfd 100644 --- a/dbaccess/source/core/dataaccess/documentevents.cxx +++ b/dbaccess/source/core/dataaccess/documentevents.cxx @@ -32,8 +32,6 @@ namespace dbaccess { - using ::com::sun::star::uno::XInterface; - using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Any; using ::com::sun::star::beans::PropertyValue; diff --git a/dbaccess/source/core/misc/objectnameapproval.cxx b/dbaccess/source/core/misc/objectnameapproval.cxx index dfeb3c8ca16e..64142f968c92 100644 --- a/dbaccess/source/core/misc/objectnameapproval.cxx +++ b/dbaccess/source/core/misc/objectnameapproval.cxx @@ -22,7 +22,6 @@ #include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/sdb/tools/XConnectionTools.hpp> #include <com/sun/star/sdb/CommandType.hpp> -#include <com/sun/star/sdbc/SQLException.hpp> #include <cppuhelper/weakref.hxx> #include <cppuhelper/exc_hlp.hxx> @@ -38,7 +37,6 @@ namespace dbaccess using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::sdb::tools::XObjectNames; using ::com::sun::star::uno::XInterface; - using ::com::sun::star::sdbc::SQLException; namespace CommandType = com::sun::star::sdb::CommandType; diff --git a/dbaccess/source/core/recovery/dbdocrecovery.cxx b/dbaccess/source/core/recovery/dbdocrecovery.cxx index cee9d7ac12d7..3c647eafade0 100644 --- a/dbaccess/source/core/recovery/dbdocrecovery.cxx +++ b/dbaccess/source/core/recovery/dbdocrecovery.cxx @@ -26,13 +26,8 @@ #include <com/sun/star/sdb/application/XDatabaseDocumentUI.hpp> #include <com/sun/star/embed/ElementModes.hpp> -#include <com/sun/star/document/XStorageBasedDocument.hpp> -#include <com/sun/star/io/XTextOutputStream.hpp> #include <com/sun/star/io/TextInputStream.hpp> -#include <com/sun/star/io/XActiveDataSource.hpp> -#include <com/sun/star/io/XActiveDataSink.hpp> #include <com/sun/star/util/XModifiable.hpp> -#include <com/sun/star/beans/XPropertySet.hpp> #include <comphelper/namedvaluecollection.hxx> #include <rtl/ustrbuf.hxx> @@ -44,29 +39,20 @@ namespace dbaccess { using css::uno::Reference; - using css::uno::XInterface; using css::uno::UNO_QUERY; using css::uno::UNO_QUERY_THROW; using css::uno::UNO_SET_THROW; using css::uno::Exception; - using css::uno::RuntimeException; using css::uno::Sequence; using css::uno::XComponentContext; using css::embed::XStorage; using css::frame::XController; using css::sdb::application::XDatabaseDocumentUI; using css::lang::XComponent; - using css::document::XStorageBasedDocument; - using css::beans::PropertyValue; using css::io::XStream; - using css::io::XTextOutputStream; - using css::io::XActiveDataSource; using css::io::TextInputStream; using css::io::XTextInputStream2; - using css::io::XActiveDataSink; - using css::frame::XModel; using css::util::XModifiable; - using css::beans::XPropertySet; namespace ElementModes = css::embed::ElementModes; diff --git a/dbaccess/source/core/recovery/settingsimport.cxx b/dbaccess/source/core/recovery/settingsimport.cxx index 693139eb1963..4063bf2d8628 100644 --- a/dbaccess/source/core/recovery/settingsimport.cxx +++ b/dbaccess/source/core/recovery/settingsimport.cxx @@ -27,9 +27,6 @@ namespace dbaccess { using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; - using ::com::sun::star::uno::Exception; - using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Any; using ::com::sun::star::xml::sax::XAttributeList; diff --git a/dbaccess/source/core/recovery/storagestream.cxx b/dbaccess/source/core/recovery/storagestream.cxx index b23bef05e005..cba882c5a8d6 100644 --- a/dbaccess/source/core/recovery/storagestream.cxx +++ b/dbaccess/source/core/recovery/storagestream.cxx @@ -27,12 +27,8 @@ namespace dbaccess { using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::UNO_SET_THROW; - using ::com::sun::star::uno::Exception; - using ::com::sun::star::uno::RuntimeException; - using ::com::sun::star::uno::XComponentContext; using ::com::sun::star::embed::XStorage; using ::com::sun::star::io::XStream; diff --git a/dbaccess/source/core/recovery/storagetextstream.cxx b/dbaccess/source/core/recovery/storagetextstream.cxx index 0b0a8019cfc4..7dd405b490e6 100644 --- a/dbaccess/source/core/recovery/storagetextstream.cxx +++ b/dbaccess/source/core/recovery/storagetextstream.cxx @@ -27,14 +27,10 @@ namespace dbaccess { using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; - using ::com::sun::star::uno::Exception; - using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::XComponentContext; using ::com::sun::star::embed::XStorage; using ::com::sun::star::io::TextOutputStream; using ::com::sun::star::io::XTextOutputStream2; - using ::com::sun::star::io::XActiveDataSource; // StorageTextOutputStream_Data struct StorageTextOutputStream_Data diff --git a/dbaccess/source/core/recovery/storagexmlstream.cxx b/dbaccess/source/core/recovery/storagexmlstream.cxx index f12182b9beca..391959844cbc 100644 --- a/dbaccess/source/core/recovery/storagexmlstream.cxx +++ b/dbaccess/source/core/recovery/storagexmlstream.cxx @@ -20,7 +20,6 @@ #include "storagexmlstream.hxx" #include <com/sun/star/xml/sax/XDocumentHandler.hpp> -#include <com/sun/star/io/XActiveDataSource.hpp> #include <com/sun/star/xml/sax/Parser.hpp> #include <com/sun/star/xml/sax/Writer.hpp> @@ -35,19 +34,12 @@ namespace dbaccess { using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::UNO_QUERY_THROW; - using ::com::sun::star::uno::Exception; - using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::XComponentContext; using ::com::sun::star::embed::XStorage; using ::com::sun::star::xml::sax::XDocumentHandler; - using ::com::sun::star::xml::sax::XAttributeList; using ::com::sun::star::xml::sax::XWriter; using ::com::sun::star::xml::sax::Writer; - using ::com::sun::star::io::XStream; - using ::com::sun::star::io::XOutputStream; - using ::com::sun::star::io::XActiveDataSource; using ::com::sun::star::xml::sax::Parser; using ::com::sun::star::xml::sax::XParser; using ::com::sun::star::xml::sax::InputSource; diff --git a/dbaccess/source/core/recovery/subcomponentloader.cxx b/dbaccess/source/core/recovery/subcomponentloader.cxx index 92bbe867c916..25fc14e21933 100644 --- a/dbaccess/source/core/recovery/subcomponentloader.cxx +++ b/dbaccess/source/core/recovery/subcomponentloader.cxx @@ -28,7 +28,6 @@ namespace dbaccess { using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::UNO_SET_THROW; using ::com::sun::star::uno::Exception; diff --git a/dbaccess/source/core/recovery/subcomponentrecovery.cxx b/dbaccess/source/core/recovery/subcomponentrecovery.cxx index 1c8a5467ac20..00439934be32 100644 --- a/dbaccess/source/core/recovery/subcomponentrecovery.cxx +++ b/dbaccess/source/core/recovery/subcomponentrecovery.cxx @@ -55,7 +55,6 @@ namespace dbaccess using css::uno::Any; using css::uno::Sequence; using css::uno::XComponentContext; - using css::lang::XMultiServiceFactory; using css::embed::XStorage; using css::sdb::application::XDatabaseDocumentUI; using css::beans::Pair; diff --git a/dbaccess/source/ext/macromigration/docinteraction.cxx b/dbaccess/source/ext/macromigration/docinteraction.cxx index 4cce8b073060..8b37b2256043 100644 --- a/dbaccess/source/ext/macromigration/docinteraction.cxx +++ b/dbaccess/source/ext/macromigration/docinteraction.cxx @@ -32,10 +32,7 @@ namespace dbmm { using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::UNO_QUERY; - using ::com::sun::star::uno::Exception; - using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Any; using ::com::sun::star::uno::makeAny; using ::com::sun::star::uno::XComponentContext; diff --git a/dbaccess/source/ext/macromigration/macromigrationdialog.cxx b/dbaccess/source/ext/macromigration/macromigrationdialog.cxx index ceca23543b57..e090c0678571 100644 --- a/dbaccess/source/ext/macromigration/macromigrationdialog.cxx +++ b/dbaccess/source/ext/macromigration/macromigrationdialog.cxx @@ -64,23 +64,18 @@ namespace dbmm using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::UNO_SET_THROW; using ::com::sun::star::uno::Exception; - using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Any; using ::com::sun::star::sdb::application::XDatabaseDocumentUI; using ::com::sun::star::sdb::XOfficeDatabaseDocument; using ::com::sun::star::frame::XModel2; - using ::com::sun::star::frame::XController; using ::com::sun::star::frame::XController2; using ::com::sun::star::container::XEnumeration; using ::com::sun::star::frame::XStorable; using ::com::sun::star::uno::Sequence; using ::com::sun::star::beans::PropertyValue; using ::com::sun::star::frame::XFrame; - using ::com::sun::star::awt::XWindow; using ::com::sun::star::util::XCloseable; - using ::com::sun::star::util::XCloseListener; using ::com::sun::star::util::CloseVetoException; - using ::com::sun::star::lang::EventObject; using ::com::sun::star::frame::XComponentLoader; using ::com::sun::star::util::XModifiable; using ::com::sun::star::ucb::UniversalContentBroker; diff --git a/dbaccess/source/ext/macromigration/macromigrationpages.cxx b/dbaccess/source/ext/macromigration/macromigrationpages.cxx index d72d1b5b0618..9192eb6601a8 100644 --- a/dbaccess/source/ext/macromigration/macromigrationpages.cxx +++ b/dbaccess/source/ext/macromigration/macromigrationpages.cxx @@ -34,10 +34,8 @@ namespace dbmm { using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::Exception; - using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::frame::XModel; MacroMigrationPage::MacroMigrationPage(vcl::Window *pParent, const OString& rID, const OUString& rUIXMLDescription) diff --git a/dbaccess/source/ext/macromigration/migrationengine.cxx b/dbaccess/source/ext/macromigration/migrationengine.cxx index c9ecb2bf81c0..5564edcedda8 100644 --- a/dbaccess/source/ext/macromigration/migrationengine.cxx +++ b/dbaccess/source/ext/macromigration/migrationengine.cxx @@ -28,19 +28,13 @@ #include "progresscapture.hxx" #include "progressmixer.hxx" -#include <com/sun/star/sdb/XFormDocumentsSupplier.hpp> -#include <com/sun/star/sdb/XReportDocumentsSupplier.hpp> -#include <com/sun/star/util/XCloseable.hpp> #include <com/sun/star/frame/XModel.hpp> -#include <com/sun/star/frame/XComponentLoader.hpp> #include <com/sun/star/ucb/XCommandProcessor.hpp> #include <com/sun/star/ucb/XContent.hpp> -#include <com/sun/star/embed/XComponentSupplier.hpp> #include <com/sun/star/embed/ElementModes.hpp> #include <com/sun/star/document/XStorageBasedDocument.hpp> #include <com/sun/star/embed/XTransactedObject.hpp> #include <com/sun/star/frame/XStorable.hpp> -#include <com/sun/star/embed/XEmbedPersist.hpp> #include <com/sun/star/script/DocumentScriptLibraryContainer.hpp> #include <com/sun/star/script/DocumentDialogLibraryContainer.hpp> #include <com/sun/star/document/XEmbeddedScripts.hpp> @@ -88,25 +82,18 @@ namespace dbmm using ::com::sun::star::uno::makeAny; using ::com::sun::star::uno::XComponentContext; using ::com::sun::star::sdb::XOfficeDatabaseDocument; - using ::com::sun::star::sdb::XFormDocumentsSupplier; - using ::com::sun::star::sdb::XReportDocumentsSupplier; using ::com::sun::star::container::XNameAccess; using ::com::sun::star::uno::Sequence; - using ::com::sun::star::util::XCloseable; - using ::com::sun::star::util::CloseVetoException; using ::com::sun::star::lang::XComponent; using ::com::sun::star::frame::XModel; - using ::com::sun::star::frame::XComponentLoader; using ::com::sun::star::ucb::XCommandProcessor; using ::com::sun::star::ucb::XContent; using ::com::sun::star::ucb::Command; - using ::com::sun::star::embed::XComponentSupplier; using ::com::sun::star::task::XStatusIndicator; using ::com::sun::star::embed::XStorage; using ::com::sun::star::document::XStorageBasedDocument; using ::com::sun::star::embed::XTransactedObject; using ::com::sun::star::frame::XStorable; - using ::com::sun::star::embed::XEmbedPersist; using ::com::sun::star::script::DocumentDialogLibraryContainer; using ::com::sun::star::script::DocumentScriptLibraryContainer; using ::com::sun::star::script::XStorageBasedLibraryContainer; diff --git a/dbaccess/source/ext/macromigration/progresscapture.cxx b/dbaccess/source/ext/macromigration/progresscapture.cxx index 98b1d074d38a..37dc871b4c06 100644 --- a/dbaccess/source/ext/macromigration/progresscapture.cxx +++ b/dbaccess/source/ext/macromigration/progresscapture.cxx @@ -26,8 +26,6 @@ namespace dbmm { - using ::com::sun::star::uno::XInterface; - using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::RuntimeException; // ProgressCapture_Data diff --git a/dbaccess/source/sdbtools/connection/datasourcemetadata.cxx b/dbaccess/source/sdbtools/connection/datasourcemetadata.cxx index 600ccf0d8dfa..f15cb89416cc 100644 --- a/dbaccess/source/sdbtools/connection/datasourcemetadata.cxx +++ b/dbaccess/source/sdbtools/connection/datasourcemetadata.cxx @@ -19,8 +19,6 @@ #include "datasourcemetadata.hxx" -#include <com/sun/star/lang/NullPointerException.hpp> - #include <connectivity/dbmetadata.hxx> namespace sdbtools @@ -28,7 +26,6 @@ namespace sdbtools using ::com::sun::star::uno::Reference; using ::com::sun::star::sdbc::XConnection; - using ::com::sun::star::lang::NullPointerException; using ::com::sun::star::sdbc::SQLException; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::XComponentContext; diff --git a/dbaccess/source/sdbtools/connection/objectnames.cxx b/dbaccess/source/sdbtools/connection/objectnames.cxx index 9bd325ce5cfe..725c5a16a619 100644 --- a/dbaccess/source/sdbtools/connection/objectnames.cxx +++ b/dbaccess/source/sdbtools/connection/objectnames.cxx @@ -22,7 +22,6 @@ #include "module_sdbt.hxx" #include "sdbt_resource.hrc" -#include <com/sun/star/lang/NullPointerException.hpp> #include <com/sun/star/sdb/CommandType.hpp> #include <com/sun/star/sdbcx/XTablesSupplier.hpp> #include <com/sun/star/sdb/XQueriesSupplier.hpp> @@ -41,12 +40,10 @@ namespace sdbtools using ::com::sun::star::uno::Reference; using ::com::sun::star::sdbc::XConnection; - using ::com::sun::star::lang::NullPointerException; using ::com::sun::star::lang::IllegalArgumentException; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::sdbc::SQLException; using ::com::sun::star::sdbc::XDatabaseMetaData; - using ::com::sun::star::uno::XInterface; using ::com::sun::star::container::XNameAccess; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::sdbcx::XTablesSupplier; diff --git a/dbaccess/source/sdbtools/connection/tablename.cxx b/dbaccess/source/sdbtools/connection/tablename.cxx index c4006a590814..3f14d7773f50 100644 --- a/dbaccess/source/sdbtools/connection/tablename.cxx +++ b/dbaccess/source/sdbtools/connection/tablename.cxx @@ -22,7 +22,6 @@ #include "module_sdbt.hxx" #include "sdbtstrings.hrc" -#include <com/sun/star/lang/NullPointerException.hpp> #include <com/sun/star/sdb/tools/CompositionType.hpp> #include <com/sun/star/sdbcx/XTablesSupplier.hpp> @@ -34,7 +33,6 @@ namespace sdbtools using ::com::sun::star::uno::Reference; using ::com::sun::star::sdbc::XConnection; - using ::com::sun::star::lang::NullPointerException; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::lang::IllegalArgumentException; using ::com::sun::star::beans::XPropertySet; diff --git a/dbaccess/source/sdbtools/misc/sdbt_services.cxx b/dbaccess/source/sdbtools/misc/sdbt_services.cxx index ba39ca0415f1..65d438cc6b22 100644 --- a/dbaccess/source/sdbtools/misc/sdbt_services.cxx +++ b/dbaccess/source/sdbtools/misc/sdbt_services.cxx @@ -20,9 +20,6 @@ #include "module_sdbt.hxx" #include "sdbt_services.hxx" -using ::com::sun::star::lang::XMultiServiceFactory; -using ::com::sun::star::registry::XRegistryKey; -using ::com::sun::star::registry::InvalidRegistryException; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::XInterface; diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx index f5800c84a832..13a03c5e85d4 100644 --- a/dbaccess/source/ui/app/AppController.cxx +++ b/dbaccess/source/ui/app/AppController.cxx @@ -149,7 +149,6 @@ using namespace ::com::sun::star::ui::dialogs; using namespace ::com::sun::star::task; using ::com::sun::star::document::XEmbeddedScripts; using ::com::sun::star::document::XDocumentEventBroadcaster; -using ::com::sun::star::document::DocumentEvent; using ::com::sun::star::sdb::application::NamedDatabaseObject; namespace DatabaseObject = ::com::sun::star::sdb::application::DatabaseObject; diff --git a/dbaccess/source/ui/app/AppControllerGen.cxx b/dbaccess/source/ui/app/AppControllerGen.cxx index 1b8d85f9911c..79e307f72cdb 100644 --- a/dbaccess/source/ui/app/AppControllerGen.cxx +++ b/dbaccess/source/ui/app/AppControllerGen.cxx @@ -47,7 +47,6 @@ #include <com/sun/star/ucb/XCommandProcessor.hpp> #include <com/sun/star/ui/dialogs/XExecutableDialog.hpp> #include <com/sun/star/uno/XNamingService.hpp> -#include <com/sun/star/util/XCloseable.hpp> #include <com/sun/star/util/XRefreshable.hpp> #include <cppuhelper/exc_hlp.hxx> @@ -86,7 +85,6 @@ using namespace ::com::sun::star::beans; using namespace ::com::sun::star::container; using namespace ::com::sun::star::ucb; -using ::com::sun::star::util::XCloseable; using ::com::sun::star::ui::XContextMenuInterceptor; namespace DatabaseObject = ::com::sun::star::sdb::application::DatabaseObject; diff --git a/dbaccess/source/ui/app/subcomponentmanager.cxx b/dbaccess/source/ui/app/subcomponentmanager.cxx index b6ec03d9d5b3..9bcbc5c715ea 100644 --- a/dbaccess/source/ui/app/subcomponentmanager.cxx +++ b/dbaccess/source/ui/app/subcomponentmanager.cxx @@ -43,7 +43,6 @@ namespace dbaui { using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::UNO_SET_THROW; diff --git a/dbaccess/source/ui/control/opendoccontrols.cxx b/dbaccess/source/ui/control/opendoccontrols.cxx index b1e7b964f66c..0eadbf03fc21 100644 --- a/dbaccess/source/ui/control/opendoccontrols.cxx +++ b/dbaccess/source/ui/control/opendoccontrols.cxx @@ -24,7 +24,6 @@ #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/ui/theModuleUIConfigurationManagerSupplier.hpp> -#include <com/sun/star/frame/theUICommandDescription.hpp> #include <com/sun/star/ui/XUIConfigurationManager.hpp> #include <com/sun/star/graphic/XGraphic.hpp> #include <com/sun/star/ui/XImageManager.hpp> @@ -50,13 +49,11 @@ namespace dbaui using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::XComponentContext; using ::com::sun::star::container::XNameAccess; - using ::com::sun::star::lang::XMultiServiceFactory; using ::com::sun::star::beans::PropertyValue; using ::com::sun::star::ui::theModuleUIConfigurationManagerSupplier; using ::com::sun::star::ui::XModuleUIConfigurationManagerSupplier; using ::com::sun::star::ui::XUIConfigurationManager; using ::com::sun::star::ui::XImageManager; - using ::com::sun::star::frame::theUICommandDescription; using ::com::sun::star::graphic::XGraphic; Image GetCommandIcon( const sal_Char* _pCommandURL, const OUString& _rModuleName ) diff --git a/dbaccess/source/ui/dlg/advancedsettings.cxx b/dbaccess/source/ui/dlg/advancedsettings.cxx index de4f42bc97f4..69b70bb72665 100644 --- a/dbaccess/source/ui/dlg/advancedsettings.cxx +++ b/dbaccess/source/ui/dlg/advancedsettings.cxx @@ -41,7 +41,6 @@ namespace dbaui { using ::com::sun::star::uno::Reference; - using ::com::sun::star::lang::XMultiServiceFactory; using ::com::sun::star::uno::Any; using ::com::sun::star::uno::XComponentContext; using ::com::sun::star::beans::XPropertySet; diff --git a/dbaccess/source/ui/misc/TokenWriter.cxx b/dbaccess/source/ui/misc/TokenWriter.cxx index b9780c6dbb68..98a3312919be 100644 --- a/dbaccess/source/ui/misc/TokenWriter.cxx +++ b/dbaccess/source/ui/misc/TokenWriter.cxx @@ -73,7 +73,6 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::sdbcx; using namespace ::com::sun::star::awt; using namespace ::com::sun::star::util; -using ::com::sun::star::frame::XModel; const static char sMyBegComment[] = "<!-- "; const static char sMyEndComment[] = " -->"; diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx index 0079841a5540..c618a1bcae50 100644 --- a/dbaccess/source/ui/misc/UITools.cxx +++ b/dbaccess/source/ui/misc/UITools.cxx @@ -65,7 +65,6 @@ #include <com/sun/star/awt/FontWeight.hpp> #include <com/sun/star/awt/FontRelief.hpp> #include <com/sun/star/awt/FontWidth.hpp> -#include <com/sun/star/frame/XModel.hpp> #include "TypeInfo.hxx" #include "FieldDescriptions.hxx" #include <comphelper/processfactory.hxx> @@ -129,7 +128,6 @@ using namespace ::svt; using ::com::sun::star::ucb::InteractiveIOException; using ::com::sun::star::ucb::IOErrorCode_NO_FILE; using ::com::sun::star::ucb::IOErrorCode_NOT_EXISTING; -using ::com::sun::star::frame::XModel; SQLExceptionInfo createConnection( const OUString& _rsDataSourceName, const Reference< css::container::XNameAccess >& _xDatabaseContext, diff --git a/dbaccess/source/ui/misc/controllerframe.cxx b/dbaccess/source/ui/misc/controllerframe.cxx index a2899817c4a4..a69e3abace30 100644 --- a/dbaccess/source/ui/misc/controllerframe.cxx +++ b/dbaccess/source/ui/misc/controllerframe.cxx @@ -20,7 +20,6 @@ #include <dbaccess/controllerframe.hxx> #include <dbaccess/IController.hxx> -#include <com/sun/star/sdb/XOfficeDatabaseDocument.hpp> #include <com/sun/star/awt/XTopWindow.hpp> #include <com/sun/star/awt/XWindow2.hpp> #include <com/sun/star/lang/DisposedException.hpp> @@ -54,8 +53,6 @@ namespace dbaui using ::com::sun::star::frame::XModel; using ::com::sun::star::frame::XController; using ::com::sun::star::frame::XController2; - using ::com::sun::star::frame::XFramesSupplier; - using ::com::sun::star::sdb::XOfficeDatabaseDocument; using ::com::sun::star::awt::XTopWindow; using ::com::sun::star::awt::XTopWindowListener; using ::com::sun::star::awt::XWindow2; diff --git a/dbaccess/source/ui/misc/datasourceconnector.cxx b/dbaccess/source/ui/misc/datasourceconnector.cxx index 830445e65a21..174e92c72d86 100644 --- a/dbaccess/source/ui/misc/datasourceconnector.cxx +++ b/dbaccess/source/ui/misc/datasourceconnector.cxx @@ -54,7 +54,6 @@ namespace dbaui using namespace ::com::sun::star::container; using namespace ::com::sun::star::frame; using namespace ::dbtools; - using ::svt::OFileNotation; // ODatasourceConnector ODatasourceConnector::ODatasourceConnector(const Reference< XComponentContext >& _rxContext, vcl::Window* _pMessageParent) diff --git a/dbaccess/source/ui/misc/dbaundomanager.cxx b/dbaccess/source/ui/misc/dbaundomanager.cxx index 572be847d3a7..0f188150aee0 100644 --- a/dbaccess/source/ui/misc/dbaundomanager.cxx +++ b/dbaccess/source/ui/misc/dbaundomanager.cxx @@ -30,7 +30,6 @@ namespace dbaui using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::XInterface; - using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Sequence; using ::com::sun::star::document::XUndoManager; diff --git a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx index 3fb396a20587..1d00252ebc0e 100644 --- a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx +++ b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx @@ -54,7 +54,6 @@ namespace dbaui using ::com::sun::star::uno::Any; using ::com::sun::star::uno::Reference; using ::com::sun::star::beans::XPropertySet; - using ::com::sun::star::lang::XMultiServiceFactory; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Type; diff --git a/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx b/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx index acce7c928b7e..4ea7d2024b82 100644 --- a/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx +++ b/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx @@ -24,8 +24,6 @@ #include "moduledbu.hxx" #include <com/sun/star/lang/IllegalArgumentException.hpp> -#include <com/sun/star/sdbcx/XTablesSupplier.hpp> -#include <com/sun/star/sdb/XQueriesSupplier.hpp> #include <com/sun/star/sdb/CommandType.hpp> #include <com/sun/star/sdb/tools/XConnectionTools.hpp> @@ -44,14 +42,11 @@ namespace dbaui { using ::com::sun::star::uno::Reference; - using ::com::sun::star::container::XNameAccess; using ::com::sun::star::lang::IllegalArgumentException; using ::com::sun::star::container::XHierarchicalNameAccess; using ::com::sun::star::sdbc::SQLException; using ::com::sun::star::uno::Exception; using ::com::sun::star::sdbc::XConnection; - using ::com::sun::star::sdbcx::XTablesSupplier; - using ::com::sun::star::sdb::XQueriesSupplier; using ::com::sun::star::sdb::tools::XObjectNames; using ::com::sun::star::sdb::tools::XConnectionTools; using ::com::sun::star::uno::UNO_QUERY; diff --git a/dbaccess/source/ui/misc/imageprovider.cxx b/dbaccess/source/ui/misc/imageprovider.cxx index cd2bc451c16b..ba570bfa62ab 100644 --- a/dbaccess/source/ui/misc/imageprovider.cxx +++ b/dbaccess/source/ui/misc/imageprovider.cxx @@ -22,7 +22,6 @@ #include "moduledbu.hxx" #include "dbustrings.hrc" -#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/graphic/XGraphic.hpp> #include <com/sun/star/graphic/GraphicColorMode.hpp> #include <com/sun/star/sdb/application/XTableUIProvider.hpp> @@ -37,7 +36,6 @@ namespace dbaui using ::com::sun::star::sdbc::XConnection; using ::com::sun::star::uno::Exception; using ::com::sun::star::container::XNameAccess; - using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::graphic::XGraphic; using ::com::sun::star::sdb::application::XTableUIProvider; using ::com::sun::star::uno::UNO_QUERY; diff --git a/dbaccess/source/ui/misc/propertystorage.cxx b/dbaccess/source/ui/misc/propertystorage.cxx index aabc811f4e1e..c3234a0c28e6 100644 --- a/dbaccess/source/ui/misc/propertystorage.cxx +++ b/dbaccess/source/ui/misc/propertystorage.cxx @@ -31,9 +31,6 @@ namespace dbaui { - using ::com::sun::star::uno::XInterface; - using ::com::sun::star::uno::Exception; - using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Any; // helper diff --git a/dbaccess/source/ui/misc/singledoccontroller.cxx b/dbaccess/source/ui/misc/singledoccontroller.cxx index 60fae518374d..4487b9d2b369 100644 --- a/dbaccess/source/ui/misc/singledoccontroller.cxx +++ b/dbaccess/source/ui/misc/singledoccontroller.cxx @@ -26,20 +26,16 @@ #include "moduledbu.hxx" #include <svl/undo.hxx> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <osl/diagnose.h> namespace dbaui { using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; - using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::XComponentContext; using ::com::sun::star::document::XUndoManager; - using ::com::sun::star::lang::XMultiServiceFactory; using ::com::sun::star::beans::PropertyValue; using ::com::sun::star::lang::EventObject; diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx index 925936eb0a74..144df8b397e2 100644 --- a/dbaccess/source/ui/uno/copytablewizard.cxx +++ b/dbaccess/source/ui/uno/copytablewizard.cxx @@ -48,8 +48,6 @@ #include <com/sun/star/sdb/XSingleSelectQueryComposer.hpp> #include <com/sun/star/sdbc/XParameters.hpp> #include <com/sun/star/sdbc/XRow.hpp> -#include <com/sun/star/sdbc/XBlob.hpp> -#include <com/sun/star/sdbc/XClob.hpp> #include <com/sun/star/sdbcx/XRowLocate.hpp> #include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp> #include <com/sun/star/sdb/SQLContext.hpp> @@ -120,15 +118,12 @@ namespace dbaui using ::com::sun::star::sdbc::XParameters; using ::com::sun::star::sdbc::XResultSet; using ::com::sun::star::sdbc::XRow; - using ::com::sun::star::sdbc::XBlob; - using ::com::sun::star::sdbc::XClob; using ::com::sun::star::sdbcx::XRowLocate; using ::com::sun::star::sdbc::XResultSetMetaDataSupplier; using ::com::sun::star::sdbc::XResultSetMetaData; using ::com::sun::star::sdbc::SQLException; using ::com::sun::star::sdb::SQLContext; using ::com::sun::star::sdbc::ConnectionPool; - using ::com::sun::star::sdbc::XConnectionPool; using ::com::sun::star::sdbc::XDriverManager; using ::com::sun::star::sdbc::DriverManager; using ::com::sun::star::beans::PropertyValue; diff --git a/desktop/source/deployment/registry/executable/dp_executable.cxx b/desktop/source/deployment/registry/executable/dp_executable.cxx index b0719d61196b..0b7841ede322 100644 --- a/desktop/source/deployment/registry/executable/dp_executable.cxx +++ b/desktop/source/deployment/registry/executable/dp_executable.cxx @@ -98,7 +98,6 @@ public: throw (deployment::DeploymentException, uno::RuntimeException, std::exception) override; - using PackageRegistryBackend::disposing; }; diff --git a/dtrans/source/win32/clipb/MtaOleClipb.cxx b/dtrans/source/win32/clipb/MtaOleClipb.cxx index 39975e8739ae..843a73d51d13 100644 --- a/dtrans/source/win32/clipb/MtaOleClipb.cxx +++ b/dtrans/source/win32/clipb/MtaOleClipb.cxx @@ -40,7 +40,6 @@ #include <sal/log.hxx> #include "MtaOleClipb.hxx" -#include <osl/conditn.hxx> #include <osl/thread.h> #include <wchar.h> @@ -56,8 +55,6 @@ // namespace directives -using osl::Condition; -using osl::Mutex; using osl::MutexGuard; using osl::ClearableMutexGuard; diff --git a/editeng/source/uno/unoipset.cxx b/editeng/source/uno/unoipset.cxx index 6399834bf70e..2bfbbed02f5a 100644 --- a/editeng/source/uno/unoipset.cxx +++ b/editeng/source/uno/unoipset.cxx @@ -31,7 +31,6 @@ using namespace ::com::sun::star; -using ::std::vector; struct SvxIDPropertyCombine { diff --git a/extensions/source/logging/consolehandler.cxx b/extensions/source/logging/consolehandler.cxx index b27b3ae2d3aa..340518d09884 100644 --- a/extensions/source/logging/consolehandler.cxx +++ b/extensions/source/logging/consolehandler.cxx @@ -44,7 +44,6 @@ namespace logging using ::com::sun::star::logging::XLogFormatter; using ::com::sun::star::uno::Sequence; using ::com::sun::star::logging::LogRecord; - using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::XInterface; using ::com::sun::star::lang::IllegalArgumentException; using ::com::sun::star::beans::NamedValue; diff --git a/extensions/source/logging/logger.cxx b/extensions/source/logging/logger.cxx index a4df5ab5bfe3..6e8d757cfeb7 100644 --- a/extensions/source/logging/logger.cxx +++ b/extensions/source/logging/logger.cxx @@ -46,7 +46,6 @@ namespace logging using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::XInterface; - using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::WeakReference; using ::com::sun::star::logging::XLogHandler; using ::com::sun::star::logging::LogRecord; diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx index ab0d37aabc52..5389c006bfb6 100644 --- a/extensions/source/propctrlr/browserlistbox.cxx +++ b/extensions/source/propctrlr/browserlistbox.cxx @@ -53,7 +53,6 @@ namespace pcr using ::com::sun::star::lang::DisposedException; using ::com::sun::star::lang::XComponent; using ::com::sun::star::uno::UNO_QUERY; - using ::com::sun::star::graphic::XGraphic; namespace PropertyControlType = ::com::sun::star::inspection::PropertyControlType; diff --git a/extensions/source/propctrlr/commoncontrol.cxx b/extensions/source/propctrlr/commoncontrol.cxx index 8ace458122d8..4d37c7077500 100644 --- a/extensions/source/propctrlr/commoncontrol.cxx +++ b/extensions/source/propctrlr/commoncontrol.cxx @@ -32,7 +32,6 @@ namespace pcr using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Reference; using ::com::sun::star::inspection::XPropertyControlContext; - using ::com::sun::star::awt::XWindow; using ::com::sun::star::uno::Exception; using ::com::sun::star::inspection::XPropertyControl; diff --git a/extensions/source/propctrlr/composeduiupdate.cxx b/extensions/source/propctrlr/composeduiupdate.cxx index c930c768ab43..faf619e6567a 100644 --- a/extensions/source/propctrlr/composeduiupdate.cxx +++ b/extensions/source/propctrlr/composeduiupdate.cxx @@ -33,7 +33,6 @@ namespace pcr { - using ::com::sun::star::uno::Exception; using ::com::sun::star::lang::DisposedException; using ::com::sun::star::lang::NullPointerException; using ::com::sun::star::inspection::XPropertyHandler; diff --git a/extensions/source/propctrlr/defaultforminspection.cxx b/extensions/source/propctrlr/defaultforminspection.cxx index 3276503eb7e1..5af33e4cbe6d 100644 --- a/extensions/source/propctrlr/defaultforminspection.cxx +++ b/extensions/source/propctrlr/defaultforminspection.cxx @@ -49,9 +49,7 @@ namespace pcr using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::XComponentContext; using ::com::sun::star::uno::Exception; - using ::com::sun::star::lang::EventObject; using ::com::sun::star::inspection::PropertyCategoryDescriptor; - using ::com::sun::star::beans::UnknownPropertyException; using ::com::sun::star::ucb::AlreadyInitializedException; using ::com::sun::star::lang::IllegalArgumentException; diff --git a/extensions/source/propctrlr/defaulthelpprovider.cxx b/extensions/source/propctrlr/defaulthelpprovider.cxx index 414d6008f416..21d6a87db425 100644 --- a/extensions/source/propctrlr/defaulthelpprovider.cxx +++ b/extensions/source/propctrlr/defaulthelpprovider.cxx @@ -25,7 +25,6 @@ #include <com/sun/star/ucb/AlreadyInitializedException.hpp> #include <com/sun/star/lang/IllegalArgumentException.hpp> -#include <com/sun/star/awt/XVclWindowPeer.hpp> #include <toolkit/helper/vclunohelper.hxx> #include <vcl/window.hxx> @@ -56,7 +55,6 @@ namespace pcr using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::awt::XWindow; - using ::com::sun::star::awt::XVclWindowPeer; DefaultHelpProvider::DefaultHelpProvider() :m_bConstructed( false ) diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx index 17dc4a7461da..8a648169ce2e 100644 --- a/extensions/source/propctrlr/eventhandler.cxx +++ b/extensions/source/propctrlr/eventhandler.cxx @@ -47,7 +47,6 @@ #include <com/sun/star/lang/NullPointerException.hpp> #include <com/sun/star/script/XEventAttacherManager.hpp> #include <com/sun/star/script/XScriptEventsSupplier.hpp> -#include <com/sun/star/util/XModifiable.hpp> #include <com/sun/star/uri/UriReferenceFactory.hpp> #include <com/sun/star/uri/XVndSunStarScriptUrlReference.hpp> @@ -82,7 +81,6 @@ namespace pcr using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::XComponentContext; - using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::uno::Any; using ::com::sun::star::uno::TypeClass_STRING; using ::com::sun::star::uno::Type; @@ -124,7 +122,6 @@ namespace pcr using ::com::sun::star::inspection::InteractiveSelectionResult_Cancelled; using ::com::sun::star::inspection::InteractiveSelectionResult_Success; using ::com::sun::star::inspection::XObjectInspectorUI; - using ::com::sun::star::util::XModifiable; using ::com::sun::star::beans::PropertyChangeEvent; using ::com::sun::star::frame::XFrame; using ::com::sun::star::frame::XModel; diff --git a/extensions/source/propctrlr/formcontroller.cxx b/extensions/source/propctrlr/formcontroller.cxx index 0853c3c44aed..097db8089589 100644 --- a/extensions/source/propctrlr/formcontroller.cxx +++ b/extensions/source/propctrlr/formcontroller.cxx @@ -25,9 +25,6 @@ #include "propctrlr.hrc" #include <com/sun/star/beans/PropertyAttribute.hpp> -#include <com/sun/star/form/XGridColumnFactory.hpp> -#include <com/sun/star/form/XForm.hpp> -#include <com/sun/star/container/XChild.hpp> #include <cppuhelper/typeprovider.hxx> #include <toolkit/helper/vclunohelper.hxx> @@ -62,11 +59,6 @@ namespace pcr using ::com::sun::star::util::VetoException; using ::com::sun::star::beans::PropertyVetoException; using ::com::sun::star::uno::UNO_QUERY; - using ::com::sun::star::form::XGridColumnFactory; - using ::com::sun::star::form::XForm; - using ::com::sun::star::container::XChild; - using ::com::sun::star::frame::XFrame; - using ::com::sun::star::awt::XWindow; namespace PropertyAttribute = css::beans::PropertyAttribute; diff --git a/extensions/source/propctrlr/formgeometryhandler.cxx b/extensions/source/propctrlr/formgeometryhandler.cxx index af1223a4c1e2..c341e591c794 100644 --- a/extensions/source/propctrlr/formgeometryhandler.cxx +++ b/extensions/source/propctrlr/formgeometryhandler.cxx @@ -36,7 +36,6 @@ #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/sheet/XSpreadsheet.hpp> #include <com/sun/star/table/XColumnRowRange.hpp> -#include <com/sun/star/table/XCellRange.hpp> #include <com/sun/star/container/XChild.hpp> #include <com/sun/star/form/XGridColumnFactory.hpp> @@ -85,7 +84,6 @@ namespace pcr using ::com::sun::star::table::XColumnRowRange; using ::com::sun::star::table::XTableColumns; using ::com::sun::star::table::XTableRows; - using ::com::sun::star::table::XCellRange; using ::com::sun::star::container::XIndexAccess; using ::com::sun::star::container::XChild; using ::com::sun::star::form::XGridColumnFactory; diff --git a/extensions/source/propctrlr/inspectormodelbase.cxx b/extensions/source/propctrlr/inspectormodelbase.cxx index cd81bd6b7879..a106c2cf0640 100644 --- a/extensions/source/propctrlr/inspectormodelbase.cxx +++ b/extensions/source/propctrlr/inspectormodelbase.cxx @@ -36,14 +36,12 @@ namespace pcr #define MODEL_PROPERTY_ID_IS_READ_ONLY 2003 using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XComponentContext; using ::com::sun::star::beans::XPropertySetInfo; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Any; using ::com::sun::star::lang::IllegalArgumentException; using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::Sequence; - using ::com::sun::star::inspection::PropertyCategoryDescriptor; using ::com::sun::star::uno::makeAny; using ::com::sun::star::beans::Property; diff --git a/extensions/source/propctrlr/objectinspectormodel.cxx b/extensions/source/propctrlr/objectinspectormodel.cxx index 2d93250b876a..544d273c79b7 100644 --- a/extensions/source/propctrlr/objectinspectormodel.cxx +++ b/extensions/source/propctrlr/objectinspectormodel.cxx @@ -46,7 +46,6 @@ namespace pcr using ::com::sun::star::uno::XInterface; using ::com::sun::star::lang::IllegalArgumentException; using ::com::sun::star::ucb::AlreadyInitializedException; - using ::com::sun::star::beans::XPropertySetInfo; //= ObjectInspectorModel diff --git a/extensions/source/propctrlr/propertycontrolextender.cxx b/extensions/source/propctrlr/propertycontrolextender.cxx index c885977b2f69..fb935bced843 100644 --- a/extensions/source/propctrlr/propertycontrolextender.cxx +++ b/extensions/source/propctrlr/propertycontrolextender.cxx @@ -30,7 +30,6 @@ namespace pcr using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::UNO_SET_THROW; using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::RuntimeException; diff --git a/extensions/source/propctrlr/propeventtranslation.cxx b/extensions/source/propctrlr/propeventtranslation.cxx index 804e8c39ad88..afb33a5be685 100644 --- a/extensions/source/propctrlr/propeventtranslation.cxx +++ b/extensions/source/propctrlr/propeventtranslation.cxx @@ -20,7 +20,6 @@ #include "propeventtranslation.hxx" #include <com/sun/star/lang/DisposedException.hpp> -#include <com/sun/star/lang/NullPointerException.hpp> namespace pcr @@ -34,7 +33,6 @@ namespace pcr using ::com::sun::star::beans::XPropertyChangeListener; using ::com::sun::star::uno::XInterface; using ::com::sun::star::lang::DisposedException; - using ::com::sun::star::lang::NullPointerException; //= PropertyEventTranslation diff --git a/extensions/source/propctrlr/sqlcommanddesign.cxx b/extensions/source/propctrlr/sqlcommanddesign.cxx index 44980dfade5a..6518c30665ac 100644 --- a/extensions/source/propctrlr/sqlcommanddesign.cxx +++ b/extensions/source/propctrlr/sqlcommanddesign.cxx @@ -29,15 +29,12 @@ #include <com/sun/star/frame/Desktop.hpp> #include <com/sun/star/frame/XTitle.hpp> #include <com/sun/star/frame/XComponentLoader.hpp> -#include <com/sun/star/frame/XController.hpp> #include <com/sun/star/lang/NullPointerException.hpp> #include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/frame/FrameSearchFlag.hpp> -#include <com/sun/star/frame/XFramesSupplier.hpp> #include <com/sun/star/sdbc/XConnection.hpp> #include <com/sun/star/util/XCloseable.hpp> #include <com/sun/star/frame/XDispatchProvider.hpp> -#include <com/sun/star/beans/XPropertySetInfo.hpp> #include <com/sun/star/sdb/CommandType.hpp> #include <svtools/localresaccess.hxx> @@ -50,7 +47,6 @@ namespace pcr using ::com::sun::star::uno::Reference; - using ::com::sun::star::lang::XMultiComponentFactory; using ::com::sun::star::beans::PropertyChangeEvent; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::frame::XFrame; @@ -64,17 +60,13 @@ namespace pcr using ::com::sun::star::lang::XComponent; using ::com::sun::star::frame::XComponentLoader; using ::com::sun::star::beans::XPropertySet; - using ::com::sun::star::beans::XPropertySetInfo; - using ::com::sun::star::frame::XController; using ::com::sun::star::frame::XTitle; using ::com::sun::star::lang::EventObject; using ::com::sun::star::lang::NullPointerException; using ::com::sun::star::lang::DisposedException; using ::com::sun::star::uno::XComponentContext; - using ::com::sun::star::frame::XFramesSupplier; using ::com::sun::star::frame::XFrames; using ::com::sun::star::util::XCloseable; - using ::com::sun::star::uno::TypeClass_STRING; using ::com::sun::star::lang::XMultiServiceFactory; using ::com::sun::star::frame::XDispatchProvider; using ::com::sun::star::frame::XDispatch; diff --git a/filter/source/flash/swfexporter.cxx b/filter/source/flash/swfexporter.cxx index 4aa4845b0fca..66ce94984dcf 100644 --- a/filter/source/flash/swfexporter.cxx +++ b/filter/source/flash/swfexporter.cxx @@ -23,9 +23,6 @@ #include <com/sun/star/drawing/XMasterPageTarget.hpp> #include <com/sun/star/drawing/XDrawPagesSupplier.hpp> #include <com/sun/star/container/XIndexAccess.hpp> -#include <com/sun/star/document/XFilter.hpp> -#include <com/sun/star/document/XExporter.hpp> -#include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/task/XStatusIndicatorFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <vcl/gdimtf.hxx> @@ -53,10 +50,6 @@ using com::sun::star::beans::PropertyValue; using com::sun::star::container::XIndexAccess; using com::sun::star::beans::XPropertySet; using com::sun::star::lang::XComponent; -using com::sun::star::lang::IllegalArgumentException; -using com::sun::star::document::XExporter; -using com::sun::star::document::XFilter; -using com::sun::star::frame::XModel; using com::sun::star::lang::XServiceInfo; diff --git a/filter/source/flash/swffilter.cxx b/filter/source/flash/swffilter.cxx index 3fad7e58ea88..ff6b13870861 100644 --- a/filter/source/flash/swffilter.cxx +++ b/filter/source/flash/swffilter.cxx @@ -26,7 +26,6 @@ #include <com/sun/star/drawing/XDrawPagesSupplier.hpp> #include <com/sun/star/drawing/XDrawView.hpp> #include <com/sun/star/container/XIndexAccess.hpp> -#include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/task/XStatusIndicatorFactory.hpp> #include <com/sun/star/io/XOutputStream.hpp> @@ -57,8 +56,6 @@ using ::com::sun::star::lang::XComponent; using ::com::sun::star::beans::PropertyValue; using ::com::sun::star::io::XOutputStream; using ::com::sun::star::container::XIndexAccess; -using ::osl::FileBase; -using ::com::sun::star::frame::XModel; namespace swf { diff --git a/forms/source/component/Pattern.cxx b/forms/source/component/Pattern.cxx index 9f01b4217343..e0d54db2844d 100644 --- a/forms/source/component/Pattern.cxx +++ b/forms/source/component/Pattern.cxx @@ -21,12 +21,10 @@ #include "comphelper/processfactory.hxx" using ::com::sun::star::uno::Reference; -using ::com::sun::star::lang::XMultiServiceFactory; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Type; using ::com::sun::star::uno::XComponentContext; using ::com::sun::star::beans::Property; -using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::Any; using ::com::sun::star::uno::makeAny; diff --git a/forms/source/component/cachedrowset.cxx b/forms/source/component/cachedrowset.cxx index 7e530f95d210..b62075165b23 100644 --- a/forms/source/component/cachedrowset.cxx +++ b/forms/source/component/cachedrowset.cxx @@ -22,7 +22,6 @@ #include "services.hxx" #include "frm_strings.hxx" -#include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/sdb/XQueriesSupplier.hpp> #include <com/sun/star/sdbc/ResultSetType.hpp> @@ -38,10 +37,7 @@ namespace frm using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::UNO_SET_THROW; using ::com::sun::star::uno::Exception; - using ::com::sun::star::uno::RuntimeException; - using ::com::sun::star::uno::XComponentContext; using ::com::sun::star::sdbc::XConnection; - using ::com::sun::star::lang::XComponent; using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::uno::makeAny; using ::com::sun::star::sdbc::SQLException; diff --git a/forms/source/helper/commandimageprovider.cxx b/forms/source/helper/commandimageprovider.cxx index 25a082a18f6b..e051eb31436b 100644 --- a/forms/source/helper/commandimageprovider.cxx +++ b/forms/source/helper/commandimageprovider.cxx @@ -34,12 +34,10 @@ namespace frm using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::UNO_SET_THROW; using ::com::sun::star::uno::Exception; - using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::XComponentContext; using ::com::sun::star::frame::XModel; diff --git a/forms/source/helper/resettable.cxx b/forms/source/helper/resettable.cxx index 71d729f34686..415cbf68859d 100644 --- a/forms/source/helper/resettable.cxx +++ b/forms/source/helper/resettable.cxx @@ -27,9 +27,6 @@ namespace frm using ::com::sun::star::uno::Reference; - using ::com::sun::star::uno::XInterface; - using ::com::sun::star::uno::Exception; - using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::form::XResetListener; using ::com::sun::star::lang::EventObject; diff --git a/forms/source/runtime/formoperations.cxx b/forms/source/runtime/formoperations.cxx index e0f936726ea6..6bf77db9e54f 100644 --- a/forms/source/runtime/formoperations.cxx +++ b/forms/source/runtime/formoperations.cxx @@ -107,7 +107,6 @@ namespace frm using ::com::sun::star::beans::XMultiPropertySet; using ::com::sun::star::uno::makeAny; using ::com::sun::star::lang::WrappedTargetException; - using ::com::sun::star::beans::PropertyValue; using ::com::sun::star::ui::dialogs::XExecutableDialog; using ::com::sun::star::beans::NamedValue; using ::com::sun::star::util::XRefreshable; diff --git a/forms/source/xforms/binding.cxx b/forms/source/xforms/binding.cxx index 19d89662d11a..ee7cd0018eb9 100644 --- a/forms/source/xforms/binding.cxx +++ b/forms/source/xforms/binding.cxx @@ -48,7 +48,6 @@ #include <com/sun/star/xml/dom/events/XDocumentEvent.hpp> #include <com/sun/star/lang/XUnoTunnel.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> -#include <com/sun/star/container/XSet.hpp> #include <com/sun/star/container/XNameContainer.hpp> #include <comphelper/propertysetinfo.hxx> @@ -64,20 +63,15 @@ using xforms::MIP; using xforms::Model; using xforms::getResource; using xforms::EvaluationContext; -using com::sun::star::beans::PropertyVetoException; -using com::sun::star::beans::UnknownPropertyException; using com::sun::star::beans::XPropertySet; -using com::sun::star::container::XSet; using com::sun::star::container::XNameAccess; using com::sun::star::form::binding::IncompatibleTypesException; using com::sun::star::form::binding::InvalidBindingStateException; using com::sun::star::form::binding::XValueBinding; using com::sun::star::lang::EventObject; -using com::sun::star::lang::IllegalArgumentException; using com::sun::star::lang::IndexOutOfBoundsException; using com::sun::star::lang::NoSupportException; using com::sun::star::lang::NullPointerException; -using com::sun::star::lang::WrappedTargetException; using com::sun::star::lang::XUnoTunnel; using com::sun::star::uno::Any; using com::sun::star::uno::Reference; diff --git a/forms/source/xforms/computedexpression.cxx b/forms/source/xforms/computedexpression.cxx index 03aae7b9ea92..68975c26e028 100644 --- a/forms/source/xforms/computedexpression.cxx +++ b/forms/source/xforms/computedexpression.cxx @@ -23,16 +23,10 @@ #include "evaluationcontext.hxx" #include "NameContainer.hxx" -#include <com/sun/star/container/XNameContainer.hpp> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/xml/dom/NodeType.hpp> -#include <com/sun/star/xml/dom/XNode.hpp> #include <com/sun/star/xml/xpath/XPathAPI.hpp> -#include <com/sun/star/xml/xpath/XXPathObject.hpp> #include <com/sun/star/xml/xpath/XPathExtension.hpp> -#include <com/sun/star/beans/NamedValue.hpp> -#include <com/sun/star/lang/XInitialization.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/util/SearchAlgorithms2.hpp> #include <osl/diagnose.h> @@ -40,17 +34,11 @@ #include <unotools/textsearch.hxx> #include <comphelper/processfactory.hxx> -using com::sun::star::beans::NamedValue; using namespace com::sun::star::uno; -using com::sun::star::lang::XInitialization; -using com::sun::star::lang::XMultiServiceFactory; -using com::sun::star::xml::dom::XNode; -using com::sun::star::container::XNameContainer; using com::sun::star::xml::xpath::XPathAPI; using com::sun::star::xml::xpath::XXPathAPI; using com::sun::star::xml::xpath::XPathExtension; using com::sun::star::xml::xpath::XXPathExtension; -using com::sun::star::xml::xpath::XXPathObject; using com::sun::star::xml::xpath::XPathObjectType_XPATH_UNDEFINED; using com::sun::star::util::SearchOptions2; diff --git a/forms/source/xforms/model.cxx b/forms/source/xforms/model.cxx index 9d6b89ab1e5f..9d996f876713 100644 --- a/forms/source/xforms/model.cxx +++ b/forms/source/xforms/model.cxx @@ -42,9 +42,7 @@ #include <algorithm> // UNO classes -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> -#include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/xml/dom/XDocument.hpp> #include <com/sun/star/xml/dom/XCharacterData.hpp> #include <com/sun/star/xml/dom/NodeType.hpp> @@ -55,15 +53,11 @@ #include <com/sun/star/io/XInputStream.hpp> -using com::sun::star::lang::XMultiServiceFactory; using com::sun::star::lang::XUnoTunnel; using com::sun::star::beans::XPropertySet; using com::sun::star::beans::PropertyValue; -using com::sun::star::beans::PropertyVetoException; -using com::sun::star::beans::UnknownPropertyException; using com::sun::star::util::VetoException; using com::sun::star::lang::WrappedTargetException; -using com::sun::star::lang::IllegalArgumentException; using com::sun::star::ucb::XSimpleFileAccess3; using com::sun::star::ucb::SimpleFileAccess; using com::sun::star::io::XInputStream; diff --git a/forms/source/xforms/model_ui.cxx b/forms/source/xforms/model_ui.cxx index c83d9855416b..90a1ba37f45d 100644 --- a/forms/source/xforms/model_ui.cxx +++ b/forms/source/xforms/model_ui.cxx @@ -41,8 +41,6 @@ #include <com/sun/star/xml/xpath/XXPathObject.hpp> #include <com/sun/star/xml/xpath/XPathObjectType.hpp> #include <com/sun/star/beans/PropertyValue.hpp> -#include <com/sun/star/io/XInputStream.hpp> -#include <com/sun/star/io/XActiveDataSink.hpp> #include <com/sun/star/io/TextInputStream.hpp> #include <com/sun/star/container/XEnumeration.hpp> #include <com/sun/star/container/XNameContainer.hpp> @@ -54,8 +52,6 @@ using com::sun::star::beans::PropertyValue; -using com::sun::star::io::XInputStream; -using com::sun::star::io::XActiveDataSink; using com::sun::star::io::TextInputStream; using com::sun::star::io::XTextInputStream2; using com::sun::star::container::XEnumeration; diff --git a/forms/source/xforms/pathexpression.cxx b/forms/source/xforms/pathexpression.cxx index a6746dd6dc49..82dab2fbf547 100644 --- a/forms/source/xforms/pathexpression.cxx +++ b/forms/source/xforms/pathexpression.cxx @@ -25,11 +25,7 @@ #include <com/sun/star/xml/dom/XNode.hpp> #include <com/sun/star/xml/dom/XNodeList.hpp> -#include <com/sun/star/xml/dom/NodeType.hpp> -#include <com/sun/star/xml/dom/events/XEventListener.hpp> -#include <com/sun/star/xml/dom/events/XEventTarget.hpp> #include <com/sun/star/xml/xpath/XXPathObject.hpp> -#include <com/sun/star/container/XNameContainer.hpp> #include <rtl/ustrbuf.hxx> #include <unotools/textsearch.hxx> @@ -41,13 +37,6 @@ using com::sun::star::uno::Reference; using com::sun::star::xml::dom::XNode; using com::sun::star::xml::dom::XNodeList; -using com::sun::star::xml::dom::events::XEventListener; -using com::sun::star::xml::dom::events::XEventTarget; -using com::sun::star::container::XNameContainer; -using com::sun::star::xml::xpath::XXPathObject; -using com::sun::star::uno::RuntimeException; -using com::sun::star::xml::dom::NodeType_TEXT_NODE; -using com::sun::star::xml::xpath::XPathObjectType_XPATH_UNDEFINED; using namespace std; diff --git a/forms/source/xforms/submission.cxx b/forms/source/xforms/submission.cxx index 923085ae1803..4e6182090717 100644 --- a/forms/source/xforms/submission.cxx +++ b/forms/source/xforms/submission.cxx @@ -35,9 +35,6 @@ #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/xforms/XModel.hpp> #include <com/sun/star/uno/RuntimeException.hpp> -#include <com/sun/star/xml/xpath/XXPathObject.hpp> -#include <com/sun/star/container/XNameAccess.hpp> -#include <com/sun/star/xml/xpath/XPathObjectType.hpp> #include <com/sun/star/xml/dom/XNodeList.hpp> #include <com/sun/star/xml/dom/XDocument.hpp> #include <com/sun/star/xml/dom/DocumentBuilder.hpp> @@ -66,9 +63,7 @@ using com::sun::star::task::XInteractionRequest; using com::sun::star::task::XInteractionContinuation; using com::sun::star::xforms::XModel; using com::sun::star::xforms::InvalidDataOnSubmitException; -using com::sun::star::container::XNameAccess; using com::sun::star::xml::xpath::XXPathObject; -using com::sun::star::xml::xpath::XPathObjectType; using com::sun::star::frame::XFrame; using xforms::Submission; using xforms::Model; diff --git a/forms/source/xforms/submission/serialization_app_xml.cxx b/forms/source/xforms/submission/serialization_app_xml.cxx index bdd073cfd3d6..1d3d701e3c06 100644 --- a/forms/source/xforms/submission/serialization_app_xml.cxx +++ b/forms/source/xforms/submission/serialization_app_xml.cxx @@ -32,7 +32,6 @@ #include <com/sun/star/xml/sax/XSAXSerializable.hpp> #include <com/sun/star/xml/sax/Writer.hpp> #include <com/sun/star/beans/StringPair.hpp> -#include <com/sun/star/io/XActiveDataSource.hpp> #include <com/sun/star/xml/dom/XDocumentBuilder.hpp> #include <tools/diagnose_ex.h> @@ -44,7 +43,6 @@ using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::Sequence; -using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::UNO_SET_THROW; @@ -53,7 +51,6 @@ using ::com::sun::star::xml::dom::XNode; using ::com::sun::star::xml::dom::XDocument; using ::com::sun::star::xml::sax::XSAXSerializable; using ::com::sun::star::beans::StringPair; -using ::com::sun::star::io::XActiveDataSource; using ::com::sun::star::xml::dom::NodeType_DOCUMENT_NODE; using ::com::sun::star::xml::dom::NodeType_ELEMENT_NODE; using ::com::sun::star::xml::dom::XDocumentBuilder; diff --git a/forms/source/xforms/unohelper.cxx b/forms/source/xforms/unohelper.cxx index 35273757944f..90d1aebb9c44 100644 --- a/forms/source/xforms/unohelper.cxx +++ b/forms/source/xforms/unohelper.cxx @@ -24,9 +24,7 @@ #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Sequence.hxx> -#include <com/sun/star/uno/XInterface.hpp> #include <com/sun/star/uno/Exception.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/beans/Property.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/XPropertySetInfo.hpp> @@ -37,8 +35,6 @@ using com::sun::star::uno::Reference; using com::sun::star::uno::Sequence; using com::sun::star::uno::Exception; -using com::sun::star::uno::XInterface; -using com::sun::star::lang::XMultiServiceFactory; using com::sun::star::beans::Property; using com::sun::star::beans::XPropertySet; using com::sun::star::beans::XPropertySetInfo; diff --git a/forms/source/xforms/xpathlib/extension.cxx b/forms/source/xforms/xpathlib/extension.cxx index fe548e758322..5bf519918960 100644 --- a/forms/source/xforms/xpathlib/extension.cxx +++ b/forms/source/xforms/xpathlib/extension.cxx @@ -29,7 +29,6 @@ using namespace com::sun::star::lang; using namespace com::sun::star::xforms; using namespace com::sun::star::xml::xpath; using namespace com::sun::star::beans; -using com::sun::star::xml::dom::XNode; Libxml2ExtensionHandle SAL_CALL CLibxml2XFormsExtension::getLibxml2ExtensionHandle() throw (RuntimeException, std::exception) { diff --git a/fpicker/source/aqua/FPentry.mm b/fpicker/source/aqua/FPentry.mm index ffbf21884f66..012d219bdaf8 100644 --- a/fpicker/source/aqua/FPentry.mm +++ b/fpicker/source/aqua/FPentry.mm @@ -31,7 +31,6 @@ using namespace ::com::sun::star::container; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::registry; using namespace ::cppu; -using ::com::sun::star::ui::dialogs::XFilePicker; static Reference< XInterface > SAL_CALL createFileInstance( const Reference< XMultiServiceFactory >& ) diff --git a/fpicker/source/win32/filepicker/FPentry.cxx b/fpicker/source/win32/filepicker/FPentry.cxx index 99fe074e7a20..ff8891983c62 100644 --- a/fpicker/source/win32/filepicker/FPentry.cxx +++ b/fpicker/source/win32/filepicker/FPentry.cxx @@ -43,7 +43,6 @@ using namespace ::com::sun::star::container ; using namespace ::com::sun::star::lang ; using namespace ::com::sun::star::registry ; using namespace ::cppu ; -using ::com::sun::star::ui::dialogs::XFilePicker; using ::com::sun::star::ui::dialogs::XFilePicker2; diff --git a/fpicker/source/win32/folderpicker/FolderPicker.cxx b/fpicker/source/win32/folderpicker/FolderPicker.cxx index d9666ce8f37e..11010296f8b9 100644 --- a/fpicker/source/win32/folderpicker/FolderPicker.cxx +++ b/fpicker/source/win32/folderpicker/FolderPicker.cxx @@ -20,7 +20,6 @@ #include <osl/diagnose.h> #include "FolderPicker.hxx" -#include <com/sun/star/lang/DisposedException.hpp> #include <cppuhelper/supportsservice.hxx> #include "WinFOPImpl.hxx" @@ -31,10 +30,8 @@ using com::sun::star::uno::Reference; using com::sun::star::uno::RuntimeException; using com::sun::star::uno::Sequence; -using com::sun::star::uno::XInterface; using com::sun::star::lang::XMultiServiceFactory; using com::sun::star::lang::XServiceInfo; -using com::sun::star::lang::DisposedException; using com::sun::star::lang::IllegalArgumentException; using osl::MutexGuard; diff --git a/fpicker/source/win32/folderpicker/MtaFop.cxx b/fpicker/source/win32/folderpicker/MtaFop.cxx index 99a436c2859e..3c3622ae5eea 100644 --- a/fpicker/source/win32/folderpicker/MtaFop.cxx +++ b/fpicker/source/win32/folderpicker/MtaFop.cxx @@ -19,7 +19,6 @@ #include <osl/diagnose.h> #include <osl/thread.h> -#include <osl/conditn.hxx> #include "MtaFop.hxx" #include <wchar.h> @@ -28,7 +27,6 @@ #include <systools/win32/comtools.hxx> -using osl::Condition; const sal_uInt32 MSG_BROWSEFORFOLDER = WM_USER + 1; const sal_uInt32 MSG_SHUTDOWN = WM_USER + 2; diff --git a/fpicker/source/win32/folderpicker/WinFOPImpl.cxx b/fpicker/source/win32/folderpicker/WinFOPImpl.cxx index 7bfc506a2dc8..9c6d100135af 100644 --- a/fpicker/source/win32/folderpicker/WinFOPImpl.cxx +++ b/fpicker/source/win32/folderpicker/WinFOPImpl.cxx @@ -19,7 +19,6 @@ #include "WinFOPImpl.hxx" #include <osl/diagnose.h> -#include <com/sun/star/lang/EventObject.hpp> #include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp> #include "FopEvtDisp.hxx" @@ -32,7 +31,6 @@ using com::sun::star::uno::RuntimeException; using com::sun::star::lang::IllegalArgumentException; -using com::sun::star::lang::EventObject; using namespace com::sun::star::ui::dialogs; using osl::FileBase; diff --git a/framework/source/uiconfiguration/moduleimagemanager.cxx b/framework/source/uiconfiguration/moduleimagemanager.cxx index ad4bb6dcfc7e..323e9ab6417b 100644 --- a/framework/source/uiconfiguration/moduleimagemanager.cxx +++ b/framework/source/uiconfiguration/moduleimagemanager.cxx @@ -49,7 +49,6 @@ // namespaces using ::com::sun::star::uno::Sequence; -using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Any; diff --git a/framework/source/uielement/statusbarmerger.cxx b/framework/source/uielement/statusbarmerger.cxx index 69e0c7ade54d..68ca2c84966e 100644 --- a/framework/source/uielement/statusbarmerger.cxx +++ b/framework/source/uielement/statusbarmerger.cxx @@ -19,7 +19,6 @@ #include <uielement/statusbarmerger.hxx> using rtl::OUString; -using com::sun::star::frame::XFrame; using com::sun::star::beans::PropertyValue; using com::sun::star::uno::Sequence; diff --git a/lingucomponent/source/lingutil/lingutil.cxx b/lingucomponent/source/lingutil/lingutil.cxx index e187ad542b53..32d4a5e5cb72 100644 --- a/lingucomponent/source/lingutil/lingutil.cxx +++ b/lingucomponent/source/lingutil/lingutil.cxx @@ -42,7 +42,6 @@ #include <sal/macros.h> -using ::com::sun::star::lang::Locale; using namespace ::com::sun::star; #if defined(_WIN32) diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm index a73cebaf6710..11d1356a5fd6 100644 --- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm +++ b/ |