diff options
Diffstat (limited to 'indexer/drawing_rules.cpp')
-rw-r--r-- | indexer/drawing_rules.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/indexer/drawing_rules.cpp b/indexer/drawing_rules.cpp index 774743528a..2a8d66dd9e 100644 --- a/indexer/drawing_rules.cpp +++ b/indexer/drawing_rules.cpp @@ -95,11 +95,6 @@ text_type_t BaseRule::GetCaptionTextType(int) const return text_type_name; } -CircleRuleProto const * BaseRule::GetCircle() const -{ - return 0; -} - ShieldRuleProto const * BaseRule::GetShield() const { return nullptr; @@ -295,15 +290,6 @@ namespace typedef CaptionT<CaptionRuleProto> Caption; typedef CaptionT<PathTextRuleProto> PathText; - class Circle : public BaseRule - { - CircleRuleProto m_circle; - public: - Circle(CircleRuleProto const & r) : m_circle(r) {} - - virtual CircleRuleProto const * GetCircle() const { return &m_circle; } - }; - class Shield : public BaseRule { ShieldRuleProto m_shield; @@ -444,9 +430,6 @@ namespace if (de.has_caption()) AddRule<Caption>(p, de.scale(), caption, de.caption(), apply_if); - if (de.has_circle()) - AddRule<Circle>(p, de.scale(), circle, de.circle(), apply_if); - if (de.has_path_text()) AddRule<PathText>(p, de.scale(), pathtext, de.path_text(), apply_if); |