modernize C++: raw string literal

This commit is contained in:
wmayer
2023-08-07 16:02:39 +02:00
committed by Chris Hennes
parent 61daaceb8f
commit 96aabe113e
21 changed files with 48 additions and 46 deletions

View File

@@ -402,11 +402,11 @@ SoFCVectorizeSVGAction::getSVGOutput() const
void SoFCVectorizeSVGAction::printHeader() const
{
std::ostream& str = this->getSVGOutput()->getFileStream();
str << "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>" << std::endl;
str << R"(<?xml version="1.0" encoding="UTF-8" standalone="no"?>)" << std::endl;
str << "<!-- Created with FreeCAD (http://www.freecad.org) -->" << std::endl;
str << "<svg xmlns=\"http://www.w3.org/2000/svg\"" << std::endl;
str << " xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:ev=\"http://www.w3.org/2001/xml-events\"" << std::endl;
str << " version=\"1.1\" baseProfile=\"full\"" << std::endl;
str << R"( xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events")" << std::endl;
str << R"( version="1.1" baseProfile="full")" << std::endl;
SbVec2f size = getPageSize();
if (this->getOrientation() == LANDSCAPE) {