diff options
| author | Tobias Markmann <tobias.markmann@isode.com> | 2019-11-14 13:45:27 (GMT) |
|---|---|---|
| committer | Tobias Markmann <tobias.markmann@isode.com> | 2019-11-14 13:45:45 (GMT) |
| commit | caca46ceedddd43c707e7eda9b4c765d61730ccb (patch) | |
| tree | 0f6f61935d79d0a0931e50ef0c21828e8b3c9a48 /Swiften/Serializer/PayloadSerializers | |
| parent | 7a4d44dbc444b68b665535bb38847cfa48bfee3f (diff) | |
| download | swift-caca46ceedddd43c707e7eda9b4c765d61730ccb.zip swift-caca46ceedddd43c707e7eda9b4c765d61730ccb.tar.bz2 | |
Remove extra semicolons
clang-trunk complained about them and ideally Swift would
build without warnings.
Test-Information:
Builds find and tests pass.
Change-Id: I1896befef0e65a980cc22f402e126aec8b56e71f
Diffstat (limited to 'Swiften/Serializer/PayloadSerializers')
| -rw-r--r-- | Swiften/Serializer/PayloadSerializers/WhiteboardSerializer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Serializer/PayloadSerializers/WhiteboardSerializer.cpp b/Swiften/Serializer/PayloadSerializers/WhiteboardSerializer.cpp index 4743089..8c05c6f 100644 --- a/Swiften/Serializer/PayloadSerializers/WhiteboardSerializer.cpp +++ b/Swiften/Serializer/PayloadSerializers/WhiteboardSerializer.cpp | |||
| @@ -67,7 +67,7 @@ namespace Swift { | |||
| 67 | element->setAttribute("height", std::to_string(rect.getHeight())); | 67 | element->setAttribute("height", std::to_string(rect.getHeight())); |
| 68 | element->setAttribute("id", rect.getID()); | 68 | element->setAttribute("id", rect.getID()); |
| 69 | element->setAttribute("stroke", rect.getPenColor().toHex()); | 69 | element->setAttribute("stroke", rect.getPenColor().toHex()); |
| 70 | element->setAttribute("fill", rect.getBrushColor().toHex());; | 70 | element->setAttribute("fill", rect.getBrushColor().toHex()); |
| 71 | element->setAttribute("stroke-width", std::to_string(rect.getPenWidth())); | 71 | element->setAttribute("stroke-width", std::to_string(rect.getPenWidth())); |
| 72 | element->setAttribute("opacity", alphaToOpacity(rect.getPenColor().getAlpha())); | 72 | element->setAttribute("opacity", alphaToOpacity(rect.getPenColor().getAlpha())); |
| 73 | element->setAttribute("fill-opacity", alphaToOpacity(rect.getBrushColor().getAlpha())); | 73 | element->setAttribute("fill-opacity", alphaToOpacity(rect.getBrushColor().getAlpha())); |
| @@ -80,7 +80,7 @@ namespace Swift { | |||
| 80 | try { | 80 | try { |
| 81 | element->setAttribute("id", polygon.getID()); | 81 | element->setAttribute("id", polygon.getID()); |
| 82 | element->setAttribute("stroke", polygon.getPenColor().toHex()); | 82 | element->setAttribute("stroke", polygon.getPenColor().toHex()); |
| 83 | element->setAttribute("fill", polygon.getBrushColor().toHex());; | 83 | element->setAttribute("fill", polygon.getBrushColor().toHex()); |
| 84 | element->setAttribute("stroke-width", std::to_string(polygon.getPenWidth())); | 84 | element->setAttribute("stroke-width", std::to_string(polygon.getPenWidth())); |
| 85 | element->setAttribute("opacity", alphaToOpacity(polygon.getPenColor().getAlpha())); | 85 | element->setAttribute("opacity", alphaToOpacity(polygon.getPenColor().getAlpha())); |
| 86 | element->setAttribute("fill-opacity", alphaToOpacity(polygon.getBrushColor().getAlpha())); | 86 | element->setAttribute("fill-opacity", alphaToOpacity(polygon.getBrushColor().getAlpha())); |
| @@ -117,7 +117,7 @@ namespace Swift { | |||
| 117 | element->setAttribute("ry", std::to_string(ellipse.getRY())); | 117 | element->setAttribute("ry", std::to_string(ellipse.getRY())); |
| 118 | element->setAttribute("id", ellipse.getID()); | 118 | element->setAttribute("id", ellipse.getID()); |
| 119 | element->setAttribute("stroke", ellipse.getPenColor().toHex()); | 119 | element->setAttribute("stroke", ellipse.getPenColor().toHex()); |
| 120 | element->setAttribute("fill", ellipse.getBrushColor().toHex());; | 120 | element->setAttribute("fill", ellipse.getBrushColor().toHex()); |
| 121 | element->setAttribute("stroke-width", std::to_string(ellipse.getPenWidth())); | 121 | element->setAttribute("stroke-width", std::to_string(ellipse.getPenWidth())); |
| 122 | element->setAttribute("opacity", alphaToOpacity(ellipse.getPenColor().getAlpha())); | 122 | element->setAttribute("opacity", alphaToOpacity(ellipse.getPenColor().getAlpha())); |
| 123 | element->setAttribute("fill-opacity", alphaToOpacity(ellipse.getBrushColor().getAlpha())); | 123 | element->setAttribute("fill-opacity", alphaToOpacity(ellipse.getBrushColor().getAlpha())); |
Swift