diff options
Diffstat (limited to 'sc/source/ui/condformat/condformatdlg.cxx')
-rw-r--r-- | sc/source/ui/condformat/condformatdlg.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/ui/condformat/condformatdlg.cxx b/sc/source/ui/condformat/condformatdlg.cxx index ad3617c9666f..ca1cfbdedf40 100644 --- a/sc/source/ui/condformat/condformatdlg.cxx +++ b/sc/source/ui/condformat/condformatdlg.cxx @@ -627,10 +627,7 @@ void ScCondFormatDlg::RefInputDone( bool bForced ) bool ScCondFormatDlg::IsTableLocked() const { - if (mpLastEdit && mpLastEdit != mpEdRange) - return false; - - return true; + return !mpLastEdit || mpLastEdit == mpEdRange; } bool ScCondFormatDlg::IsRefInputMode() const |