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

Stephan Bergmann sbergman at redhat.com
Tue Sep 12 13:04:23 UTC 2017


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

New commits:
commit 1ded401b3f8597153420f5691eaa3d4f082e179e
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Sep 12 15:03:58 2017 +0200

    loplugin:unnecessaryparen
    
    Change-Id: I6fe1690b6f66e31753da993a256b7586478ef4f1

diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx
index 3f9a0d131677..26315920ac2d 100644
--- a/vcl/unx/generic/printer/ppdparser.cxx
+++ b/vcl/unx/generic/printer/ppdparser.cxx
@@ -642,7 +642,7 @@ PPDParser::PPDParser( const OUString& rFile, std::vector<PPDKey*> keys) :
                 aBuf.append( PWG_TO_POINTS(pPWGMedia -> length) );
                 if ( pPaperDimensionValue )
                     pPaperDimensionValue->m_aValue = aBuf.makeStringAndClear();
-                if ((aValueName).equals(pKey -> getDefaultValue() -> m_aOption)) {
+                if (aValueName.equals(pKey -> getDefaultValue() -> m_aOption)) {
                     pImageableAreas -> m_pDefaultValue = pImageableAreaValue;
                     pPaperDimensions -> m_pDefaultValue = pPaperDimensionValue;
                 }


More information about the Libreoffice-commits mailing list