https://bugs.documentfoundation.org/show_bug.cgi?id=145539
--- Comment #11 from Devansh Varshney <[email protected]> --- (In reply to Devansh Varshney from comment #10) > 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. In libreoffice/core/sw/inc/calc.hxx we have - extern const char sCalc_Add[]; do we also need to change these definitions as we have these used in sw/source/core/bastyp/calc.cxx -- You are receiving this mail because: You are the assignee for the bug.
