summaryrefslogtreecommitdiffstats
path: root/sc/inc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-08-15 11:51:33 +0300
committerTor Lillqvist <tml@collabora.com>2017-08-15 12:03:13 +0300
commita69850bc0bb8ff90d5676259c42c5e98a7f11150 (patch)
treeebd654812de9abf824a06e4994cc2bb6f546e804 /sc/inc
parentEPUB export: initial span support (diff)
downloadcore-a69850bc0bb8ff90d5676259c42c5e98a7f11150.tar.gz
core-a69850bc0bb8ff90d5676259c42c5e98a7f11150.zip
Change HardRecalcState to enum class
Change-Id: I8b20ce6b58915c37e6d4caa11d2f4c724864a257
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/document.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 0e6cf79b1b6a..f0f417baf9bd 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -299,11 +299,11 @@ friend class sc::TableColumnBlockPositionSet;
typedef std::vector<ScTable*> TableContainer;
public:
- enum HardRecalcState
+ enum class HardRecalcState
{
- HARDRECALCSTATE_OFF = 0, /// normal calculation of dependencies
- HARDRECALCSTATE_TEMPORARY, /// CalcAll() without broadcast/notify but setting up new listeners
- HARDRECALCSTATE_ETERNAL /// no new listeners are setup, no broadcast/notify
+ OFF, /// normal calculation of dependencies
+ TEMPORARY, /// CalcAll() without broadcast/notify but setting up new listeners
+ ETERNAL /// no new listeners are setup, no broadcast/notify
};
private: