summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/gdi
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-02-11 16:20:45 +0100
committerThomas Arnhold <thomas@arnhold.org>2012-02-11 21:44:03 +0100
commit839cf2fa8cd7ea30ad5be7124cd1b26779145406 (patch)
tree62390bafa406387f3821d34b25594c26c653a551 /vcl/unx/gtk/gdi
parentd5f9722e198cc8cc9e658207c73e465390c60c99 (diff)
unusedcode.easy: clean GtkPrintWrapper
Diffstat (limited to 'vcl/unx/gtk/gdi')
-rw-r--r--vcl/unx/gtk/gdi/gtkprintwrapper.cxx26
1 files changed, 0 insertions, 26 deletions
diff --git a/vcl/unx/gtk/gdi/gtkprintwrapper.cxx b/vcl/unx/gtk/gdi/gtkprintwrapper.cxx
index 6ecfd1d8d4e1..904b47b1cb4a 100644
--- a/vcl/unx/gtk/gdi/gtkprintwrapper.cxx
+++ b/vcl/unx/gtk/gdi/gtkprintwrapper.cxx
@@ -58,8 +58,6 @@ GtkPrintWrapper::GtkPrintWrapper()
, m_print_unix_dialog_set_manual_capabilities(0)
, m_print_unix_dialog_get_settings(0)
, m_print_unix_dialog_set_settings(0)
- , m_print_operation_set_support_selection(0)
- , m_print_operation_set_has_selection(0)
, m_print_unix_dialog_set_support_selection(0)
, m_print_unix_dialog_set_has_selection(0)
{
@@ -105,8 +103,6 @@ void GtkPrintWrapper::impl_load()
m_print_unix_dialog_set_manual_capabilities = reinterpret_cast<print_unix_dialog_set_manual_capabilities_t>(m_aModule.getFunctionSymbol("gtk_print_unix_dialog_set_manual_capabilities"));
m_print_unix_dialog_get_settings = reinterpret_cast<print_unix_dialog_get_settings_t>(m_aModule.getFunctionSymbol("gtk_print_unix_dialog_get_settings"));
m_print_unix_dialog_set_settings = reinterpret_cast<print_unix_dialog_set_settings_t>(m_aModule.getFunctionSymbol("gtk_print_unix_dialog_set_settings"));
- m_print_operation_set_support_selection = reinterpret_cast<print_operation_set_support_selection_t>(m_aModule.getFunctionSymbol("gtk_print_operation_set_support_selection"));
- m_print_operation_set_has_selection = reinterpret_cast<print_operation_set_has_selection_t>(m_aModule.getFunctionSymbol("gtk_print_operation_set_has_selection"));
m_print_unix_dialog_set_support_selection = reinterpret_cast<print_unix_dialog_set_support_selection_t>(m_aModule.getFunctionSymbol("gtk_print_unix_dialog_set_support_selection"));
m_print_unix_dialog_set_has_selection = reinterpret_cast<print_unix_dialog_set_has_selection_t>(m_aModule.getFunctionSymbol("gtk_print_unix_dialog_set_has_selection"));
}
@@ -145,8 +141,6 @@ bool GtkPrintWrapper::supportsPrintSelection() const
#if !GTK_CHECK_VERSION(3,0,0)
return
supportsPrinting()
- && m_print_operation_set_support_selection
- && m_print_operation_set_has_selection
&& m_print_unix_dialog_set_support_selection
&& m_print_unix_dialog_set_has_selection
;
@@ -325,26 +319,6 @@ void GtkPrintWrapper::print_unix_dialog_set_settings(GtkPrintUnixDialog* dialog,
#endif
}
-void GtkPrintWrapper::print_operation_set_support_selection(GtkPrintOperation* op, gboolean support_selection) const
-{
-#if !GTK_CHECK_VERSION(3,0,0)
- assert(m_print_operation_set_support_selection);
- (*m_print_operation_set_support_selection)(op, support_selection);
-#else
- gtk_print_operation_set_support_selection(op, support_selection);
-#endif
-}
-
-void GtkPrintWrapper::print_operation_set_has_selection(GtkPrintOperation* op, gboolean has_selection) const
-{
-#if !GTK_CHECK_VERSION(3,0,0)
- assert(m_print_operation_set_has_selection);
- (*m_print_operation_set_has_selection)(op, has_selection);
-#else
- gtk_print_operation_set_has_selection(op, has_selection);
-#endif
-}
-
void GtkPrintWrapper::print_unix_dialog_set_support_selection(GtkPrintUnixDialog* dialog, gboolean support_selection) const
{
#if !GTK_CHECK_VERSION(3,0,0)