diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/futext.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sd/source/ui/func/futext.cxx b/sd/source/ui/func/futext.cxx index 99ce662dfe30..d187e01eaa77 100644 --- a/sd/source/ui/func/futext.cxx +++ b/sd/source/ui/func/futext.cxx @@ -639,24 +639,9 @@ sal_Bool FuText::MouseButtonUp(const MouseEvent& rMEvt) mpViewShell->GetViewFrame()->GetBindings().Invalidate( SidArray ); Point aPnt( mpWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); - sal_Bool bOldReadOnly = sal_False; - if ( mpView && mpDocSh->IsReadOnly() ) - { - if ( mpView && mpView->GetTextEditOutlinerView() ) - { - bOldReadOnly = mpView->GetTextEditOutlinerView()->IsReadOnly(); - mpView->GetTextEditOutlinerView()->SetReadOnly(sal_True); - } - } if( (mpView && mpView->MouseButtonUp(rMEvt, mpWindow)) || rMEvt.GetClicks() == 2 ) - { - if ( mpView && mpView->GetTextEditOutlinerView() ) - mpView->GetTextEditOutlinerView()->SetReadOnly(bOldReadOnly); return (sal_True); // Event von der SdrView ausgewertet - } - if ( mpView && mpView->GetTextEditOutlinerView() ) - mpView->GetTextEditOutlinerView()->SetReadOnly(bOldReadOnly); sal_Bool bEmptyTextObj = sal_False; |