summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-18 08:51:01 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-19 13:07:28 +0000
commit2383d557e5751387451cefa33516736228429137 (patch)
tree31a4294e43d0332b456281aca2a2e0a38d87ea3f
parenta656be64e21fd0ec5e12d34a47e2daf777e04b9b (diff)
clang-tidy misc-unused-alias-decls
Change-Id: Iabde7a84b9c2758e0d2b2ffe0fb99fcfa51ff124 Reviewed-on: https://gerrit.libreoffice.org/25075 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r--basctl/source/basicide/scriptdocument.cxx1
-rw-r--r--comphelper/source/misc/logging.cxx2
-rw-r--r--connectivity/source/drivers/hsqldb/HConnection.cxx1
-rw-r--r--dbaccess/source/ui/app/AppDetailPageHelper.cxx1
-rw-r--r--desktop/source/deployment/gui/license_dialog.cxx1
-rw-r--r--desktop/source/deployment/manager/dp_extensionmanager.cxx1
-rw-r--r--desktop/source/deployment/manager/dp_informationprovider.cxx1
-rw-r--r--extensions/source/update/check/updateprotocol.cxx1
-rw-r--r--extensions/source/update/feed/updatefeed.cxx1
-rw-r--r--framework/source/dispatch/startmoduledispatcher.cxx1
-rw-r--r--sc/source/filter/excel/xlchart.cxx1
-rw-r--r--scripting/source/provider/URIHelper.cxx1
-rw-r--r--svx/source/form/formcontroller.cxx1
-rw-r--r--vcl/source/gdi/textlayout.cxx2
-rw-r--r--vcl/unx/gtk/salprn-gtk.cxx5
-rw-r--r--writerperfect/source/common/DirectoryStream.cxx1
-rw-r--r--writerperfect/source/common/WPXSvInputStream.cxx1
-rw-r--r--xmlsecurity/source/framework/securityengine.cxx2
-rw-r--r--xmlsecurity/source/framework/signatureengine.cxx1
-rw-r--r--xmlsecurity/source/helper/xsecctl.cxx1
-rw-r--r--xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx1
21 files changed, 0 insertions, 28 deletions
diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx
index 9bf477c46bed..11b7cf1bb8ea 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 0899e6193eaa..452d2a365132 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 aa696021d9ad..ff9a98c0e082 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 bc019394e32e..d850c9d92869 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 7a1570a5a26d..a5bf8026320a 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 ddcb155eae13..e09ba86f3f2f 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 6b34e1ecb47f..b56993456c6a 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 f68e5b1b8b9c..4b656478991d 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 a4dd327f443f..13fdcda2d978 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 06e81a7aaf43..945717afaa5b 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 ee8d4aa56cd5..1daed0f0d31d 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 89ec4a3afe89..56a78bc8d1af 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 40cd718f40b6..20602fdcd128 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 6a0d29dc6d34..a28eaf752e5c 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 3a37197ffa6d..5dd8ded2ae40 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 9426a3e0827e..3122844cde36 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 362f4a25c698..caaf3f34214b 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 85f3afbba66c..27638f7a6480 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 41be0b8c5c32..2cd8b1fc8e0f 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 fb0b85eaf6cf..c3482ad495ad 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 2e4f66488abd..012106c41c05 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;