[Libreoffice-commits] core.git: basctl/source comphelper/source connectivity/source dbaccess/source desktop/source extensions/source framework/source scripting/source sc/source svx/source vcl/source vcl/unx writerperfect/source xmlsecurity/source

Noel Grandin noel at peralex.com
Thu May 19 13:07:51 UTC 2016


 basctl/source/basicide/scriptdocument.cxx                    |    1 -
 comphelper/source/misc/logging.cxx                           |    2 --
 connectivity/source/drivers/hsqldb/HConnection.cxx           |    1 -
 dbaccess/source/ui/app/AppDetailPageHelper.cxx               |    1 -
 desktop/source/deployment/gui/license_dialog.cxx             |    1 -
 desktop/source/deployment/manager/dp_extensionmanager.cxx    |    1 -
 desktop/source/deployment/manager/dp_informationprovider.cxx |    1 -
 extensions/source/update/check/updateprotocol.cxx            |    1 -
 extensions/source/update/feed/updatefeed.cxx                 |    1 -
 framework/source/dispatch/startmoduledispatcher.cxx          |    1 -
 sc/source/filter/excel/xlchart.cxx                           |    1 -
 scripting/source/provider/URIHelper.cxx                      |    1 -
 svx/source/form/formcontroller.cxx                           |    1 -
 vcl/source/gdi/textlayout.cxx                                |    2 --
 vcl/unx/gtk/salprn-gtk.cxx                                   |    5 -----
 writerperfect/source/common/DirectoryStream.cxx              |    1 -
 writerperfect/source/common/WPXSvInputStream.cxx             |    1 -
 xmlsecurity/source/framework/securityengine.cxx              |    2 --
 xmlsecurity/source/framework/signatureengine.cxx             |    1 -
 xmlsecurity/source/helper/xsecctl.cxx                        |    1 -
 xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx      |    1 -
 21 files changed, 28 deletions(-)

New commits:
commit 2383d557e5751387451cefa33516736228429137
Author: Noel Grandin <noel at peralex.com>
Date:   Wed May 18 08:51:01 2016 +0200

    clang-tidy misc-unused-alias-decls
    
    Change-Id: Iabde7a84b9c2758e0d2b2ffe0fb99fcfa51ff124
    Reviewed-on: https://gerrit.libreoffice.org/25075
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx
index 9bf477c..11b7cf1 100644
--- a/basctl/source/basicide/scriptdocument.cxx
+++ b/basctl/source/basicide/scriptdocument.cxx
@@ -98,7 +98,6 @@ namespace basctl
     using ::com::sun::star::script::vba::XVBACompatibility;
     using ::com::sun::star::script::vba::XVBAModuleInfo;
 
-    namespace MacroExecMode = ::com::sun::star::document::MacroExecMode;
     namespace FrameSearchFlag = ::com::sun::star::frame::FrameSearchFlag;
 
 
diff --git a/comphelper/source/misc/logging.cxx b/comphelper/source/misc/logging.cxx
index 0899e61..452d2a3 100644
--- a/comphelper/source/misc/logging.cxx
+++ b/comphelper/source/misc/logging.cxx
@@ -44,8 +44,6 @@ namespace comphelper
     using ::com::sun::star::resource::XResourceBundle;
     using ::com::sun::star::resource::XResourceBundleLoader;
 
-    namespace LogLevel = ::com::sun::star::logging::LogLevel;
-
     class EventLogger_Impl
     {
     private:
diff --git a/connectivity/source/drivers/hsqldb/HConnection.cxx b/connectivity/source/drivers/hsqldb/HConnection.cxx
index aa69602..ff9a98c 100644
--- a/connectivity/source/drivers/hsqldb/HConnection.cxx
+++ b/connectivity/source/drivers/hsqldb/HConnection.cxx
@@ -72,7 +72,6 @@ using ::com::sun::star::sdbc::XRow;
 using ::com::sun::star::sdb::application::XDatabaseDocumentUI;
 using ::com::sun::star::beans::PropertyValue;
 
-namespace GraphicColorMode = ::com::sun::star::graphic::GraphicColorMode;
 
 namespace connectivity { namespace hsqldb
 {
diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.cxx b/dbaccess/source/ui/app/AppDetailPageHelper.cxx
index bc01939..d850c9d 100644
--- a/dbaccess/source/ui/app/AppDetailPageHelper.cxx
+++ b/dbaccess/source/ui/app/AppDetailPageHelper.cxx
@@ -675,7 +675,6 @@ void OAppDetailPageHelper::setDetailPage(vcl::Window* _pWindow)
 
 namespace
 {
-    namespace DatabaseObject = ::com::sun::star::sdb::application::DatabaseObject;
     namespace DatabaseObjectContainer = ::com::sun::star::sdb::application::DatabaseObjectContainer;
 
     sal_Int32 lcl_getFolderIndicatorForType( const ElementType _eType )
diff --git a/desktop/source/deployment/gui/license_dialog.cxx b/desktop/source/deployment/gui/license_dialog.cxx
index 7a1570a..a5bf802 100644
--- a/desktop/source/deployment/gui/license_dialog.cxx
+++ b/desktop/source/deployment/gui/license_dialog.cxx
@@ -42,7 +42,6 @@
 #include <functional>
 
 using namespace ::dp_misc;
-namespace cssu = ::com::sun::star::uno;
 using namespace ::com::sun::star;
 using namespace ::com::sun::star::uno;
 
diff --git a/desktop/source/deployment/manager/dp_extensionmanager.cxx b/desktop/source/deployment/manager/dp_extensionmanager.cxx
index ddcb155..e09ba86 100644
--- a/desktop/source/deployment/manager/dp_extensionmanager.cxx
+++ b/desktop/source/deployment/manager/dp_extensionmanager.cxx
@@ -57,7 +57,6 @@
 #include <set>
 
 namespace lang  = com::sun::star::lang;
-namespace registry = com::sun::star::registry;
 namespace task = com::sun::star::task;
 namespace ucb = com::sun::star::ucb;
 namespace uno = com::sun::star::uno;
diff --git a/desktop/source/deployment/manager/dp_informationprovider.cxx b/desktop/source/deployment/manager/dp_informationprovider.cxx
index 6b34e1e..b569934 100644
--- a/desktop/source/deployment/manager/dp_informationprovider.cxx
+++ b/desktop/source/deployment/manager/dp_informationprovider.cxx
@@ -49,7 +49,6 @@
 namespace beans      = com::sun::star::beans ;
 namespace deployment = com::sun::star::deployment ;
 namespace lang       = com::sun::star::lang ;
-namespace registry   = com::sun::star::registry ;
 namespace task       = com::sun::star::task ;
 namespace css_ucb    = com::sun::star::ucb ;
 namespace uno        = com::sun::star::uno ;
diff --git a/extensions/source/update/check/updateprotocol.cxx b/extensions/source/update/check/updateprotocol.cxx
index f68e5b1..4b65647 100644
--- a/extensions/source/update/check/updateprotocol.cxx
+++ b/extensions/source/update/check/updateprotocol.cxx
@@ -38,7 +38,6 @@
 
 namespace container = css::container ;
 namespace deployment = css::deployment ;
-namespace lang = css::lang ;
 namespace uno = css::uno ;
 namespace task = css::task ;
 namespace xml = css::xml ;
diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx
index a4dd327..13fdcda 100644
--- a/extensions/source/update/feed/updatefeed.cxx
+++ b/extensions/source/update/feed/updatefeed.cxx
@@ -66,7 +66,6 @@ namespace task = com::sun::star::task ;
 namespace ucb = com::sun::star::ucb ;
 namespace uno = com::sun::star::uno ;
 namespace xml = com::sun::star::xml ;
-namespace sdbc = com::sun::star::sdbc ;
 
 
 namespace
diff --git a/framework/source/dispatch/startmoduledispatcher.cxx b/framework/source/dispatch/startmoduledispatcher.cxx
index 06e81a7..945717a 100644
--- a/framework/source/dispatch/startmoduledispatcher.cxx
+++ b/framework/source/dispatch/startmoduledispatcher.cxx
@@ -46,7 +46,6 @@ namespace framework{
 #ifdef fpf
     #error "Who uses \"fpf\" as define. It will overwrite my namespace alias ..."
 #endif
-namespace fpf = ::framework::pattern::frame;
 
 StartModuleDispatcher::StartModuleDispatcher(const css::uno::Reference< css::uno::XComponentContext >&     rxContext)
     : m_xContext         (rxContext                         )
diff --git a/sc/source/filter/excel/xlchart.cxx b/sc/source/filter/excel/xlchart.cxx
index ee8d4aa..1daed0f 100644
--- a/sc/source/filter/excel/xlchart.cxx
+++ b/sc/source/filter/excel/xlchart.cxx
@@ -857,7 +857,6 @@ void XclChPropSetHelper::ReadMarkerProperties(
         XclChMarkerFormat& rMarkerFmt, const ScfPropertySet& rPropSet, sal_uInt16 nFormatIdx )
 {
     namespace cssc = ::com::sun::star::chart2;
-    namespace cssa = ::com::sun::star::awt;
     cssc::Symbol aApiSymbol;
     if( rPropSet.GetProperty( aApiSymbol, EXC_CHPROP_SYMBOL ) )
     {
diff --git a/scripting/source/provider/URIHelper.cxx b/scripting/source/provider/URIHelper.cxx
index 89ec4a3..56a78bc 100644
--- a/scripting/source/provider/URIHelper.cxx
+++ b/scripting/source/provider/URIHelper.cxx
@@ -33,7 +33,6 @@ namespace uno = ::com::sun::star::uno;
 namespace ucb = ::com::sun::star::ucb;
 namespace lang = ::com::sun::star::lang;
 namespace uri = ::com::sun::star::uri;
-namespace script = ::com::sun::star::script;
 
 static const char SHARE[] = "share";
 static const char SHARE_URI[] = "vnd.sun.star.expand:$BRAND_BASE_DIR";
diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx
index 40cd718..20602fd 100644
--- a/svx/source/form/formcontroller.cxx
+++ b/svx/source/form/formcontroller.cxx
@@ -203,7 +203,6 @@ namespace svxform
     namespace FocusChangeReason = ::com::sun::star::awt::FocusChangeReason;
     namespace RowChangeAction = ::com::sun::star::sdb::RowChangeAction;
     namespace FormFeature = ::com::sun::star::form::runtime::FormFeature;
-    namespace DataType = ::com::sun::star::sdbc::DataType;
 
 struct ColumnInfo
 {
diff --git a/vcl/source/gdi/textlayout.cxx b/vcl/source/gdi/textlayout.cxx
index 6a0d29d..a28eaf7 100644
--- a/vcl/source/gdi/textlayout.cxx
+++ b/vcl/source/gdi/textlayout.cxx
@@ -38,8 +38,6 @@
 namespace vcl
 {
 
-    namespace ScriptDirection = ::com::sun::star::i18n::ScriptDirection;
-
     DefaultTextLayout::~DefaultTextLayout()
     {
     }
diff --git a/vcl/unx/gtk/salprn-gtk.cxx b/vcl/unx/gtk/salprn-gtk.cxx
index 3a37197..5dd8ded 100644
--- a/vcl/unx/gtk/salprn-gtk.cxx
+++ b/vcl/unx/gtk/salprn-gtk.cxx
@@ -45,13 +45,8 @@
 #include <cstring>
 #include <map>
 
-namespace frame = com::sun::star::frame;
 namespace beans = com::sun::star::beans;
-namespace container = com::sun::star::container;
 namespace uno = com::sun::star::uno;
-namespace document = com::sun::star::document;
-namespace sheet = com::sun::star::sheet;
-namespace io = com::sun::star::io;
 namespace view = com::sun::star::view;
 
 using vcl::unx::GtkPrintWrapper;
diff --git a/writerperfect/source/common/DirectoryStream.cxx b/writerperfect/source/common/DirectoryStream.cxx
index 9426a3e..3122844 100644
--- a/writerperfect/source/common/DirectoryStream.cxx
+++ b/writerperfect/source/common/DirectoryStream.cxx
@@ -39,7 +39,6 @@
 #include <DirectoryStream.hxx>
 #include <WPXSvInputStream.hxx>
 
-namespace container = com::sun::star::container;
 namespace io = com::sun::star::io;
 namespace sdbc = com::sun::star::sdbc;
 namespace ucb = com::sun::star::ucb;
diff --git a/writerperfect/source/common/WPXSvInputStream.cxx b/writerperfect/source/common/WPXSvInputStream.cxx
index 362f4a2..caaf3f3 100644
--- a/writerperfect/source/common/WPXSvInputStream.cxx
+++ b/writerperfect/source/common/WPXSvInputStream.cxx
@@ -34,7 +34,6 @@ using namespace ::com::sun::star::uno;
 using namespace ::com::sun::star::io;
 
 namespace container = com::sun::star::container;
-namespace lang = com::sun::star::lang;
 namespace packages = com::sun::star::packages;
 
 namespace
diff --git a/xmlsecurity/source/framework/securityengine.cxx b/xmlsecurity/source/framework/securityengine.cxx
index 85f3afb..27638f7 100644
--- a/xmlsecurity/source/framework/securityengine.cxx
+++ b/xmlsecurity/source/framework/securityengine.cxx
@@ -21,8 +21,6 @@
 #include "securityengine.hxx"
 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
 
-namespace cssu = com::sun::star::uno;
-namespace cssl = com::sun::star::lang;
 
 SecurityEngine::SecurityEngine()
     :m_nIdOfTemplateEC(-1),
diff --git a/xmlsecurity/source/framework/signatureengine.cxx b/xmlsecurity/source/framework/signatureengine.cxx
index 41be0b8..2cd8b1f 100644
--- a/xmlsecurity/source/framework/signatureengine.cxx
+++ b/xmlsecurity/source/framework/signatureengine.cxx
@@ -25,7 +25,6 @@
 
 using namespace com::sun::star::uno;
 namespace cssu = com::sun::star::uno;
-namespace cssl = com::sun::star::lang;
 namespace cssxc = com::sun::star::xml::crypto;
 namespace cssxw = com::sun::star::xml::wrapper;
 
diff --git a/xmlsecurity/source/helper/xsecctl.cxx b/xmlsecurity/source/helper/xsecctl.cxx
index fb0b85e..c3482ad 100644
--- a/xmlsecurity/source/helper/xsecctl.cxx
+++ b/xmlsecurity/source/helper/xsecctl.cxx
@@ -45,7 +45,6 @@ namespace cssu = com::sun::star::uno;
 namespace cssl = com::sun::star::lang;
 namespace cssxc = com::sun::star::xml::crypto;
 namespace cssxs = com::sun::star::xml::sax;
-namespace cssxw = com::sun::star::xml::wrapper;
 using namespace com::sun::star;
 
 /* bridge component names */
diff --git a/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx
index 2e4f664..012106c 100644
--- a/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx
+++ b/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx
@@ -47,7 +47,6 @@
 #include <nssckbi.h>
 
 
-namespace cssl = css::lang;
 namespace cssxc = css::xml::crypto;
 
 using namespace com::sun::star;


More information about the Libreoffice-commits mailing list