summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/unx/generic/print/genprnpsp.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/vcl/unx/generic/print/genprnpsp.cxx b/vcl/unx/generic/print/genprnpsp.cxx
index c2beec916b56..ad006d60a869 100644
--- a/vcl/unx/generic/print/genprnpsp.cxx
+++ b/vcl/unx/generic/print/genprnpsp.cxx
@@ -1022,18 +1022,13 @@ namespace {
class PrinterUpdate
{
- static Idle* pPrinterUpdateIdle;
-
static void doUpdate();
public:
static void update(SalGenericInstance const &rInstance);
- static void jobEnded();
};
}
-Idle* PrinterUpdate::pPrinterUpdateIdle = nullptr;
-
void PrinterUpdate::doUpdate()
{
::psp::PrinterInfoManager& rManager( ::psp::PrinterInfoManager::get() );
@@ -1062,20 +1057,8 @@ void SalGenericInstance::updatePrinterUpdate()
PrinterUpdate::update(*this);
}
-void PrinterUpdate::jobEnded()
-{
- if( pPrinterUpdateIdle )
- {
- pPrinterUpdateIdle->Stop();
- delete pPrinterUpdateIdle;
- pPrinterUpdateIdle = nullptr;
- doUpdate();
- }
-}
-
void SalGenericInstance::jobEndedPrinterUpdate()
{
- PrinterUpdate::jobEnded();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */