[Libreoffice-commits] core.git: vcl/unx

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Tue Sep 21 14:10:52 UTC 2021


 vcl/unx/generic/printer/ppdparser.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit eecc72b2d13c4dead2ec6289de9754542292426c
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Tue Sep 21 15:08:49 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Tue Sep 21 16:10:18 2021 +0200

    add comment
    
    Change-Id: I0f9627d0d573c5a5bade00f40dea2d0f1b518528
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122391
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx
index 4b4286273099..8ea34f144054 100644
--- a/vcl/unx/generic/printer/ppdparser.cxx
+++ b/vcl/unx/generic/printer/ppdparser.cxx
@@ -534,6 +534,7 @@ OUString PPDParser::getPPDFile( const OUString& rFile )
 
 const PPDParser* PPDParser::getParser( const OUString& rFile )
 {
+    // Recursive because we can get re-entered via CUPSManager::createCUPSParser
     static std::recursive_mutex aMutex;
     std::scoped_lock aGuard( aMutex );
 


More information about the Libreoffice-commits mailing list