diff options
Diffstat (limited to 'sc/source/ui/view/tabcont.cxx')
-rw-r--r-- | sc/source/ui/view/tabcont.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/ui/view/tabcont.cxx b/sc/source/ui/view/tabcont.cxx index 0329c023ef8a..8534373ba48b 100644 --- a/sc/source/ui/view/tabcont.cxx +++ b/sc/source/ui/view/tabcont.cxx @@ -588,10 +588,7 @@ sal_Int8 ScTabControl::AcceptDrop( const AcceptDropEvent& rEvt ) bool ScTabControl::StartRenaming() { - if ( pViewData->GetDocument()->IsDocEditable() ) - return true; - else - return false; + return pViewData->GetDocument()->IsDocEditable(); } TabBarAllowRenamingReturnCode ScTabControl::AllowRenaming() |