summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh4.cxx
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/source/ui/docshell/docsh4.cxx
parent185e197724c1e2cdb07ebb94be617c856d45d96f (diff)
Change HardRecalcState to enum class
Change-Id: I8b20ce6b58915c37e6d4caa11d2f4c724864a257
Diffstat (limited to 'sc/source/ui/docshell/docsh4.cxx')
-rw-r--r--sc/source/ui/docshell/docsh4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index 030b7b476104..009f8b987436 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -1806,7 +1806,7 @@ void ScDocShell::GetState( SfxItemSet &rSet )
switch (nWhich)
{
case FID_AUTO_CALC:
- if ( aDocument.GetHardRecalcState() != ScDocument::HARDRECALCSTATE_OFF )
+ if ( aDocument.GetHardRecalcState() != ScDocument::HardRecalcState::OFF )
rSet.DisableItem( nWhich );
else
rSet.Put( SfxBoolItem( nWhich, aDocument.GetAutoCalc() ) );