diff options
Diffstat (limited to 'Swiften/Elements')
6 files changed, 6 insertions, 6 deletions
diff --git a/Swiften/Elements/Whiteboard/WhiteboardEllipseElement.h b/Swiften/Elements/Whiteboard/WhiteboardEllipseElement.h index 7d80bf7..8086aed 100644 --- a/Swiften/Elements/Whiteboard/WhiteboardEllipseElement.h +++ b/Swiften/Elements/Whiteboard/WhiteboardEllipseElement.h @@ -76,6 +76,6 @@ namespace Swift { int cx_, cy_, rx_, ry_; WhiteboardColor penColor_; WhiteboardColor brushColor_; - int penWidth_; + int penWidth_ = 0; }; } diff --git a/Swiften/Elements/Whiteboard/WhiteboardFreehandPathElement.h b/Swiften/Elements/Whiteboard/WhiteboardFreehandPathElement.h index b8b7e54..bc6c846 100644 --- a/Swiften/Elements/Whiteboard/WhiteboardFreehandPathElement.h +++ b/Swiften/Elements/Whiteboard/WhiteboardFreehandPathElement.h @@ -59,6 +59,6 @@ namespace Swift { private: std::vector<Point> points_; WhiteboardColor color_; - int penWidth_; + int penWidth_ = 0; }; } diff --git a/Swiften/Elements/Whiteboard/WhiteboardOperation.h b/Swiften/Elements/Whiteboard/WhiteboardOperation.h index 7d48e4d..2e90c69 100644 --- a/Swiften/Elements/Whiteboard/WhiteboardOperation.h +++ b/Swiften/Elements/Whiteboard/WhiteboardOperation.h @@ -54,6 +54,6 @@ namespace Swift { private: std::string id_; std::string parentID_; - int pos_; + int pos_ = 0; }; } diff --git a/Swiften/Elements/Whiteboard/WhiteboardPolygonElement.h b/Swiften/Elements/Whiteboard/WhiteboardPolygonElement.h index b8591cf..6ad5dc7 100644 --- a/Swiften/Elements/Whiteboard/WhiteboardPolygonElement.h +++ b/Swiften/Elements/Whiteboard/WhiteboardPolygonElement.h @@ -67,6 +67,6 @@ namespace Swift { std::vector<Point> points_; WhiteboardColor penColor_; WhiteboardColor brushColor_; - int penWidth_; + int penWidth_ = 0; }; } diff --git a/Swiften/Elements/Whiteboard/WhiteboardTextElement.h b/Swiften/Elements/Whiteboard/WhiteboardTextElement.h index 41f31f6..2e1c145 100644 --- a/Swiften/Elements/Whiteboard/WhiteboardTextElement.h +++ b/Swiften/Elements/Whiteboard/WhiteboardTextElement.h @@ -64,7 +64,7 @@ namespace Swift { private: int x_, y_; - int size_; + int size_ = 0; std::string text_; WhiteboardColor color_; }; diff --git a/Swiften/Elements/Whiteboard/WhiteboardUpdateOperation.h b/Swiften/Elements/Whiteboard/WhiteboardUpdateOperation.h index b6dfd4f..36cbc6d 100644 --- a/Swiften/Elements/Whiteboard/WhiteboardUpdateOperation.h +++ b/Swiften/Elements/Whiteboard/WhiteboardUpdateOperation.h @@ -39,6 +39,6 @@ namespace Swift { private: WhiteboardElement::ref element_; - int newPos_; + int newPos_ = 0; }; } |