diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-11-27 15:39:41 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-11-28 12:48:34 +0000 |
commit | 6d2fa52272e3418d1c6baa64e75ee45ad1ff6172 (patch) | |
tree | cb27837e41b359a3ac3d68bb0afaba368a7bc770 | |
parent | d7a9f7fd98ef3ea442d670049f2db1404ff732be (diff) |
Revert part of "impress210: check readonly"
This reverts commit 416435e1dcbc175787a5a9e03142f7f766b6a648.
-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; |