diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-03-31 20:21:28 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-04-02 15:26:53 +1000 |
commit | 32e76b49daebdf7aeb7609242b3cdb99bdf4d855 (patch) | |
tree | 9a019f7f41d815098e1f861dd2ad45f341990c3d | |
parent | d5d67b92282d9b4b28099671d439854981760911 (diff) |
vcl: nest the if statement - kind of confusing otherwise!
Change-Id: I2758d49de458a6c8f55785385999b491bcac4410
-rw-r--r-- | vcl/unx/generic/printer/printerinfomanager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/printer/printerinfomanager.cxx b/vcl/unx/generic/printer/printerinfomanager.cxx index 158f90af4033..a640b72bf3ed 100644 --- a/vcl/unx/generic/printer/printerinfomanager.cxx +++ b/vcl/unx/generic/printer/printerinfomanager.cxx @@ -357,7 +357,7 @@ void PrinterInfoManager::initialize() const PPDValue* pPrinterValue = pPrinterKey->getValue( pDefValue->m_aOption ); if( pPrinterValue ) // the printer has a corresponding option for the key - aPrinter.m_aInfo.m_aContext.setValue( pPrinterKey, pPrinterValue ); + aPrinter.m_aInfo.m_aContext.setValue( pPrinterKey, pPrinterValue ); } else aPrinter.m_aInfo.m_aContext.setValue( pPrinterKey, nullptr ); |