From c1ac0c790a42a20501c44ec07a0189ff7b6f606f Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Thu, 18 Aug 2016 22:03:31 -0400 Subject: [PATCH] clarify types --- include/xlnt/styles/border.hpp | 4 ++-- include/xlnt/styles/fill.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/xlnt/styles/border.hpp b/include/xlnt/styles/border.hpp index cd206fb8..c02c23e4 100644 --- a/include/xlnt/styles/border.hpp +++ b/include/xlnt/styles/border.hpp @@ -62,14 +62,14 @@ public: class XLNT_CLASS border_property { public: - optional color() const; + optional color() const; border_property &color(const xlnt::color &c); optional style() const; border_property &style(border_style style); private: - optional color_; + optional color_; optional style_; }; diff --git a/include/xlnt/styles/fill.hpp b/include/xlnt/styles/fill.hpp index a7cffb01..385e8c29 100644 --- a/include/xlnt/styles/fill.hpp +++ b/include/xlnt/styles/fill.hpp @@ -188,13 +188,13 @@ public: /// Returns the gradient fill represented by this fill. /// Throws an invalid_attribute exception if this is not a gradient fill. /// - gradient_fill gradient_fill() const; + class gradient_fill gradient_fill() const; /// /// Returns the pattern fill represented by this fill. /// Throws an invalid_attribute exception if this is not a pattern fill. /// - pattern_fill pattern_fill() const; + class pattern_fill pattern_fill() const; protected: std::string to_hash_string() const override;