From 6d2fa52272e3418d1c6baa64e75ee45ad1ff6172 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Tue, 27 Nov 2012 15:39:41 +0000 Subject: Revert part of "impress210: check readonly" This reverts commit 416435e1dcbc175787a5a9e03142f7f766b6a648. --- sd/source/ui/func/futext.cxx | 15 --------------- 1 file changed, 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; -- cgit