INTEGRATION: CWS impresstables2 (1.50.32); FILE MERGED

2008/03/11 18:45:34 cl 1.50.32.2: RESYNC: (1.50-1.52); FILE MERGED
2008/03/04 18:28:46 cl 1.50.32.1: #i68103# fixing table text edit in draw
This commit is contained in:
Rüdiger Timm 2008-03-12 10:40:17 +00:00
parent 46fa49ce8e
commit 5c560ce321

View file

@ -4,9 +4,9 @@
*
* $RCSfile: fusel.cxx,v $
*
* $Revision: 1.52 $
* $Revision: 1.53 $
*
* last change: $Author: kz $ $Date: 2008-03-07 16:26:28 $
* last change: $Author: rt $ $Date: 2008-03-12 11:40:17 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -94,6 +94,8 @@
#endif
#include <svx/flditem.hxx>
#include <svx/svdotable.hxx>
#include "app.hrc"
#include "strings.hrc"
#include "res_bmp.hrc"
@ -285,7 +287,7 @@ BOOL FuSelection::MouseButtonDown(const MouseEvent& rMEvt)
SdrViewEvent aVEvt;
SdrHitKind eHit = mpView->PickAnything(rMEvt, SDRMOUSEBUTTONDOWN, aVEvt);
if ( mpViewShell->GetFrameView()->IsQuickEdit() && eHit == SDRHIT_TEXTEDITOBJ )
if ( eHit == SDRHIT_TEXTEDITOBJ && ( mpViewShell->GetFrameView()->IsQuickEdit() || dynamic_cast< sdr::table::SdrTableObj* >( aVEvt.pObj ) != NULL ) )
{
bTextEdit = TRUE;
}