summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-30 15:29:09 +0200
committerNoel Grandin <noel@peralex.com>2015-05-06 09:01:26 +0200
commitb35828ba7dc33af81d17c8c870ec981d18a57b08 (patch)
treedb0d9185e5dbfd2bcc4d756a95e0e886f3a3999f /framework
parentc8fdfc39ebf89e10bc01bf9569b29b5b4c85d40d (diff)
convert CONFIG_MODE constants to scoped enum
Change-Id: I1b0fb976e7bf8d7de06da0c30012e8bba1320498
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/classes/filtercache.hxx4
-rw-r--r--framework/inc/classes/filtercachedata.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/framework/inc/classes/filtercache.hxx b/framework/inc/classes/filtercache.hxx
index 63cbafb67105..f194385b0654 100644
--- a/framework/inc/classes/filtercache.hxx
+++ b/framework/inc/classes/filtercache.hxx
@@ -69,8 +69,8 @@ class FilterCache : private TransactionBase
// constructor / destructor
- FilterCache( sal_Int32 nVersion = DEFAULT_FILTERCACHE_VERSION,
- sal_Int16 nMode = DEFAULT_FILTERCACHE_MODE );
+ FilterCache( sal_Int32 nVersion = DEFAULT_FILTERCACHE_VERSION,
+ ConfigItemMode nMode = DEFAULT_FILTERCACHE_MODE );
/*-****************************************************************************************************
@short standard destructor to delete instance
diff --git a/framework/inc/classes/filtercachedata.hxx b/framework/inc/classes/filtercachedata.hxx
index 60a579edb1c5..e8d231cf2146 100644
--- a/framework/inc/classes/filtercachedata.hxx
+++ b/framework/inc/classes/filtercachedata.hxx
@@ -46,7 +46,7 @@ namespace framework{
#define DEFAULT_FILTERCACHE_VERSION 6 /// these implmentation of FilterCache support different version of TypeDetection.xml! This define the current set default one.
-#define DEFAULT_FILTERCACHE_MODE CONFIG_MODE_DELAYED_UPDATE | CONFIG_MODE_ALL_LOCALES /// ConfigItems could run in different modes: supported values are ... { CONFIG_MODE_IMMEDIATE_UPDATE, CONFIG_MODE_DELAYED_UPDATE, CONFIG_MODE_ALL_LOCALES }
+#define DEFAULT_FILTERCACHE_MODE ConfigItemMode::DelayedUpdate | ConfigItemMode::AllLocales /// ConfigItems could run in different modes: supported values are ... { ConfigItemMode::ImmediateUpdate, ConfigItemMode::DelayedUpdate, ConfigItemMode::AllLocales }
enum EModifyState
{
@@ -569,7 +569,7 @@ class FilterCFGAccess : public ::utl::ConfigItem
public:
FilterCFGAccess ( const OUString& sPath ,
sal_Int32 nVersion = DEFAULT_FILTERCACHE_VERSION ,
- sal_Int16 nMode = DEFAULT_FILTERCACHE_MODE ); // open configuration
+ ConfigItemMode nMode = DEFAULT_FILTERCACHE_MODE ); // open configuration
virtual ~FilterCFGAccess( );
void read ( DataContainer& rData ,