Mod: Redundant_string_initialization
This commit is contained in:
@@ -1212,7 +1212,7 @@ private:
|
||||
throw Py::Exception();
|
||||
|
||||
std::string svg(svgcode);
|
||||
std::string empty = "";
|
||||
std::string empty;
|
||||
std::string endline = "--endOfLine--";
|
||||
std::string linebreak = "\\n";
|
||||
// removing linebreaks for regex to work
|
||||
|
||||
@@ -298,7 +298,7 @@ std::string DrawViewSpreadsheet::getSheetImage()
|
||||
int alignment = 0;
|
||||
std::string bcolor = "none";
|
||||
std::string fcolor = c.asHexString();
|
||||
std::string textstyle = "";
|
||||
std::string textstyle;
|
||||
if (cell) {
|
||||
App::Color f,b;
|
||||
std::set<std::string> st;
|
||||
|
||||
@@ -76,7 +76,6 @@ TaskSectionView::TaskSectionView(TechDraw::DrawViewPart* base) :
|
||||
m_base(base),
|
||||
m_section(nullptr),
|
||||
m_saveScale(1.0),
|
||||
m_dirName(""),
|
||||
m_doc(nullptr),
|
||||
m_createMode(true),
|
||||
m_saved(false),
|
||||
|
||||
@@ -79,7 +79,6 @@ PROPERTY_SOURCE(TechDrawGui::ViewProviderPage, Gui::ViewProviderDocumentObject)
|
||||
ViewProviderPage::ViewProviderPage()
|
||||
: m_mdiView(nullptr),
|
||||
m_docReady(true),
|
||||
m_pageName(""),
|
||||
m_graphicsView(nullptr),
|
||||
m_graphicsScene(nullptr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user