diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-04 12:03:11 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-12 06:38:26 +0000 |
commit | 4c7ec9f112c042a7246b002f94c1afc627569708 (patch) | |
tree | 60028cb1bd57ad11560bd16a489c3c6b86870fa3 /sfx2 | |
parent | 7f29612cf010c89d5d2dffd4c868a79ad6f9897c (diff) |
cleanup: remove unused com/sun/star/uno includes
Sequence.h(xx), Any.h(xx) and Type.h(xx)
and remove unused using-declarations from these files.
Add a few missing includes provided by them.
Change-Id: I6b91b6d1fdf9d0496dd546c0aab9bdcc6831a5d4
Reviewed-on: https://gerrit.libreoffice.org/23805
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/app.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/appl/linksrc.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/bastyp/fltlst.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/dialog/partwnd.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/doc/docstoragemodifylistener.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/docundomanager.cxx | 3 | ||||
-rw-r--r-- | sfx2/source/doc/oleprops.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/doc/sfxbasemodel.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/doc/sfxmodelfactory.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/inc/appbaslib.hxx | 1 | ||||
-rw-r--r-- | sfx2/source/inc/helper.hxx | 1 | ||||
-rw-r--r-- | sfx2/source/view/frmload.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/view/userinputinterception.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/view/viewimp.hxx | 1 |
14 files changed, 0 insertions, 20 deletions
diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx index 4b800583a6f8..085961e317bc 100644 --- a/sfx2/source/appl/app.cxx +++ b/sfx2/source/appl/app.cxx @@ -36,8 +36,6 @@ #include <unotools/configmgr.hxx> #include <unotools/tempfile.hxx> #include <osl/file.hxx> -#include <com/sun/star/uno/Sequence.hxx> -#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/frame/XFrameActionListener.hpp> #include <com/sun/star/frame/XComponentLoader.hpp> diff --git a/sfx2/source/appl/linksrc.cxx b/sfx2/source/appl/linksrc.cxx index 7e90802a5ffc..3156a35aff84 100644 --- a/sfx2/source/appl/linksrc.cxx +++ b/sfx2/source/appl/linksrc.cxx @@ -21,7 +21,6 @@ #include <sfx2/linksrc.hxx> #include <sfx2/lnkbase.hxx> #include <com/sun/star/uno/Any.hxx> -#include <com/sun/star/uno/Sequence.hxx> #include <vcl/timer.hxx> #include <vector> diff --git a/sfx2/source/bastyp/fltlst.cxx b/sfx2/source/bastyp/fltlst.cxx index f3afe49cccc6..8792c008f56f 100644 --- a/sfx2/source/bastyp/fltlst.cxx +++ b/sfx2/source/bastyp/fltlst.cxx @@ -20,8 +20,6 @@ #include "fltlst.hxx" -#include <com/sun/star/uno/Sequence.hxx> -#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/document/FilterConfigRefresh.hpp> #include <comphelper/processfactory.hxx> diff --git a/sfx2/source/dialog/partwnd.cxx b/sfx2/source/dialog/partwnd.cxx index cff3136c1fd7..964981ead00d 100644 --- a/sfx2/source/dialog/partwnd.cxx +++ b/sfx2/source/dialog/partwnd.cxx @@ -27,7 +27,6 @@ #include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/task/XStatusIndicator.hpp> #include <com/sun/star/uno/Reference.h> -#include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/util/URL.hpp> #include <com/sun/star/util/XCloseable.hpp> #include <com/sun/star/util/CloseVetoException.hpp> diff --git a/sfx2/source/doc/docstoragemodifylistener.cxx b/sfx2/source/doc/docstoragemodifylistener.cxx index 2b68dbf78750..b935375b9fab 100644 --- a/sfx2/source/doc/docstoragemodifylistener.cxx +++ b/sfx2/source/doc/docstoragemodifylistener.cxx @@ -28,8 +28,6 @@ namespace sfx2 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::uno::makeAny; using ::com::sun::star::lang::EventObject; diff --git a/sfx2/source/doc/docundomanager.cxx b/sfx2/source/doc/docundomanager.cxx index d788a1fc2a82..9c00fa44e8ff 100644 --- a/sfx2/source/doc/docundomanager.cxx +++ b/sfx2/source/doc/docundomanager.cxx @@ -44,10 +44,7 @@ namespace sfx2 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::uno::makeAny; using ::com::sun::star::uno::Sequence; - using ::com::sun::star::uno::Type; using ::com::sun::star::util::InvalidStateException; using ::com::sun::star::document::EmptyUndoStackException; using ::com::sun::star::util::NotLockedException; diff --git a/sfx2/source/doc/oleprops.cxx b/sfx2/source/doc/oleprops.cxx index c29de45b3a17..734f193002fa 100644 --- a/sfx2/source/doc/oleprops.cxx +++ b/sfx2/source/doc/oleprops.cxx @@ -31,7 +31,6 @@ // usings using ::com::sun::star::uno::Any; -using ::com::sun::star::uno::makeAny; using namespace ::com::sun::star; diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index 1d5b4e8b994d..a682f42a14d4 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -131,7 +131,6 @@ using ::com::sun::star::frame::XController2; using ::com::sun::star::lang::IllegalArgumentException; using ::com::sun::star::io::IOException; using ::com::sun::star::lang::WrappedTargetException; -using ::com::sun::star::uno::Type; using ::com::sun::star::uno::Sequence; using ::com::sun::star::document::XDocumentRecovery; using ::com::sun::star::document::XUndoManager; diff --git a/sfx2/source/doc/sfxmodelfactory.cxx b/sfx2/source/doc/sfxmodelfactory.cxx index 12639c87214d..8d3212a49740 100644 --- a/sfx2/source/doc/sfxmodelfactory.cxx +++ b/sfx2/source/doc/sfxmodelfactory.cxx @@ -43,7 +43,6 @@ namespace sfx2 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::lang::XMultiServiceFactory; using ::com::sun::star::uno::Sequence; using ::com::sun::star::lang::XSingleServiceFactory; diff --git a/sfx2/source/inc/appbaslib.hxx b/sfx2/source/inc/appbaslib.hxx index 9c07c6638a07..f1ca81d29d57 100644 --- a/sfx2/source/inc/appbaslib.hxx +++ b/sfx2/source/inc/appbaslib.hxx @@ -22,7 +22,6 @@ #include <svl/lstner.hxx> -#include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/script/XStorageBasedLibraryContainer.hpp> #include <com/sun/star/embed/XStorage.hpp> #include <vector> diff --git a/sfx2/source/inc/helper.hxx b/sfx2/source/inc/helper.hxx index 382fa1dce4f6..35012f1a00fc 100644 --- a/sfx2/source/inc/helper.hxx +++ b/sfx2/source/inc/helper.hxx @@ -19,7 +19,6 @@ #ifndef INCLUDED_SFX2_SOURCE_INC_HELPER_HXX #define INCLUDED_SFX2_SOURCE_INC_HELPER_HXX -#include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/ucb/NameClash.hpp> #include <rtl/ustring.hxx> #include <tools/errcode.hxx> diff --git a/sfx2/source/view/frmload.cxx b/sfx2/source/view/frmload.cxx index c7eea129ff85..b4b32a440b9c 100644 --- a/sfx2/source/view/frmload.cxx +++ b/sfx2/source/view/frmload.cxx @@ -93,7 +93,6 @@ using ::com::sun::star::uno::Sequence; 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::makeAny; using ::com::sun::star::util::XCloseable; using ::com::sun::star::document::XViewDataSupplier; using ::com::sun::star::container::XIndexAccess; diff --git a/sfx2/source/view/userinputinterception.cxx b/sfx2/source/view/userinputinterception.cxx index 5d89801efab9..9017b0317397 100644 --- a/sfx2/source/view/userinputinterception.cxx +++ b/sfx2/source/view/userinputinterception.cxx @@ -37,8 +37,6 @@ namespace sfx2 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::uno::makeAny; using ::com::sun::star::awt::MouseEvent; using ::com::sun::star::awt::KeyEvent; using ::com::sun::star::awt::InputEvent; diff --git a/sfx2/source/view/viewimp.hxx b/sfx2/source/view/viewimp.hxx index 82889e71d087..0bd8e0069ece 100644 --- a/sfx2/source/view/viewimp.hxx +++ b/sfx2/source/view/viewimp.hxx @@ -25,7 +25,6 @@ #include <sfx2/viewfrm.hxx> #include <osl/mutex.hxx> #include <comphelper/interfacecontainer2.hxx> -#include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/beans/PropertyValue.hpp> #include <svtools/acceleratorexecute.hxx> #include <rtl/ref.hxx> |