Issue 110142

Summary: svx: make search/replace of colour names with translations safer
Product: Draw Reporter: caolanm
Component: codeAssignee: ooo
Status: CLOSED FIXED QA Contact: issues@graphics <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: DEV300m74   
Target Milestone: 3.4.1   
Hardware: All   
OS: Linux, all   
Issue Type: PATCH Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 90439    
Attachments:
Description Flags
like so none

Description caolanm 2010-03-15 16:21:07 UTC
Our colour translation system for e.g. "Gray 10%" and "Black 1" works by
replacing Gray/Black with the translated term. This is all very well and good,
but we want to have Custom colours like "Red Hat 1" in the list :-) Red gets
translated in this context where we don't want that to happen.

Attached is a patch to make the search/replace safer
Comment 1 caolanm 2010-03-15 16:21:28 UTC
Created attachment 68355 [details]
like so
Comment 2 ooo 2010-03-18 19:27:50 UTC
verified and applied patch
Comment 3 ooo 2010-10-25 13:38:07 UTC
retargeted to 3.4