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

--- Comment #10 from Devansh Varshney <[email protected]> ---
do these in the file
https://github.com/LibreOffice/core/blob/c3d00f4ca0ec5a53d694ab9924fd79d0e536aec4/xmlhelp/source/treeview/tvread.cxx#L160C1-L164C46

are eligible for change somewhat like -

constexpr OUStringLiteral prodName = u"%PRODUCTNAME";

but for this I am getting -

expression must have a constant valueC/C++(28)
tvread.cxx(160, 38): invalid type "<error-type>" for constant-expression
evaluation
(const char16_t [13])u"%PRODUCTNAME"

One more thing does the below file also needs the same changes?

https://github.com/LibreOffice/core/blob/c3d00f4ca0ec5a53d694ab9924fd79d0e536aec4/sc/source/core/opencl/op_math_helpers.hxx#L4

This is what I did to the first const char[] - 

inline constexpr OUStringLiteral Math_IntgDecl =u"double Intg(double n);\n";

I am asking for this as in the comment 9 it's written that- can be safely
ignored.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to