diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-11 15:30:19 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-12 06:53:29 +0000 |
commit | 8806a86c9d1ba63259ea79dd1c955ef970ab1989 (patch) | |
tree | e5604a542bbeea91766072e420e3ea033ed97360 /framework | |
parent | 18009fe8fbe3982141ddca3f1fcd0900a63150a6 (diff) |
loplugin:unusedenumconstants in forms..sot
Change-Id: Ic445e1bdd012c32ef7d84aec9df908467c3296a7
Reviewed-on: https://gerrit.libreoffice.org/28055
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'framework')
5 files changed, 1 insertions, 33 deletions
diff --git a/framework/inc/uielement/toolbarmanager.hxx b/framework/inc/uielement/toolbarmanager.hxx index 692652e5404a..0e2d89c6bfd6 100644 --- a/framework/inc/uielement/toolbarmanager.hxx +++ b/framework/inc/uielement/toolbarmanager.hxx @@ -102,9 +102,7 @@ class ToolBarManager : public ToolbarManager_Base { EXEC_CMD_CLOSETOOLBAR, EXEC_CMD_DOCKTOOLBAR, - EXEC_CMD_DOCKALLTOOLBARS, - EXEC_CMD_NONE, - EXEC_CMD_COUNT + EXEC_CMD_DOCKALLTOOLBARS }; struct ExecuteInfo diff --git a/framework/inc/xml/acceleratorconfigurationreader.hxx b/framework/inc/xml/acceleratorconfigurationreader.hxx index 90365e5de9e6..55605bc1ebe0 100644 --- a/framework/inc/xml/acceleratorconfigurationreader.hxx +++ b/framework/inc/xml/acceleratorconfigurationreader.hxx @@ -60,13 +60,6 @@ class AcceleratorConfigurationReader : public ::cppu::WeakImplHelper< css::xml:: E_ATTRIBUTE_URL }; - /** @short some namespace defines */ - enum EAcceleratorXMLNamespace - { - E_NAMESPACE_ACCEL, - E_NAMESPACE_XLINK - }; - // member private: diff --git a/framework/source/inc/loadenv/loadenvexception.hxx b/framework/source/inc/loadenv/loadenvexception.hxx index 81dba4592358..fedf95416d4f 100644 --- a/framework/source/inc/loadenv/loadenvexception.hxx +++ b/framework/source/inc/loadenv/loadenvexception.hxx @@ -45,14 +45,6 @@ class LoadEnvException /** @short The specified URL/Stream/etcpp. can not be handled by a LoadEnv instance. */ ID_UNSUPPORTED_CONTENT, - /** @short It was not possible to get access to global filter configuration. - @descr Might some necessary services could not be created. */ - ID_NO_CONFIG_ACCESS, - - /** @short Some data obtained from the filter configuration seems to incorrect. - @descr Might a filter-type relationship seem to be damaged. */ - ID_INVALID_FILTER_CONFIG, - /** @short indicates a corrupted media descriptor. @descr Some parts are required - some other ones are optional. Such exception should be thrown, if a required item does not exists. */ @@ -68,12 +60,6 @@ class LoadEnvException /** @short indicates a failed search for the right target frame. */ ID_NO_TARGET_FOUND, - /** @short An already existing document was found inside a target frame. - But its controller could not be suspended successfully. Thats - why the new load request was cancelled. The document could not - be replaced. */ - ID_COULD_NOT_SUSPEND_CONTROLLER, - /** @short TODO */ ID_COULD_NOT_REACTIVATE_CONTROLLER, diff --git a/framework/source/inc/loadenv/targethelper.hxx b/framework/source/inc/loadenv/targethelper.hxx index 9317619d609c..615084ee0e44 100644 --- a/framework/source/inc/loadenv/targethelper.hxx +++ b/framework/source/inc/loadenv/targethelper.hxx @@ -48,7 +48,6 @@ class TargetHelper E_BLANK , E_DEFAULT , E_BEAMER , - E_HELPAGENT , E_HELPTASK }; diff --git a/framework/source/uiconfiguration/windowstateconfiguration.cxx b/framework/source/uiconfiguration/windowstateconfiguration.cxx index 72b7c8492241..966bdd7f3c70 100644 --- a/framework/source/uiconfiguration/windowstateconfiguration.cxx +++ b/framework/source/uiconfiguration/windowstateconfiguration.cxx @@ -145,14 +145,6 @@ class ConfigurationAccess_WindowState : public ::cppu::WeakImplHelper< XNameCon protected: enum WindowStateMask { - WINDOWSTATE_MASK_LOCKED = 1, - WINDOWSTATE_MASK_DOCKED = 2, - WINDOWSTATE_MASK_VISIBLE = 4, - WINDOWSTATE_MASK_CONTEXT = 8, - WINDOWSTATE_MASK_HIDEFROMMENU = 16, - WINDOWSTATE_MASK_NOCLOSE = 32, - WINDOWSTATE_MASK_SOFTCLOSE = 64, - WINDOWSTATE_MASK_CONTEXTACTIVE = 128, WINDOWSTATE_MASK_DOCKINGAREA = 256, WINDOWSTATE_MASK_POS = 512, WINDOWSTATE_MASK_SIZE = 1024, |