summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh4.cxx
diff options
context:
space:
mode:
authorDaniel Bankston <daniel.e.bankston@gmail.com>2012-07-06 02:04:28 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-07-11 20:37:40 -0400
commitadaf0d9bf6b5f44c3e32c41fdaac4254a4a24263 (patch)
treeeb034ecdcb37f14348f83f9a4639fa6907b18dd9 /sc/source/ui/docshell/docsh4.cxx
parentf107e3a5f7cc19957435f1e90617105509394b4d (diff)
Use bool instead of sal_uInt16 for HardCalcState
Change-Id: Ia855780c28dc05e1606e8118fabd2a86bfcc5fa2
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 3680178ccf65..babda0da8c49 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -1786,7 +1786,7 @@ void ScDocShell::GetState( SfxItemSet &rSet )
switch (nWhich)
{
case FID_AUTO_CALC:
- if ( (sal_Bool) aDocument.GetHardRecalcState() )
+ if ( aDocument.GetHardRecalcState() )
rSet.DisableItem( nWhich );
else
rSet.Put( SfxBoolItem( nWhich, aDocument.GetAutoCalc() ) );