Skip to content

Commit 45a39d5

Browse files
committed
Make SrcLangExt an enum class
Remove some more sonarcloud messages
1 parent 8a32a9a commit 45a39d5

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/docbookgen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ DB_GEN_C
393393
m_codeGen->setSourceFileName(stripPath(fileName));
394394
m_pageLinks = QCString();
395395

396-
m_t << "<?xml version='1.0' encoding='UTF-8' standalone='no'?>\n";;
396+
m_t << "<?xml version='1.0' encoding='UTF-8' standalone='no'?>\n";
397397
m_t << "<" << fileType << " xmlns=\"http://docbook.org/ns/docbook\" version=\"5.0\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"";
398398
if (!pageName.isEmpty()) m_t << " xml:id=\"_" << stripPath(pageName) << "\"";
399399
m_t << " xml:lang=\"" << theTranslator->trISOLang() << "\"";

src/htmlgen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2123,7 +2123,7 @@ void HtmlGenerator::startMemberDescription(const QCString &anchor,const QCString
21232123
m_t << "\">";
21242124
m_t << "<td class=\"mdescLeft\">&#160;</td>";
21252125
if (typ) m_t << "<td class=\"mdescLeft\">&#160;</td>";
2126-
m_t << "<td class=\"mdescRight\">";;
2126+
m_t << "<td class=\"mdescRight\">";
21272127
}
21282128

21292129
void HtmlGenerator::endMemberDescription()

src/translator_sv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_9_6
594594
* of documentation blocks for enumeration types
595595
*/
596596
QCString trEnumerationTypeDocumentation() override
597-
{ return "Dokumentation över egenuppräknande typer"; ; }
597+
{ return "Dokumentation över egenuppräknande typer"; }
598598

599599
/*! This is used in the documentation of a file/namespace before the list
600600
* of documentation blocks for functions

src/xmlgen.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ inline void writeXMLCodeString(TextStream &t,const QCString &str, size_t &col)
154154

155155
static void writeXMLHeader(TextStream &t)
156156
{
157-
t << "<?xml version='1.0' encoding='UTF-8' standalone='no'?>\n";;
157+
t << "<?xml version='1.0' encoding='UTF-8' standalone='no'?>\n";
158158
t << "<doxygen xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" ";
159159
t << "xsi:noNamespaceSchemaLocation=\"compound.xsd\" ";
160160
t << "version=\"" << getDoxygenVersion() << "\" ";
@@ -872,7 +872,7 @@ static void generateXMLForMember(const MemberDef *md,TextStream &ti,TextStream &
872872
t << "</type>\n";
873873
}
874874

875-
QCString qualifiedNameStr = md->qualifiedName();;
875+
QCString qualifiedNameStr = md->qualifiedName();
876876
stripAnonymousMarkers(qualifiedNameStr);
877877
t << " <name>" << convertToXML(nameStr) << "</name>\n";
878878
if (nameStr!=qualifiedNameStr)

0 commit comments

Comments
 (0)