[TechDraw] Simplify return logic

Easy warmup
This commit is contained in:
Benjamin Bræstrup Sayoc
2023-04-09 18:31:06 +02:00
committed by WandererFan
parent 122ab14d92
commit 70c9cf0fc0
25 changed files with 53 additions and 106 deletions

View File

@@ -137,10 +137,9 @@ App::DocumentObjectExecReturn *DrawViewArch::execute()
std::string DrawViewArch::getSVGHead()
{
std::string head = std::string("<svg\\n") +
std::string(" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\"\\n") +
std::string(" xmlns:freecad=\"http://www.freecadweb.org/wiki/index.php?title=Svg_Namespace\">\\n");
return head;
return std::string("<svg\\n") +
std::string(" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\"\\n") +
std::string(" xmlns:freecad=\"http://www.freecadweb.org/wiki/index.php?title=Svg_Namespace\">\\n");
}
std::string DrawViewArch::getSVGTail()