diff options
Diffstat (limited to 'svtools/source/config/printoptions.cxx')
-rw-r--r-- | svtools/source/config/printoptions.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/svtools/source/config/printoptions.cxx b/svtools/source/config/printoptions.cxx index 56bc0181055e..789c7e6a6a1a 100644 --- a/svtools/source/config/printoptions.cxx +++ b/svtools/source/config/printoptions.cxx @@ -550,7 +550,7 @@ Mutex& SvtBasePrintOptions::GetOwnStaticMutex() // ... we must create a new one. Protect follow code with the global mutex - // It must be - we create a static variable! MutexGuard aGuard( Mutex::getGlobalMutex() ); - // We must check our pointer again - because it can be that another instance of ouer class will be fastr then these! + // We must check our pointer again - because it can be that another instance of our class will be fastr then these! if( pMutex == NULL ) { // Create the new mutex and set it for return on static variable. @@ -781,9 +781,9 @@ SvtPrinterOptions::SvtPrinterOptions() { // Global access, must be guarded (multithreading!). MutexGuard aGuard( GetOwnStaticMutex() ); - // Increase ouer refcount ... + // Increase our refcount ... ++m_nRefCount; - // ... and initialize ouer data container only if it not already! + // ... and initialize our data container only if it not already! if( m_pStaticDataContainer == NULL ) { OUString aRootPath( ROOTNODE_START ); @@ -801,10 +801,10 @@ SvtPrinterOptions::~SvtPrinterOptions() { // Global access, must be guarded (multithreading!) MutexGuard aGuard( GetOwnStaticMutex() ); - // Decrease ouer refcount. + // Decrease our refcount. --m_nRefCount; // If last instance was deleted ... - // we must destroy ouer static data container! + // we must destroy our static data container! if( m_nRefCount <= 0 ) { delete m_pStaticDataContainer; @@ -821,9 +821,9 @@ SvtPrintFileOptions::SvtPrintFileOptions() { // Global access, must be guarded (multithreading!). MutexGuard aGuard( GetOwnStaticMutex() ); - // Increase ouer refcount ... + // Increase our refcount ... ++m_nRefCount; - // ... and initialize ouer data container only if it not already! + // ... and initialize our data container only if it not already! if( m_pStaticDataContainer == NULL ) { OUString aRootPath( ROOTNODE_START ); @@ -842,10 +842,10 @@ SvtPrintFileOptions::~SvtPrintFileOptions() { // Global access, must be guarded (multithreading!) MutexGuard aGuard( GetOwnStaticMutex() ); - // Decrease ouer refcount. + // Decrease our refcount. --m_nRefCount; // If last instance was deleted ... - // we must destroy ouer static data container! + // we must destroy our static data container! if( m_nRefCount <= 0 ) { delete m_pStaticDataContainer; |