diff options
Diffstat (limited to 'sc/source/ui/navipi/content.cxx')
-rw-r--r-- | sc/source/ui/navipi/content.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx index a181b5150199..e145143b87d0 100644 --- a/sc/source/ui/navipi/content.cxx +++ b/sc/source/ui/navipi/content.cxx @@ -239,7 +239,7 @@ void ScContentTree::ClearAll() //the InitRoot() method won't be called. Then if a user click or press key to update the navigator tree, crash happens. //So the solution is to disable the UpdateMode of Control, then call Clear(), then recover the update mode sal_Bool bOldUpdate = Control::IsUpdateMode(); - Control::SetUpdateMode(sal_False); + Control::SetUpdateMode(false); Clear(); Control::SetUpdateMode(bOldUpdate); for (sal_uInt16 i=1; i<SC_CONTENT_COUNT; i++) |