diff options
Diffstat (limited to 'vcl/unx/generic/printer/ppdparser.cxx')
-rw-r--r-- | vcl/unx/generic/printer/ppdparser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx index b81359c8fea5..fc62e0590988 100644 --- a/vcl/unx/generic/printer/ppdparser.cxx +++ b/vcl/unx/generic/printer/ppdparser.cxx @@ -1979,7 +1979,7 @@ int PPDContext::getRenderResolution() const else m_pParser->getDefaultResolution( nDPIx, nDPIy ); - nDPI = (nDPIx > nDPIy) ? nDPIx : nDPIy; + nDPI = std::max(nDPIx, nDPIy); } return nDPI; } |