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 /sw | |
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 'sw')
-rw-r--r-- | sw/source/core/access/accpage.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/text/inftxt.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/view/viewpg.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/view/vprint.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/wrtw8esh.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/vba/vbaapplication.cxx | 3 | ||||
-rw-r--r-- | sw/source/uibase/config/barcfg.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/config/dbconfig.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/config/fontcfg.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/config/modcfg.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/config/prtopt.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/envelp/labimg.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/uiview/viewstat.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/utlui/navicfg.cxx | 1 |
14 files changed, 0 insertions, 19 deletions
diff --git a/sw/source/core/access/accpage.cxx b/sw/source/core/access/accpage.cxx index f1f2c0ce9118..47ab98ba12e2 100644 --- a/sw/source/core/access/accpage.cxx +++ b/sw/source/core/access/accpage.cxx @@ -32,7 +32,6 @@ using namespace ::com::sun::star; using namespace ::com::sun::star::accessibility; -using uno::Reference; using uno::RuntimeException; using uno::Sequence; diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx index 3f4a64ca2a72..2b303329b048 100644 --- a/sw/source/core/text/inftxt.cxx +++ b/sw/source/core/text/inftxt.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <com/sun/star/uno/Sequence.h> #include <unotools/linguprops.hxx> #include <unotools/lingucfg.hxx> #include <hintids.hxx> diff --git a/sw/source/core/view/viewpg.cxx b/sw/source/core/view/viewpg.cxx index 60a7cda9bcc8..9f5b78836daa 100644 --- a/sw/source/core/view/viewpg.cxx +++ b/sw/source/core/view/viewpg.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <com/sun/star/uno/Sequence.hxx> - #include <hintids.hxx> #include <tools/fract.hxx> #include <vcl/window.hxx> diff --git a/sw/source/core/view/vprint.cxx b/sw/source/core/view/vprint.cxx index 1318dc48c5c1..870e4298687d 100644 --- a/sw/source/core/view/vprint.cxx +++ b/sw/source/core/view/vprint.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <com/sun/star/uno/Sequence.hxx> -#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/view/XRenderable.hpp> #include <hintids.hxx> diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx index 0ff7eb307f09..7cb827cf89a5 100644 --- a/sw/source/filter/ww8/wrtw8esh.cxx +++ b/sw/source/filter/ww8/wrtw8esh.cxx @@ -108,8 +108,6 @@ using namespace com::sun::star; using namespace sw::util; using namespace sw::types; using namespace nsFieldFlags; -using ::com::sun::star::uno::Reference; -using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::drawing::XShape; diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx index ebe5b7613a77..eaa068809910 100644 --- a/sw/source/ui/vba/vbaapplication.cxx +++ b/sw/source/ui/vba/vbaapplication.cxx @@ -38,9 +38,6 @@ using namespace ::ooo; using namespace ::ooo::vba; using namespace ::com::sun::star; -using ::com::sun::star::uno::Reference; -using ::com::sun::star::uno::UNO_QUERY_THROW; - SwVbaApplication::SwVbaApplication( uno::Reference<uno::XComponentContext >& xContext ): SwVbaApplication_BASE( xContext ) { } diff --git a/sw/source/uibase/config/barcfg.cxx b/sw/source/uibase/config/barcfg.cxx index b823f0e7de89..cbf44772df27 100644 --- a/sw/source/uibase/config/barcfg.cxx +++ b/sw/source/uibase/config/barcfg.cxx @@ -18,7 +18,6 @@ */ #include <osl/diagnose.h> -#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <wrtsh.hxx> #include "barcfg.hxx" diff --git a/sw/source/uibase/config/dbconfig.cxx b/sw/source/uibase/config/dbconfig.cxx index 843b9bf24737..ea9e7d56e901 100644 --- a/sw/source/uibase/config/dbconfig.cxx +++ b/sw/source/uibase/config/dbconfig.cxx @@ -19,7 +19,6 @@ #include <dbconfig.hxx> #include <osl/diagnose.h> -#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <swdbdata.hxx> diff --git a/sw/source/uibase/config/fontcfg.cxx b/sw/source/uibase/config/fontcfg.cxx index 1f30c3920c51..7ab1b56ad3e2 100644 --- a/sw/source/uibase/config/fontcfg.cxx +++ b/sw/source/uibase/config/fontcfg.cxx @@ -22,7 +22,6 @@ #include <vcl/outdev.hxx> #include <unotools/configmgr.hxx> #include <unotools/lingucfg.hxx> -#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/i18n/ScriptType.hpp> #include <swtypes.hxx> diff --git a/sw/source/uibase/config/modcfg.cxx b/sw/source/uibase/config/modcfg.cxx index 9fd11e37c597..418df8767b04 100644 --- a/sw/source/uibase/config/modcfg.cxx +++ b/sw/source/uibase/config/modcfg.cxx @@ -34,7 +34,6 @@ #include <unotools/configmgr.hxx> #include <unotools/syslocaleoptions.hxx> #include <caption.hxx> -#include <com/sun/star/uno/Any.hxx> #include <unomid.h> diff --git a/sw/source/uibase/config/prtopt.cxx b/sw/source/uibase/config/prtopt.cxx index bb0af272cf07..c86bb31c4d52 100644 --- a/sw/source/uibase/config/prtopt.cxx +++ b/sw/source/uibase/config/prtopt.cxx @@ -20,7 +20,6 @@ #include <unotools/configmgr.hxx> #include <prtopt.hxx> #include <osl/diagnose.h> -#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <unomid.h> diff --git a/sw/source/uibase/envelp/labimg.cxx b/sw/source/uibase/envelp/labimg.cxx index a38844014fdf..e1630a602db4 100644 --- a/sw/source/uibase/envelp/labimg.cxx +++ b/sw/source/uibase/envelp/labimg.cxx @@ -19,7 +19,6 @@ #include <tools/stream.hxx> #include <tools/resid.hxx> -#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <unotools/useroptions.hxx> #include <swmodule.hxx> diff --git a/sw/source/uibase/uiview/viewstat.cxx b/sw/source/uibase/uiview/viewstat.cxx index a2200e1d1a9d..ecb23027bb46 100644 --- a/sw/source/uibase/uiview/viewstat.cxx +++ b/sw/source/uibase/uiview/viewstat.cxx @@ -21,7 +21,6 @@ #include <hintids.hxx> #include <com/sun/star/linguistic2/XThesaurus.hpp> -#include <com/sun/star/uno/Sequence.hxx> #include <svl/aeitem.hxx> #include <svl/whiter.hxx> #include <svl/cjkoptions.hxx> diff --git a/sw/source/uibase/utlui/navicfg.cxx b/sw/source/uibase/utlui/navicfg.cxx index 75fd8feef18f..f463fc119b66 100644 --- a/sw/source/uibase/utlui/navicfg.cxx +++ b/sw/source/uibase/utlui/navicfg.cxx @@ -21,7 +21,6 @@ #include <navicfg.hxx> #include <swcont.hxx> #include <osl/diagnose.h> -#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <unomid.h> |