Issue 112809

Summary: Crash on opening context menu
Product: Impress Reporter: groucho266
Component: editingAssignee: groucho266
Status: CLOSED DUPLICATE QA Contact: issues@graphics <issues>
Severity: Trivial    
Priority: P3 CC: issues, thomas.lange
Version: DEV300m83   
Target Milestone: OOo 3.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description groucho266 2010-06-30 09:50:16 UTC
This crash is simple to reproduce:

1. Create a new shape (easier to reproduce with a non-text shape, like a Rectangle).
2. Enter at least one character of text (in order to activate the text tool bar).
3. Right click into the shape

Instead of showing the context menu it crashes.
Comment 1 groucho266 2010-06-30 09:56:36 UTC
This crash is caused by changes made for issue 51258.

When the context menu is prepared to be shown the state of a new slot SID_THES
is queried.  The code in TextObjectBar::GetAttrState (in
sd/source/ui/view/drtxtob.cxx) tries to access the text edit outliner view,
which in this case is not present.  The NULL pointer is not checked and leads to
the crash.
Comment 2 clippka 2010-06-30 10:09:49 UTC
duplicate to issue 97336

*** This issue has been marked as a duplicate of 97336 ***
Comment 3 clippka 2010-06-30 10:11:34 UTC
closing
Comment 4 groucho266 2010-06-30 10:30:38 UTC
It is duplicate, but to issue 112337, which also has already been fixed (in CWS
impress192.)