summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-09-20 12:00:11 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-09-20 12:01:09 +0100
commit8e1e27ae6d0751097d276eb3394b57af123e09f3 (patch)
treecc616c0fb2020125443a1d7c112f0ff106428d29 /vcl
parent6751cf5017fca96e6bef8ef2c316f676055eefb6 (diff)
cups: initialize thread running member
Change-Id: Idf8b079857638558075fa6b1fb5f7ea6b3c9f632
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/cupsmgr.hxx2
-rw-r--r--vcl/unx/generic/printer/cupsmgr.cxx3
2 files changed, 3 insertions, 2 deletions
diff --git a/vcl/inc/cupsmgr.hxx b/vcl/inc/cupsmgr.hxx
index f3cee199b8c5..d2ae11d075cd 100644
--- a/vcl/inc/cupsmgr.hxx
+++ b/vcl/inc/cupsmgr.hxx
@@ -47,7 +47,7 @@ struct FPtrHash
class CUPSManager : public PrinterInfoManager
{
- boost::unordered_map< FILE*, rtl::OString, FPtrHash > m_aSpoolFiles;
+ boost::unordered_map< FILE*, rtl::OString, FPtrHash > m_aSpoolFiles;
int m_nDests;
void* m_pDests;
bool m_bNewDests;
diff --git a/vcl/unx/generic/printer/cupsmgr.cxx b/vcl/unx/generic/printer/cupsmgr.cxx
index f13b7743b74e..616385e13b65 100644
--- a/vcl/unx/generic/printer/cupsmgr.cxx
+++ b/vcl/unx/generic/printer/cupsmgr.cxx
@@ -193,7 +193,8 @@ CUPSManager::CUPSManager() :
PrinterInfoManager( CUPS ),
m_nDests( 0 ),
m_pDests( NULL ),
- m_bNewDests( false )
+ m_bNewDests( false ),
+ m_bPPDThreadRunning( false )
{
m_aDestThread = osl_createThread( run_dest_thread_stub, this );
}