https://bugs.documentfoundation.org/show_bug.cgi?id=82216

--- Comment #14 from Markus Mohrhard <markus.mohrh...@googlemail.com> ---
(In reply to Luke from comment #13)
> by changing oox/source/drawingml/chart/chartspacefragment.cxx :
> -mrModel.mbAutoTitleDel = rAttribs.getBool( XML_val, !bMSO2007Document );
> +mrModel.mbAutoTitleDel = rAttribs.getBool( XML_val, false );
> 
> and oox/source/drawingml/chart/chartspacemodel.cxx
> 
> -mbAutoTitleDel( !bMSO2007Doc ),
> +mbAutoTitleDel( false ),
> 
> The chart tile is correctly displayed. Is the !bMSO2007Document detection
> logic turned off or just not working correctly in this case?

The conditions are correct as can be seen by the unit test. Also a quick look
into the spec, oart1 21.2.2.7 shows that the default value in OOXML is true.

Of course if your document is not detected as MSO2007 which might not be the
case for DOCX then the code will still use the OOXML values. So best to create
a new bug report for the problem that DOCX 2007 documents are recognized early
enough as MSO 2007 documents.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to