[Libreoffice-commits] core.git: extensions/source forms/source framework/source lotuswordpro/source
Gabor Kelemen (via logerrit)
logerrit at kemper.freedesktop.org
Fri Apr 5 07:27:36 UTC 2019
extensions/source/logging/consolehandler.cxx | 1 -
extensions/source/logging/csvformatter.cxx | 1 -
extensions/source/logging/filehandler.cxx | 1 -
extensions/source/logging/logger.cxx | 1 -
extensions/source/logging/plaintextformatter.cxx | 1 -
extensions/source/propctrlr/browserlistbox.cxx | 1 -
extensions/source/propctrlr/commoncontrol.cxx | 1 -
extensions/source/propctrlr/composeduiupdate.cxx | 1 -
extensions/source/propctrlr/defaultforminspection.cxx | 2 --
extensions/source/propctrlr/eventhandler.cxx | 3 ---
extensions/source/propctrlr/formcontroller.cxx | 2 --
extensions/source/propctrlr/formgeometryhandler.cxx | 1 -
extensions/source/propctrlr/inspectormodelbase.cxx | 3 ---
extensions/source/propctrlr/objectinspectormodel.cxx | 5 -----
extensions/source/propctrlr/propertycontrolextender.cxx | 1 -
extensions/source/propctrlr/usercontrol.cxx | 1 -
forms/source/component/Pattern.cxx | 1 -
forms/source/xforms/datatyperepository.cxx | 2 --
forms/source/xforms/datatypes.cxx | 5 -----
forms/source/xforms/enumeration.cxx | 1 -
forms/source/xforms/model.cxx | 2 --
forms/source/xforms/propertysetbase.cxx | 2 --
forms/source/xforms/submission.cxx | 3 ---
forms/source/xforms/xformsevent.cxx | 2 --
framework/source/fwe/helper/documentundoguard.cxx | 1 -
framework/source/uiconfiguration/imagemanager.cxx | 2 --
framework/source/uiconfiguration/imagemanagerimpl.cxx | 2 --
framework/source/uiconfiguration/moduleimagemanager.cxx | 2 --
framework/source/uielement/statusbaritem.cxx | 1 -
lotuswordpro/source/filter/LotusWordProImportFilter.cxx | 1 -
30 files changed, 53 deletions(-)
New commits:
commit 97ab50f381433a74239d1d1f33f33146accc61c9
Author: Gabor Kelemen <kelemen.gabor2 at nisz.hu>
AuthorDate: Mon Apr 1 01:47:36 2019 +0200
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Fri Apr 5 09:27:08 2019 +0200
Remove unused using declarations in directories [e-l]*
Found by:
run-clang-tidy-7 -checks=-*,misc-unused-using-decls
Change-Id: Iee4e9df37d4c971ea97256d041afbc3d3aaa3d27
Reviewed-on: https://gerrit.libreoffice.org/70027
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
diff --git a/extensions/source/logging/consolehandler.cxx b/extensions/source/logging/consolehandler.cxx
index cf74e46e1332..e20350d5629c 100644
--- a/extensions/source/logging/consolehandler.cxx
+++ b/extensions/source/logging/consolehandler.cxx
@@ -40,7 +40,6 @@ namespace logging
using ::com::sun::star::lang::XServiceInfo;
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::XComponentContext;
- using ::com::sun::star::uno::RuntimeException;
using ::com::sun::star::logging::XLogFormatter;
using ::com::sun::star::uno::Sequence;
using ::com::sun::star::logging::LogRecord;
diff --git a/extensions/source/logging/csvformatter.cxx b/extensions/source/logging/csvformatter.cxx
index e71c4d29edf8..80395cb4023b 100644
--- a/extensions/source/logging/csvformatter.cxx
+++ b/extensions/source/logging/csvformatter.cxx
@@ -37,7 +37,6 @@
namespace logging
{
using ::com::sun::star::uno::Sequence;
- using ::com::sun::star::uno::RuntimeException;
using ::com::sun::star::logging::LogRecord;
// formats for csv files as defined by RFC4180
diff --git a/extensions/source/logging/filehandler.cxx b/extensions/source/logging/filehandler.cxx
index d93753dd2a44..7b6331d477da 100644
--- a/extensions/source/logging/filehandler.cxx
+++ b/extensions/source/logging/filehandler.cxx
@@ -45,7 +45,6 @@ namespace logging
{
using ::com::sun::star::uno::Reference;
using ::com::sun::star::logging::LogRecord;
- using ::com::sun::star::uno::RuntimeException;
using ::com::sun::star::logging::XLogFormatter;
using ::com::sun::star::uno::Sequence;
using ::com::sun::star::uno::XInterface;
diff --git a/extensions/source/logging/logger.cxx b/extensions/source/logging/logger.cxx
index 937a5bc822dc..32f60a70d315 100644
--- a/extensions/source/logging/logger.cxx
+++ b/extensions/source/logging/logger.cxx
@@ -43,7 +43,6 @@ namespace logging
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::XComponentContext;
using ::com::sun::star::lang::XServiceInfo;
- using ::com::sun::star::uno::RuntimeException;
using ::com::sun::star::uno::Sequence;
using ::com::sun::star::uno::XInterface;
using ::com::sun::star::uno::WeakReference;
diff --git a/extensions/source/logging/plaintextformatter.cxx b/extensions/source/logging/plaintextformatter.cxx
index 2f5096ea510b..3a3d0fce686d 100644
--- a/extensions/source/logging/plaintextformatter.cxx
+++ b/extensions/source/logging/plaintextformatter.cxx
@@ -35,7 +35,6 @@ namespace logging
{
using ::com::sun::star::uno::XComponentContext;
using ::com::sun::star::uno::Sequence;
- using ::com::sun::star::uno::RuntimeException;
using ::com::sun::star::logging::LogRecord;
using ::com::sun::star::uno::XInterface;
diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx
index 7a3b226b2434..3bfeee430d88 100644
--- a/extensions/source/propctrlr/browserlistbox.cxx
+++ b/extensions/source/propctrlr/browserlistbox.cxx
@@ -53,7 +53,6 @@ namespace pcr
using ::com::sun::star::inspection::XPropertyControlContext;
using ::com::sun::star::uno::Reference;
using ::com::sun::star::inspection::XPropertyControl;
- using ::com::sun::star::uno::RuntimeException;
using ::com::sun::star::lang::DisposedException;
using ::com::sun::star::lang::XComponent;
using ::com::sun::star::uno::UNO_QUERY;
diff --git a/extensions/source/propctrlr/commoncontrol.cxx b/extensions/source/propctrlr/commoncontrol.cxx
index 02dfd2dab035..1619bc313c7b 100644
--- a/extensions/source/propctrlr/commoncontrol.cxx
+++ b/extensions/source/propctrlr/commoncontrol.cxx
@@ -28,7 +28,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::uno::Exception;
diff --git a/extensions/source/propctrlr/composeduiupdate.cxx b/extensions/source/propctrlr/composeduiupdate.cxx
index c01418382843..6e11d7eb21f9 100644
--- a/extensions/source/propctrlr/composeduiupdate.cxx
+++ b/extensions/source/propctrlr/composeduiupdate.cxx
@@ -40,7 +40,6 @@ namespace pcr
using ::com::sun::star::uno::Reference;
using ::com::sun::star::inspection::XObjectInspectorUI;
using ::com::sun::star::inspection::XPropertyControl;
- using ::com::sun::star::uno::RuntimeException;
using ::com::sun::star::inspection::XPropertyControlObserver;
namespace PropertyLineElement = ::com::sun::star::inspection::PropertyLineElement;
diff --git a/extensions/source/propctrlr/defaultforminspection.cxx b/extensions/source/propctrlr/defaultforminspection.cxx
index 42d166e86545..e139745d79d8 100644
--- a/extensions/source/propctrlr/defaultforminspection.cxx
+++ b/extensions/source/propctrlr/defaultforminspection.cxx
@@ -44,10 +44,8 @@ namespace pcr
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Sequence;
using ::com::sun::star::uno::Any;
- using ::com::sun::star::uno::RuntimeException;
using ::com::sun::star::uno::XInterface;
using ::com::sun::star::uno::XComponentContext;
- using ::com::sun::star::uno::Exception;
using ::com::sun::star::inspection::PropertyCategoryDescriptor;
using ::com::sun::star::ucb::AlreadyInitializedException;
using ::com::sun::star::lang::IllegalArgumentException;
diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx
index 2adedf467f83..45a1ce2f7539 100644
--- a/extensions/source/propctrlr/eventhandler.cxx
+++ b/extensions/source/propctrlr/eventhandler.cxx
@@ -112,9 +112,6 @@ namespace pcr
using ::com::sun::star::container::NoSuchElementException;
using ::com::sun::star::beans::XPropertySetInfo;
using ::com::sun::star::container::XNameReplace;
- using ::com::sun::star::lang::IllegalArgumentException;
- using ::com::sun::star::lang::WrappedTargetException;
- using ::com::sun::star::uno::RuntimeException;
using ::com::sun::star::beans::PropertyValue;
using ::com::sun::star::inspection::LineDescriptor;
using ::com::sun::star::inspection::XPropertyControlFactory;
diff --git a/extensions/source/propctrlr/formcontroller.cxx b/extensions/source/propctrlr/formcontroller.cxx
index 031f818eaac2..3c85a0ac4190 100644
--- a/extensions/source/propctrlr/formcontroller.cxx
+++ b/extensions/source/propctrlr/formcontroller.cxx
@@ -45,7 +45,6 @@ namespace pcr
using ::com::sun::star::uno::TypeClass_STRING;
using ::com::sun::star::uno::XComponentContext;
using ::com::sun::star::inspection::XObjectInspectorModel;
- using ::com::sun::star::uno::RuntimeException;
using ::com::sun::star::uno::UNO_QUERY_THROW;
using ::com::sun::star::uno::Sequence;
using ::com::sun::star::uno::XInterface;
@@ -54,7 +53,6 @@ namespace pcr
using ::com::sun::star::beans::Property;
using ::com::sun::star::uno::Any;
using ::com::sun::star::lang::IllegalArgumentException;
- using ::com::sun::star::uno::Exception;
using ::com::sun::star::uno::Type;
using ::com::sun::star::util::VetoException;
using ::com::sun::star::beans::PropertyVetoException;
diff --git a/extensions/source/propctrlr/formgeometryhandler.cxx b/extensions/source/propctrlr/formgeometryhandler.cxx
index 2c81fc76e4bb..d97301c743ab 100644
--- a/extensions/source/propctrlr/formgeometryhandler.cxx
+++ b/extensions/source/propctrlr/formgeometryhandler.cxx
@@ -60,7 +60,6 @@ namespace pcr
using ::com::sun::star::uno::makeAny;
using ::com::sun::star::uno::Sequence;
using ::com::sun::star::uno::XComponentContext;
- using ::com::sun::star::beans::UnknownPropertyException;
using ::com::sun::star::beans::Property;
using ::com::sun::star::awt::XControlModel;
using ::com::sun::star::drawing::XControlShape;
diff --git a/extensions/source/propctrlr/inspectormodelbase.cxx b/extensions/source/propctrlr/inspectormodelbase.cxx
index 5c319fc119ff..f66847387499 100644
--- a/extensions/source/propctrlr/inspectormodelbase.cxx
+++ b/extensions/source/propctrlr/inspectormodelbase.cxx
@@ -38,10 +38,7 @@ namespace pcr
using ::com::sun::star::uno::Reference;
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::uno::makeAny;
using ::com::sun::star::beans::Property;
diff --git a/extensions/source/propctrlr/objectinspectormodel.cxx b/extensions/source/propctrlr/objectinspectormodel.cxx
index 03be5c88b29d..5f2a3a694248 100644
--- a/extensions/source/propctrlr/objectinspectormodel.cxx
+++ b/extensions/source/propctrlr/objectinspectormodel.cxx
@@ -30,16 +30,11 @@ namespace pcr
{
- using ::com::sun::star::inspection::XObjectInspectorModel;
- using ::com::sun::star::lang::XInitialization;
- using ::com::sun::star::lang::XServiceInfo;
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::XComponentContext;
- using ::com::sun::star::uno::RuntimeException;
using ::com::sun::star::uno::Sequence;
using ::com::sun::star::uno::Any;
using ::com::sun::star::inspection::PropertyCategoryDescriptor;
- using ::com::sun::star::uno::Exception;
using ::com::sun::star::uno::XInterface;
using ::com::sun::star::lang::IllegalArgumentException;
using ::com::sun::star::ucb::AlreadyInitializedException;
diff --git a/extensions/source/propctrlr/propertycontrolextender.cxx b/extensions/source/propctrlr/propertycontrolextender.cxx
index 2f59d6bb9489..8f3d5e0380e2 100644
--- a/extensions/source/propctrlr/propertycontrolextender.cxx
+++ b/extensions/source/propctrlr/propertycontrolextender.cxx
@@ -32,7 +32,6 @@ namespace pcr
using ::com::sun::star::uno::Reference;
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::awt::XWindow;
using ::com::sun::star::awt::KeyEvent;
diff --git a/extensions/source/propctrlr/usercontrol.cxx b/extensions/source/propctrlr/usercontrol.cxx
index c2f1406cc794..7434b0dfaa59 100644
--- a/extensions/source/propctrlr/usercontrol.cxx
+++ b/extensions/source/propctrlr/usercontrol.cxx
@@ -38,7 +38,6 @@ namespace pcr
using ::com::sun::star::uno::Any;
using ::com::sun::star::uno::Type;
- using ::com::sun::star::uno::RuntimeException;
namespace PropertyControlType = ::com::sun::star::inspection::PropertyControlType;
diff --git a/forms/source/component/Pattern.cxx b/forms/source/component/Pattern.cxx
index eddcfbf19ba7..d0567ab1953e 100644
--- a/forms/source/component/Pattern.cxx
+++ b/forms/source/component/Pattern.cxx
@@ -21,7 +21,6 @@
using ::com::sun::star::uno::Reference;
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::XInterface;
diff --git a/forms/source/xforms/datatyperepository.cxx b/forms/source/xforms/datatyperepository.cxx
index 79d4a37f35d4..9ba93a3110a4 100644
--- a/forms/source/xforms/datatyperepository.cxx
+++ b/forms/source/xforms/datatyperepository.cxx
@@ -37,7 +37,6 @@ namespace xforms
{
using ::com::sun::star::uno::Reference;
- using ::com::sun::star::uno::RuntimeException;
using ::com::sun::star::uno::Any;
using ::com::sun::star::uno::Type;
using ::com::sun::star::uno::makeAny;
@@ -46,7 +45,6 @@ namespace xforms
using ::com::sun::star::container::NoSuchElementException;
using ::com::sun::star::container::ElementExistException;
using ::com::sun::star::container::XEnumeration;
- using ::com::sun::star::lang::WrappedTargetException;
using ::com::sun::star::xsd::XDataType;
using namespace frm;
diff --git a/forms/source/xforms/datatypes.cxx b/forms/source/xforms/datatypes.cxx
index acae26c8e69f..048ed19cf84d 100644
--- a/forms/source/xforms/datatypes.cxx
+++ b/forms/source/xforms/datatypes.cxx
@@ -35,17 +35,12 @@ namespace xforms
using ::com::sun::star::uno::Reference;
- using ::com::sun::star::uno::RuntimeException;
using ::com::sun::star::uno::Any;
using ::com::sun::star::uno::makeAny;
- using ::com::sun::star::uno::Exception;
using ::com::sun::star::util::Date;
using ::com::sun::star::util::Time;
using ::com::sun::star::util::DateTime;
using ::com::sun::star::lang::IllegalArgumentException;
- using ::com::sun::star::lang::WrappedTargetException;
- using ::com::sun::star::beans::UnknownPropertyException;
- using ::com::sun::star::beans::PropertyVetoException;
using ::com::sun::star::beans::XPropertyChangeListener;
using ::com::sun::star::beans::XVetoableChangeListener;
diff --git a/forms/source/xforms/enumeration.cxx b/forms/source/xforms/enumeration.cxx
index ace7e3f5ae2b..fb2a2b72389f 100644
--- a/forms/source/xforms/enumeration.cxx
+++ b/forms/source/xforms/enumeration.cxx
@@ -30,7 +30,6 @@
using com::sun::star::container::NoSuchElementException;
using com::sun::star::container::XIndexAccess;
-using com::sun::star::lang::WrappedTargetException;
using com::sun::star::uno::Any;
using com::sun::star::uno::RuntimeException;
diff --git a/forms/source/xforms/model.cxx b/forms/source/xforms/model.cxx
index d881d0ec1d56..f92e8392eb4e 100644
--- a/forms/source/xforms/model.cxx
+++ b/forms/source/xforms/model.cxx
@@ -55,8 +55,6 @@
using com::sun::star::lang::XUnoTunnel;
using com::sun::star::beans::XPropertySet;
using com::sun::star::beans::PropertyValue;
-using com::sun::star::lang::WrappedTargetException;
-using com::sun::star::ucb::XSimpleFileAccess3;
using com::sun::star::ucb::SimpleFileAccess;
using com::sun::star::io::XInputStream;
diff --git a/forms/source/xforms/propertysetbase.cxx b/forms/source/xforms/propertysetbase.cxx
index d9609640c7f6..2bf5fe9a0c53 100644
--- a/forms/source/xforms/propertysetbase.cxx
+++ b/forms/source/xforms/propertysetbase.cxx
@@ -31,10 +31,8 @@
#include <vector>
using com::sun::star::uno::Any;
-using com::sun::star::uno::Type;
using com::sun::star::uno::Reference;
using com::sun::star::uno::Exception;
-using com::sun::star::uno::RuntimeException;
using com::sun::star::lang::IllegalArgumentException;
using com::sun::star::beans::Property;
using com::sun::star::beans::XPropertySetInfo;
diff --git a/forms/source/xforms/submission.cxx b/forms/source/xforms/submission.cxx
index 54cc757db748..f312566552df 100644
--- a/forms/source/xforms/submission.cxx
+++ b/forms/source/xforms/submission.cxx
@@ -52,9 +52,6 @@
#include <comphelper/processfactory.hxx>
#include <memory>
-using com::sun::star::beans::UnknownPropertyException;
-using com::sun::star::beans::PropertyVetoException;
-using com::sun::star::lang::IllegalArgumentException;
using com::sun::star::util::VetoException;
using com::sun::star::form::submission::XSubmissionVetoListener;
using com::sun::star::lang::WrappedTargetException;
diff --git a/forms/source/xforms/xformsevent.cxx b/forms/source/xforms/xformsevent.cxx
index e51beb8c52ab..a3943d945dbd 100644
--- a/forms/source/xforms/xformsevent.cxx
+++ b/forms/source/xforms/xformsevent.cxx
@@ -25,8 +25,6 @@ namespace sun {
namespace star {
namespace xforms {
-using com::sun::star::uno::RuntimeException;
-
void SAL_CALL XFormsEventConcrete::initXFormsEvent(const OUString& typeArg,
sal_Bool canBubbleArg, sal_Bool cancelableArg)
{
diff --git a/framework/source/fwe/helper/documentundoguard.cxx b/framework/source/fwe/helper/documentundoguard.cxx
index 3fed0051c8fb..da80a48adac9 100644
--- a/framework/source/fwe/helper/documentundoguard.cxx
+++ b/framework/source/fwe/helper/documentundoguard.cxx
@@ -33,7 +33,6 @@ namespace framework
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::document::XUndoManagerSupplier;
using ::com::sun::star::document::XUndoManager;
using ::com::sun::star::document::XUndoManagerListener;
diff --git a/framework/source/uiconfiguration/imagemanager.cxx b/framework/source/uiconfiguration/imagemanager.cxx
index 5e2fe175f411..7d2fb013330a 100644
--- a/framework/source/uiconfiguration/imagemanager.cxx
+++ b/framework/source/uiconfiguration/imagemanager.cxx
@@ -36,8 +36,6 @@
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;
using ::com::sun::star::graphic::XGraphic;
using namespace ::com::sun::star;
diff --git a/framework/source/uiconfiguration/imagemanagerimpl.cxx b/framework/source/uiconfiguration/imagemanagerimpl.cxx
index 650d44e2a1e4..393757de5f84 100644
--- a/framework/source/uiconfiguration/imagemanagerimpl.cxx
+++ b/framework/source/uiconfiguration/imagemanagerimpl.cxx
@@ -53,11 +53,9 @@
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::UNO_QUERY;
using ::com::sun::star::uno::Any;
-using ::com::sun::star::uno::makeAny;
using ::com::sun::star::graphic::XGraphic;
using namespace ::com::sun::star;
using namespace ::com::sun::star::io;
diff --git a/framework/source/uiconfiguration/moduleimagemanager.cxx b/framework/source/uiconfiguration/moduleimagemanager.cxx
index b7c80d0740b5..1f4d51798b55 100644
--- a/framework/source/uiconfiguration/moduleimagemanager.cxx
+++ b/framework/source/uiconfiguration/moduleimagemanager.cxx
@@ -43,8 +43,6 @@
// namespaces
using ::com::sun::star::uno::Sequence;
-using ::com::sun::star::uno::Exception;
-using ::com::sun::star::uno::RuntimeException;
using ::com::sun::star::uno::Any;
using ::com::sun::star::graphic::XGraphic;
using namespace ::com::sun::star;
diff --git a/framework/source/uielement/statusbaritem.cxx b/framework/source/uielement/statusbaritem.cxx
index 7ceb2a24434f..a453f0079fc0 100644
--- a/framework/source/uielement/statusbaritem.cxx
+++ b/framework/source/uielement/statusbaritem.cxx
@@ -24,7 +24,6 @@
#include <com/sun/star/ui/ItemStyle.hpp>
using namespace com::sun::star::ui;
-using com::sun::star::uno::RuntimeException;
namespace framework
{
diff --git a/lotuswordpro/source/filter/LotusWordProImportFilter.cxx b/lotuswordpro/source/filter/LotusWordProImportFilter.cxx
index 726ea2c1d54d..fc22f46df8df 100644
--- a/lotuswordpro/source/filter/LotusWordProImportFilter.cxx
+++ b/lotuswordpro/source/filter/LotusWordProImportFilter.cxx
@@ -38,7 +38,6 @@ using com::sun::star::uno::Sequence;
using com::sun::star::uno::Any;
using com::sun::star::uno::UNO_QUERY;
using com::sun::star::uno::Exception;
-using com::sun::star::uno::RuntimeException;
using com::sun::star::io::XInputStream;
using com::sun::star::beans::PropertyValue;
using com::sun::star::ucb::XCommandEnvironment;
More information about the Libreoffice-commits
mailing list