summaryrefslogtreecommitdiff
path: root/include/unotools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-11 14:06:49 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-15 05:51:53 +0000
commitd64395704e1a41e8f39e70a219ce3be90928e04d (patch)
treef04fd671709347e82752f2faa3aab30c9a0a9faf /include/unotools
parent9532f45ff009f67940c77dccd463f3088866b75e (diff)
loplugin:unusedenumconstants in unotools..xmlhelp
Change-Id: Id7ddc0fc1f57c5e8e7fb002e31d54fb8e9f8ffab Reviewed-on: https://gerrit.libreoffice.org/28050 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/unotools')
-rw-r--r--include/unotools/configitem.hxx4
-rw-r--r--include/unotools/configvaluecontainer.hxx11
-rw-r--r--include/unotools/eventcfg.hxx2
-rw-r--r--include/unotools/extendedsecurityoptions.hxx1
-rw-r--r--include/unotools/itemholderbase.hxx3
-rw-r--r--include/unotools/securityoptions.hxx7
6 files changed, 1 insertions, 27 deletions
diff --git a/include/unotools/configitem.hxx b/include/unotools/configitem.hxx
index a4188872aea0..00452d5c89b4 100644
--- a/include/unotools/configitem.hxx
+++ b/include/unotools/configitem.hxx
@@ -63,9 +63,7 @@ namespace utl
CONFIG_NAME_PLAINTEXT_NAME, // unescaped local node name, for user display etc.
CONFIG_NAME_LOCAL_NAME, // local node name, for use in XNameAccess etc. ("Item", "Q & A")
CONFIG_NAME_LOCAL_PATH, // one-level relative path, for use when building paths etc. ("Item", "Typ['Q &amp; A']")
- CONFIG_NAME_FULL_PATH, // full absolute path. ("/org.openoffice.Sample/Group/Item", "/org.openoffice.Sample/Set/Typ['Q &amp; A']")
-
- CONFIG_NAME_DEFAULT = CONFIG_NAME_LOCAL_PATH // default format
+ CONFIG_NAME_FULL_PATH // full absolute path. ("/org.openoffice.Sample/Group/Item", "/org.openoffice.Sample/Set/Typ['Q &amp; A']")
};
class ConfigChangeListener_Impl;
diff --git a/include/unotools/configvaluecontainer.hxx b/include/unotools/configvaluecontainer.hxx
index 664f10aeef84..2ee3e86822d8 100644
--- a/include/unotools/configvaluecontainer.hxx
+++ b/include/unotools/configvaluecontainer.hxx
@@ -26,17 +26,6 @@
#include <memory>
-enum class CVCFlags
-{
- LAZY_UPDATE = 0x0000,
- UPDATE_ACCESS = 0x0001,
- IMMEDIATE_UPDATE = 0x0002,
-};
-namespace o3tl
-{
- template<> struct typed_flags<CVCFlags> : is_typed_flags<CVCFlags, 0x03> {};
-}
-
namespace utl
{
diff --git a/include/unotools/eventcfg.hxx b/include/unotools/eventcfg.hxx
index cfe6026d03af..046eb6a9dd0d 100644
--- a/include/unotools/eventcfg.hxx
+++ b/include/unotools/eventcfg.hxx
@@ -31,8 +31,6 @@
enum class GlobalEventId
{
- STARTAPP,
- CLOSEAPP,
DOCCREATED,
CREATEDOC,
LOADFINISHED,
diff --git a/include/unotools/extendedsecurityoptions.hxx b/include/unotools/extendedsecurityoptions.hxx
index 8726c72ad79d..b82711af3fc8 100644
--- a/include/unotools/extendedsecurityoptions.hxx
+++ b/include/unotools/extendedsecurityoptions.hxx
@@ -50,7 +50,6 @@ class SAL_WARN_UNUSED UNOTOOLS_DLLPUBLIC SvtExtendedSecurityOptions : public utl
{
OPEN_NEVER = 0,
OPEN_WITHSECURITYCHECK,
- OPEN_ALWAYS
};
SvtExtendedSecurityOptions();
diff --git a/include/unotools/itemholderbase.hxx b/include/unotools/itemholderbase.hxx
index 7071e3c66658..b8b075c21e19 100644
--- a/include/unotools/itemholderbase.hxx
+++ b/include/unotools/itemholderbase.hxx
@@ -33,7 +33,6 @@ struct ItemHolderMutexBase
enum EItem
{
E_ACCESSIBILITYOPTIONS , // 2
- E_ADDXMLTOSTORAGEOPTIONS ,
E_APEARCFG , // 2
E_CJKOPTIONS , // 2
@@ -70,8 +69,6 @@ enum EItem
E_PRINTFILEOPTIONS , // 2
E_PRINTWARNINGOPTIONS ,
- E_REGOPTIONS ,
-
E_SAVEOPTIONS ,
E_SEARCHOPT ,
E_SECURITYOPTIONS ,
diff --git a/include/unotools/securityoptions.hxx b/include/unotools/securityoptions.hxx
index 47160fabd254..4bd6e9563fdd 100644
--- a/include/unotools/securityoptions.hxx
+++ b/include/unotools/securityoptions.hxx
@@ -79,13 +79,6 @@ class SAL_WARN_UNUSED UNOTOOLS_DLLPUBLIC SvtSecurityOptions : public utl::detail
E_BLOCKUNTRUSTEDREFERERLINKS
};
- enum MacroAction
- {
- MA_DONTRUN = 0,
- MA_CONFIRM,
- MA_RUN
- };
-
typedef css::uno::Sequence< OUString > Certificate;
/*