summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-09-21 15:08:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-21 16:10:18 +0200
commiteecc72b2d13c4dead2ec6289de9754542292426c (patch)
tree347e5d4e4cf180490b953446a2f95311dd91202d
parent300753bf1d4db7eff42d707f427180f0d1d1dffb (diff)
add comment
Change-Id: I0f9627d0d573c5a5bade00f40dea2d0f1b518528 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122391 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--vcl/unx/generic/printer/ppdparser.cxx1
1 files changed, 1 insertions, 0 deletions
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 );