Issue 121455

Summary: constant is "non-primitive" not "NonPrimitive" in attribute draw:type in enhanced-geometry
Product: Draw Reporter: Regina Henschel <rb.henschel>
Component: save-exportAssignee: AOO issues mailing list <issues>
Status: CLOSED FIXED QA Contact:
Severity: Normal    
Priority: P4 CC: Armin.Le.Grand, issues
Version: 4.0.0-dev   
Target Milestone: 4.0.0   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
NonPrimitive --> non-primitive rb.henschel: review? (rb.henschel)

Description Regina Henschel 2012-12-09 19:49:45 UTC
When AOO gets a document with a custom shape, that has no attribute draw:type, then AOO saves it with the attribute draw:type="NonPrimitive". That does not cause a syntax error because a string is allowed here. But the default for the attribute draw:type is "non-primitive" and AOO should either omit the attribute or write it as draw:type="non-primitive".
Comment 1 Armin Le Grand 2012-12-11 14:54:27 UTC
ALG: Is this about xmloff\source\draw\shapeexport4.cxx(477)..?
Comment 2 Regina Henschel 2012-12-11 17:15:25 UTC
Created attachment 80017 [details]
NonPrimitive --> non-primitive

@Armin: I think so. I do not find any other occurrence of NonPrimitive and my test shows, that the file gets the attribute value "non-primitive" after exchanging the strings in that line.
Comment 3 SVN Robot 2012-12-12 12:59:14 UTC
"alg" committed SVN revision 1420650 into trunk:
121455# Adapted from NonPrimitive to non-primitive as used in the spec
Comment 4 Armin Le Grand 2012-12-12 12:59:26 UTC
ALG: Okay, comitted.