summaryrefslogtreecommitdiff
path: root/cpp/src/slice2confluence/ConfluenceOutput.cpp
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2017-06-07 16:39:31 -0400
committerJoe George <joe@zeroc.com>2017-06-07 16:39:31 -0400
commit2fb970cdea450b15b5f7d74099246b6abef16857 (patch)
treeac0fdf40cff12d1cba313e20da757671cbdeeebd /cpp/src/slice2confluence/ConfluenceOutput.cpp
parentRemove trailing whitespace (diff)
downloadice-2fb970cdea450b15b5f7d74099246b6abef16857.tar.bz2
ice-2fb970cdea450b15b5f7d74099246b6abef16857.tar.xz
ice-2fb970cdea450b15b5f7d74099246b6abef16857.zip
Remove excessive empty lines
Diffstat (limited to 'cpp/src/slice2confluence/ConfluenceOutput.cpp')
-rw-r--r--cpp/src/slice2confluence/ConfluenceOutput.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpp/src/slice2confluence/ConfluenceOutput.cpp b/cpp/src/slice2confluence/ConfluenceOutput.cpp
index b464f8a9fcd..e603b5ef73c 100644
--- a/cpp/src/slice2confluence/ConfluenceOutput.cpp
+++ b/cpp/src/slice2confluence/ConfluenceOutput.cpp
@@ -392,7 +392,6 @@ Confluence::ConfluenceOutput::convertCommentHTML(string comment)
comment.replace(tagStart, tagEnd + 1 - tagStart, replacement); // Don't skip whitespace
}
-
// Special case: terminate <p> (and any italics) on double newline or end of comment
size_t dnl = comment.find("\n\n", tagStart + replacement.size());
tagStart = comment.find("<");
@@ -458,7 +457,6 @@ Confluence::ConfluenceOutput::startElement(const string& element)
string::size_type tagpos = element.find_first_of(" ");
const string tagname = element.substr(0, tagpos).c_str();
-
if(tagname == "p")
{
_out << "\n";