summaryrefslogtreecommitdiffstats
path: root/include/unotools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-12-06 10:05:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-12-07 10:35:44 +0100
commit67ff7348756ec88d09fc00e6d284ba5b579e9b33 (patch)
treed9bc9015abadce440e6637e280286e04e9ba062a /include/unotools
parentsc: Drop ineffective SetError() (diff)
downloadcore-67ff7348756ec88d09fc00e6d284ba5b579e9b33.tar.gz
core-67ff7348756ec88d09fc00e6d284ba5b579e9b33.zip
remove unused ConfigItemMode::DelayedUpdate
unused ever since commit c1758889cbd5e8e4afb1044425c908715eb3e1cd Date: Fri Nov 11 22:48:37 2011 +0100 Heavily simplified utl::ConfigManager. and rename ConfigItemMode::ImmediateUpdate to NONE, since it doesn't mean that anymore Change-Id: Ia1d06142a25c9eea0f1d30b70653eed325a21b37 Reviewed-on: https://gerrit.libreoffice.org/64719 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/unotools')
-rw-r--r--include/unotools/configitem.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/unotools/configitem.hxx b/include/unotools/configitem.hxx
index 14bf94dc8177..675e9edfab24 100644
--- a/include/unotools/configitem.hxx
+++ b/include/unotools/configitem.hxx
@@ -44,8 +44,7 @@ namespace com{ namespace sun{ namespace star{
enum class ConfigItemMode
{
- ImmediateUpdate = 0x00,
- DelayedUpdate = 0x01,
+ NONE = 0x00,
AllLocales = 0x02,
ReleaseTree = 0x04,
};
@@ -111,7 +110,7 @@ namespace utl
protected:
explicit ConfigItem(const OUString &rSubTree,
- ConfigItemMode nMode = ConfigItemMode::DelayedUpdate);
+ ConfigItemMode nMode = ConfigItemMode::NONE);
void SetModified (); // mark item as modified
void ClearModified(); // reset state after commit!