diff options
Diffstat (limited to 'sc/source/ui/view/viewutil.cxx')
-rw-r--r-- | sc/source/ui/view/viewutil.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewutil.cxx b/sc/source/ui/view/viewutil.cxx index 65d0c836d340..8e7470f58c85 100644 --- a/sc/source/ui/view/viewutil.cxx +++ b/sc/source/ui/view/viewutil.cxx @@ -158,7 +158,7 @@ bool ScViewUtil::IsActionShown( const ScChangeAction& rAction, } if ( rSettings.HasRange() ) - if ( !rSettings.GetTheRangeList().Intersects( rAction.GetBigRange().MakeRange() ) ) + if ( !rSettings.GetTheRangeList().Intersects( rAction.GetBigRange().MakeRange( rDocument ) ) ) return false; if (rSettings.HasDate() && rSettings.GetTheDateMode() != SvxRedlinDateMode::NONE) |