[glom] LayoutItemGroupBy: Remove unused methods.



commit 4823dba029c20b5eb70bfb4a2830ccc63504e6d3
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Jul 1 12:16:03 2015 +0200

    LayoutItemGroupBy: Remove unused methods.

 .../layout/report_parts/layoutitem_groupby.cc      |   10 ----------
 .../layout/report_parts/layoutitem_groupby.h       |    3 ---
 2 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.cc 
b/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.cc
index 1ce6ebd..09f3e35 100644
--- a/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.cc
+++ b/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.cc
@@ -157,15 +157,5 @@ std::shared_ptr<const LayoutGroup> LayoutItem_GroupBy::get_secondary_fields() co
   return m_group_secondary_fields;
 }
 
-LayoutItem_GroupBy::type_list_sort_fields LayoutItem_GroupBy::get_sort_by() const
-{
-  return m_fields_sort_by;
-}
-
-void LayoutItem_GroupBy::set_sort_by(const type_list_sort_fields& sort_by)
-{
-  m_fields_sort_by = sort_by;
-}
-
 } //namespace Glom
 
diff --git a/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.h 
b/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.h
index b356a2f..3aa6156 100644
--- a/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.h
+++ b/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.h
@@ -72,9 +72,6 @@ public:
 
   std::shared_ptr<LayoutGroup> get_secondary_fields();
   std::shared_ptr<const LayoutGroup> get_secondary_fields() const;
-
-  type_list_sort_fields get_sort_by() const;
-  void set_sort_by(const type_list_sort_fields& sort_by);
   
 private:
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]