Issue 69449 - CWS sb59: Crash when selecting text in Impress
Summary: CWS sb59: Crash when selecting text in Impress
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: 680m182
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.1
Assignee: christian.guenther
QA Contact: issues@graphics
URL:
Keywords:
: 69697 69721 (view as issue list)
Depends on:
Blocks:
 
Reported: 2006-09-11 11:00 UTC by Stephan Bergmann
Modified: 2006-11-23 08:57 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Stephan Bergmann 2006-09-11 11:00:31 UTC
On a slide containing a text box, click and drag the mouse to select some text
leads to crash:

#0  SfxItemSet::GetItemState (this=0x48ff0008, nWhich=3994, bSrchInParent=0 '\0',
    ppItem=0x0)
    at
/net/so-cwsserv11/export/cws04/sb59/SRC680/src.m182/svtools/source/items1/itemset.cxx:571
#1  0x4599424f in ContentAttribs::GetItem (this=0x48ff0004, nWhich=3994)
    at
/net/so-cwsserv11/export/cws04/sb59/SRC680/src.m182/svx/source/editeng/editdoc.cxx:1178
#2  0x459db3d2 in ImpEditEngine::GetParaAttrib (this=0x48ff0008, nPara=8,
nWhich=5369)
    at editdoc.hxx:281
#3  0x4599a770 in EditEngine::GetParaAttrib (this=0x48ff0008, nPara=8, nWhich=8)
    at
/net/so-cwsserv11/export/cws04/sb59/SRC680/src.m182/svx/source/editeng/editeng.cxx:1584
#4  0x459e6efa in Outliner::ImplGetBullet (this=0x48fcda88, nPara=1)
    at
/net/so-cwsserv11/export/cws04/sb59/SRC680/src.m182/svx/source/outliner/outliner.cxx:1702
#5  0x459e7215 in Outliner::ImplCheckNumBulletItem (this=0x48fcda88, nPara=1)
    at
/net/so-cwsserv11/export/cws04/sb59/SRC680/src.m182/svx/source/outliner/outliner.cxx:777
#6  0x459ea6cd in Outliner::SetText (this=0x48fcda88, rPObj=@0x48ddfdac)
    at
/net/so-cwsserv11/export/cws04/sb59/SRC680/src.m182/svx/source/outliner/outliner.cxx:647
#7  0x45cbc30c in SdrTextObj::TakeTextRect (this=0x47fa3348, rOutliner=@0x48fcda88,
    rTextRect=@0xbf9ea760, bNoEditText=1, pAnchorRect=0xbf9ea770, bLineWidth=1
'\001')
    at
/net/so-cwsserv11/export/cws04/sb59/SRC680/src.m182/svx/source/svdraw/svdotext.cxx:1009
#8  0x45d2cb88 in SdrObjEditView::BegTextEdit (this=0x45402810, pObj=0x47fa3348,
    pPV=0x4801bb50, pWin=0x47f857d0, bIsNewObj=4 '\004', pGivenOutliner=0x48fcda88,
    pGivenOutlinerView=0x0, bDontDeleteOutliner=0 '\0', bOnlyOneView=0 '\0',
    bGrabFocus=1 '\001')
    at
/net/so-cwsserv11/export/cws04/sb59/SRC680/src.m182/svx/source/svdraw/svdedxv.cxx:659
#9  0x4701db3e in sd::View::BegTextEdit (this=0x45402810, pObj=0x47fa3348,
    pPV=0x4801bb50, pWin=0x47f857d0, bIsNewObj=1 '\001', pGivenOutliner=0x48fcda88,
    pGivenOutlinerView=0x0, bDontDeleteOutliner=0 '\0', bOnlyOneView=0 '\0',
    bGrabFocus=1 '\001')
    at
/net/so-cwsserv11/export/cws04/sb59/SRC680/src.m182/sd/source/ui/view/sdview.cxx:670
#10 0x470db229 in sd::FuText::SetInEditMode (this=0x47f74928, rMEvt=@0xbf9ea92c,
    bQuickDrag=1 '\001')
    at
/net/so-cwsserv11/export/cws04/sb59/SRC680/src.m182/sd/source/ui/func/futext.cxx:1229
#11 0x470dcaed in sd::FuText::DoExecute (this=0x47f74928, rReq=@0xbf9ead94)
    at
/net/so-cwsserv11/export/cws04/sb59/SRC680/src.m182/sd/source/ui/func/futext.cxx:330
#12 0x4705c7a2 in sd::DrawViewShell::FuPermanent (this=0x480138d4, rReq=@0xbf9ead94)
    at ref.hxx:111
#13 0x470629be in SfxStubDrawViewShellFuPermanent (pShell=0x480138d4,
    rReq=@0xbf9ead94) at sdslots.hxx:1064
#14 0x44a7bf99 in SfxDispatcher::HideUI ()
   from /export/home/sb93797/staroffice8/program/libsfx680li.so
#15 0x44a7c4bb in SfxDispatcher::_Execute ()
   from /export/home/sb93797/staroffice8/program/libsfx680li.so
#16 0x44a7c593 in SfxDispatcher::Execute ()
   from /export/home/sb93797/staroffice8/program/libsfx680li.so
#17 0x470ccee5 in sd::FuSelection::MouseButtonDown (this=0x47ed490c,
    rMEvt=@0xbf9eb0d4) at viewfrm.hxx:204
Comment 1 clippka 2006-09-15 16:17:14 UTC
fixed, in slideshowimpl I assumed that SfxViewFrame::GetCurrent() always returns
a view frame. That is not the case when only the wizard is open. Added checks to
slideshowimpl.cxx
Comment 2 clippka 2006-09-15 16:40:26 UTC
sorry, wrong issue, ignore last comment
Comment 3 clippka 2006-09-26 08:06:06 UTC
fixed,

in impedit4.cxx we had a

for( int n, n < c1, n++ )
{
for( int _n, n < c2, n++ ) {}
}

Duuh!
Comment 4 joerg.skottke 2006-09-26 08:47:56 UTC
*** Issue 69721 has been marked as a duplicate of this issue. ***
Comment 5 joerg.skottke 2006-09-26 08:48:14 UTC
*** Issue 69697 has been marked as a duplicate of this issue. ***
Comment 6 clippka 2006-09-28 11:21:00 UTC
back to qa
Comment 7 joerg.skottke 2006-10-10 12:13:16 UTC
set verified
Comment 8 joerg.skottke 2006-11-23 08:57:11 UTC
Not seen in m4 anymore, closing