Issue 98032 - Crash on find and replace when setting format settings while the cursor is in protected section
Summary: Crash on find and replace when setting format settings while the cursor is in...
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOO300m9
Hardware: PC All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: Oliver Specht
QA Contact: issues@sw
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2009-01-13 14:45 UTC by florianw
Modified: 2013-08-07 14:44 UTC (History)
2 users (show)

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


Attachments
A test file where the problem was recognized (9.53 KB, application/vnd.oasis.opendocument.text)
2009-01-13 14:47 UTC, florianw
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description florianw 2009-01-13 14:45:58 UTC
I have generated an Index out of my document.
I'd like to find an replace some words with format.
So for example I search vor the string "openoffice" and replace it with
"openoffice" in italic.
If my cursor points on the index and I try to set the format OpenOffice crashes.
This is reproduce able !

Step by Step:
1. klick on the index so that the cursor is in it.
2. press ctrl+f and insert the search criteria and the replace string
3. Klick on the format button...*Crash*

I first noticed it in the Ubuntu Package...but there is an older version ....so
I tried it on WinVista with ooo300m9 and get the same result on an different
machine ...

Thaks
Florian
Comment 1 florianw 2009-01-13 14:47:29 UTC
Created attachment 59353 [details]
A test file where the problem was recognized
Comment 2 eric.savary 2009-01-13 15:55:07 UTC
Good catch!

@OS: while cursor in any protected section:
- Ctr+f
- enter Find string
- enter Replace string
- click [More options >>]
- click [Format...]
-> crash

Happens also in 2.4.1
Comment 3 Oliver Specht 2009-06-15 13:40:39 UTC
Fixed in cws os132 in 
svx/source/dialog/srchdlg.cxx 
the text is not replaced in protected sections but the attributes are applied
this is fixed in 
sw/source/ui/uiview/viewsrch.cxx
Comment 4 stefan.baltzer 2010-11-15 13:37:55 UTC
This one is missing in the issue list of CWS os132. But the respective file
change log mentions this issue. However, verified in OOO330_m15 (OOo 3.3 RC5).
Comment 5 stefan.baltzer 2010-11-15 13:39:47 UTC
OK in DEV300_m92, too. Closed.