From eecc72b2d13c4dead2ec6289de9754542292426c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 21 Sep 2021 15:08:49 +0200 Subject: add comment Change-Id: I0f9627d0d573c5a5bade00f40dea2d0f1b518528 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122391 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/unx/generic/printer/ppdparser.cxx | 1 + 1 file changed, 1 insertion(+) 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 ); -- cgit