summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/gdi/salprn-gtk.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/gtk/gdi/salprn-gtk.cxx')
-rw-r--r--vcl/unx/gtk/gdi/salprn-gtk.cxx23
1 files changed, 0 insertions, 23 deletions
diff --git a/vcl/unx/gtk/gdi/salprn-gtk.cxx b/vcl/unx/gtk/gdi/salprn-gtk.cxx
index eb6609098960..0251ffd29841 100644
--- a/vcl/unx/gtk/gdi/salprn-gtk.cxx
+++ b/vcl/unx/gtk/gdi/salprn-gtk.cxx
@@ -114,7 +114,6 @@ private:
boost::shared_ptr<GtkPrintWrapper> m_pWrapper;
};
-
struct GtkSalPrinter_Impl
{
OString m_sSpoolFile;
@@ -126,14 +125,12 @@ struct GtkSalPrinter_Impl
~GtkSalPrinter_Impl();
};
-
GtkSalPrinter_Impl::GtkSalPrinter_Impl()
: m_pPrinter(0)
, m_pSettings(0)
{
}
-
GtkSalPrinter_Impl::~GtkSalPrinter_Impl()
{
if (m_pPrinter)
@@ -173,7 +170,6 @@ GtkSalPrinter::GtkSalPrinter(SalInfoPrinter* const i_pInfoPrinter)
{
}
-
bool
GtkSalPrinter::impl_doJob(
const OUString* const i_pFileName,
@@ -207,7 +203,6 @@ GtkSalPrinter::impl_doJob(
return bJobStarted;
}
-
bool
GtkSalPrinter::StartJob(
const OUString* const i_pFileName,
@@ -266,7 +261,6 @@ GtkSalPrinter::StartJob(
return impl_doJob(&aFileName, i_rJobName, i_rAppName, io_pSetupData, nCopies, bCollate, io_rController);
}
-
bool
GtkSalPrinter::EndJob()
{
@@ -316,7 +310,6 @@ GtkSalPrinter::EndJob()
return bRet;
}
-
namespace
{
@@ -337,7 +330,6 @@ lcl_setHelpText(
#endif
}
-
static GtkWidget*
lcl_makeFrame(
GtkWidget* const i_pChild,
@@ -415,7 +407,6 @@ GtkPrintDialog::GtkPrintDialog(vcl::PrinterController& io_rController)
impl_readFromSettings();
}
-
void
GtkPrintDialog::impl_initDialog()
{
@@ -448,7 +439,6 @@ GtkPrintDialog::impl_initDialog()
));
}
-
void
GtkPrintDialog::impl_initCustomTab()
{
@@ -761,7 +751,6 @@ GtkPrintDialog::impl_initCustomTab()
}
}
-
void
GtkPrintDialog::impl_initPrintContent(uno::Sequence<sal_Bool> const& i_rDisabled)
{
@@ -815,7 +804,6 @@ GtkPrintDialog::impl_initPrintContent(uno::Sequence<sal_Bool> const& i_rDisabled
}
}
-
void
GtkPrintDialog::impl_checkOptionalControlDependencies()
{
@@ -826,7 +814,6 @@ GtkPrintDialog::impl_checkOptionalControlDependencies()
}
}
-
beans::PropertyValue*
GtkPrintDialog::impl_queryPropertyValue(GtkWidget* const i_pWidget) const
{
@@ -844,7 +831,6 @@ GtkPrintDialog::impl_queryPropertyValue(GtkWidget* const i_pWidget) const
return pVal;
}
-
void
GtkPrintDialog::impl_UIOption_CheckHdl(GtkWidget* const i_pWidget)
{
@@ -858,7 +844,6 @@ GtkPrintDialog::impl_UIOption_CheckHdl(GtkWidget* const i_pWidget)
}
}
-
void
GtkPrintDialog::impl_UIOption_RadioHdl(GtkWidget* const i_pWidget)
{
@@ -877,7 +862,6 @@ GtkPrintDialog::impl_UIOption_RadioHdl(GtkWidget* const i_pWidget)
}
}
-
void
GtkPrintDialog::impl_UIOption_SelectHdl(GtkWidget* const i_pWidget)
{
@@ -891,7 +875,6 @@ GtkPrintDialog::impl_UIOption_SelectHdl(GtkWidget* const i_pWidget)
}
}
-
bool
GtkPrintDialog::run()
{
@@ -951,7 +934,6 @@ void GtkPrintDialog::ExportAsPDF(const OUString &rFileURL, GtkPrintSettings *pSe
aFilterData[1].Name = "FirstPageOnLeft";
aFilterData[1].Value <<= sal_False;
-
const gchar *pStr = gtk_print_settings_get(pSettings, GTK_PRINT_SETTINGS_PRINT_PAGES);
if (pStr && !strcmp(pStr, "ranges"))
{
@@ -1052,7 +1034,6 @@ void GtkPrintDialog::ExportAsPDF(const OUString &rFileURL, GtkPrintSettings *pSe
}
#endif
-
void
GtkPrintDialog::updateControllerPrintRange()
{
@@ -1104,13 +1085,11 @@ GtkPrintDialog::updateControllerPrintRange()
g_object_unref(G_OBJECT(pSettings));
}
-
GtkPrintDialog::~GtkPrintDialog()
{
gtk_widget_destroy(m_pDialog);
}
-
void
GtkPrintDialog::impl_readFromSettings()
{
@@ -1147,7 +1126,6 @@ GtkPrintDialog::impl_readFromSettings()
g_object_unref(G_OBJECT(pSettings));
}
-
void
GtkPrintDialog::impl_storeToSettings()
const
@@ -1170,7 +1148,6 @@ const
pItem->Commit();
}
-
sal_uLong
GtkSalInfoPrinter::GetCapabilities(
const ImplJobSetup* const i_pSetupData,