[glom] Field: Remove unused get_gda_holder_string().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Field: Remove unused get_gda_holder_string().
- Date: Mon, 5 Dec 2011 13:38:33 +0000 (UTC)
commit bc24201f79fb6f64a0672427c0a38c65fc299b43
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Dec 5 14:38:28 2011 +0100
Field: Remove unused get_gda_holder_string().
* glom/libglom/data_structure/field.[h|cc]: Remove this
unused method.
ChangeLog | 7 +++++++
glom/libglom/data_structure/field.cc | 6 ------
glom/libglom/data_structure/field.h | 4 ----
3 files changed, 7 insertions(+), 10 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f1220e6..c83ec22 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2011-12-05 Murray Cumming <murrayc murrayc com>
+ Field: Remove unused get_gda_holder_string().
+
+ * glom/libglom/data_structure/field.[h|cc]: Remove this
+ unused method.
+
+2011-12-05 Murray Cumming <murrayc murrayc com>
+
test_selfhosting_new_then_change_columns: Add a column too.
* tests/test_selfhosting_new_then_change_columns.cc:
diff --git a/glom/libglom/data_structure/field.cc b/glom/libglom/data_structure/field.cc
index 0db4ee6..4bfc0c9 100644
--- a/glom/libglom/data_structure/field.cc
+++ b/glom/libglom/data_structure/field.cc
@@ -583,12 +583,6 @@ Glib::RefPtr<Gnome::Gda::Holder> Field::get_holder(const Gnome::Gda::Value& valu
return holder;
}
-Glib::ustring Field::get_gda_holder_string(const Glib::ustring& name) const
-{
- const Glib::ustring real_name = name.empty() ? get_name() : name;
- return "##" + real_name + "::" + get_gda_type_name();
-}
-
/// Ignores any part of FieldAttributes that libgda does not properly fill.
bool Field::field_info_from_database_is_equal(const Glib::RefPtr<const Gnome::Gda::Column>& field)
{
diff --git a/glom/libglom/data_structure/field.h b/glom/libglom/data_structure/field.h
index 3974400..0378bc0 100644
--- a/glom/libglom/data_structure/field.h
+++ b/glom/libglom/data_structure/field.h
@@ -163,10 +163,6 @@ public:
/// A convenience when using parameters with a libgda SQL query.
Glib::RefPtr<Gnome::Gda::Holder> get_holder(const Gnome::Gda::Value& value, const Glib::ustring& name = Glib::ustring()) const;
- /** TODO: Documentation.
- */
- Glib::ustring get_gda_holder_string(const Glib::ustring& name = Glib::ustring()) const;
-
/** Escape and quote the value so that it can be used in a SQL command.
*/
Glib::ustring sql(const Gnome::Gda::Value& value, const Glib::RefPtr<Gnome::Gda::Connection>& connection) const;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]